-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fixes #7184: Add finer grained generic methods for command execution #234
Fixes #7184: Add finer grained generic methods for command execution #234
Conversation
PR updated |
802bdc7
to
95c0bca
Compare
PR updated |
95c0bca
to
d02697b
Compare
could you rebase this PR please ? |
PR updated |
d02697b
to
871cfd1
Compare
# If an exit code is not in the list it will lead to an error status. | ||
# If you want 0 to be a success you have to list it in the kept_codes list | ||
|
||
bundle agent command_execution_result(command, kept_codes, repaired_codes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should go also in non-master branch; it would make the life of our users so much better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in #7234
The other branch should be merged before this one.
I'm ok with the logic; however the comments should be improved One the texts are clarified, you can merge |
# The persistence duration is controlled using ${duration}. There is no way to persist indefinitly. | ||
# To make the condition specific to current technique instance (or directive), use ${class_prefix}_a_name instead of a static name. | ||
# | ||
bundle agent condition(condition_name, duration) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't the bundle name contain also persistent ?
wait - where are the unit tests ??? |
PR updated |
871cfd1
to
433b55d
Compare
PR updated |
433b55d
to
49b2d27
Compare
PR updated |
49b2d27
to
9ba5159
Compare
PR updated |
9ba5159
to
3609cfc
Compare
PR updated |
PR updated |
3609cfc
to
0f1d214
Compare
PR updated |
0f1d214
to
1950b34
Compare
i don't get it, i merged #245 but it is still referenced in the commits here |
github secrets ... |
1950b34
to
191eb1e
Compare
After a test, github updates the PR only if the original branch was updated, so an amend changed it. |
Superseded by multiple PRs |
https://www.rudder-project.org/redmine/issues/7184