Repository navigation
Fire events for orchestration jobs containing the passed arguments - #35049
Merged
Merged
Conversation
Contributor
|
Some related test failures in |
Also, fix a bug where runner/wheel funcs with a 'saltenv' param were being stripped by salt.utils.format_call()
Contributor
Author
|
OK I fixed the failing unit tests and rebased against develop to hopefully clear up some of the unrelated failures from the develop branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request fires additional events for orchestration jobs, containing the arguments passed to the master. These events are not written to the job cache, but exist to enable code which integrates with Salt orchestration to gather additional information orchestration jobs.
Examples of these events for state, function, runner, and wheel jobs can be found below:
Additionally, this pull request fixes a bug in Salt's orchestration which affects runner/wheel functions which accept an argument named
saltenv(for example,fileserver.file_list). This argument was being stripped bysalt.utils.format_call(), as we use this CLI argument in state/function calls to set the__env__value for the Salt run. This does not apply to runner/wheel functions, however.