Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template: custom change_mode scripts #13972

Merged
merged 71 commits into from
Aug 24, 2022

Conversation

pkazmierczak
Copy link
Contributor

@pkazmierczak pkazmierczak commented Aug 3, 2022

This PR adds the functionality of allowing custom scripts to be executed on template change. Resolves #2707

pkazmierczak and others added 2 commits August 9, 2022 09:59
Co-authored-by: Derek Strickland <DerekStrickland@users.noreply.github.com>
Copy link
Contributor

@lgfa29 lgfa29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just need to get those duplicate events fixed and we're good to go 😄

client/allocrunner/tasklifecycle/doc.go Outdated Show resolved Hide resolved
client/allocrunner/taskrunner/template/template.go Outdated Show resolved Hide resolved
website/content/api-docs/json-jobs.mdx Outdated Show resolved Hide resolved
website/content/docs/job-specification/change_script.mdx Outdated Show resolved Hide resolved
@lgfa29 lgfa29 added this to the 1.3.4 milestone Aug 24, 2022
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
pkazmierczak and others added 2 commits August 24, 2022 10:18
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
Copy link
Contributor

@lgfa29 lgfa29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

@pkazmierczak pkazmierczak merged commit 34e4b08 into main Aug 24, 2022
@pkazmierczak pkazmierczak deleted the f-nomad-template-custom-change-mode branch August 24, 2022 15:43
pkazmierczak added a commit that referenced this pull request Aug 24, 2022
This PR adds the functionality of allowing custom scripts to be executed on template change. Resolves #2707
pkazmierczak pushed a commit that referenced this pull request Aug 24, 2022
…14294)

* template: custom change_mode scripts (#13972)

This PR adds the functionality of allowing custom scripts to be executed on template change. Resolves #2707
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/1.3.x backport to 1.3.x release line theme/template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nomad template custom change_mode
5 participants