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

[master] Add support for show_jid to salt-run #65008

Merged
merged 4 commits into from
Oct 17, 2023

Conversation

barneysowood
Copy link
Contributor

@barneysowood barneysowood commented Aug 18, 2023

What does this PR do?

Adds support for show_jid to the salt-run cli command to match the behaviour of the salt cli command.

Could have implemented this entirely within salt/runner.py, but I think it makes sense to not output the JID when Runner is called from other places - happy to get any feedback or alternative suggests on that.

Previous Behavior

If show_jid: True was set in master config, running salt-run would not show a JID.

New Behavior

salt-run now prints jid: <jid>

Merge requirements satisfied?

  • Changelog
  • Tests written/updated

Commits signed with GPG?

No

@barneysowood barneysowood requested a review from a team as a code owner August 18, 2023 12:48
@barneysowood barneysowood requested review from Ch3LL and removed request for a team August 18, 2023 12:48
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Add support for show_jid to salt-run [master] Add support for show_jid to salt-run Aug 18, 2023
@barneysowood barneysowood marked this pull request as draft August 18, 2023 12:56
@barneysowood barneysowood marked this pull request as ready for review August 18, 2023 12:58
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 13:17 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 13:17 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 13:17 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 13:17 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 13:33 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 13:35 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 14:38 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 14:38 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 14:38 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 14:38 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 14:38 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 14:38 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 15:01 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 15:01 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 15:01 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 15:01 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 15:01 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci August 18, 2023 15:01 — with GitHub Actions Inactive
Ch3LL
Ch3LL previously approved these changes Aug 18, 2023
@Ch3LL Ch3LL temporarily deployed to ci August 18, 2023 20:07 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 18, 2023 20:07 — with GitHub Actions Inactive
@Ch3LL Ch3LL temporarily deployed to ci August 18, 2023 20:26 — with GitHub Actions Inactive
Simplify to just use opts in runner to get show_jid. Had thought
I'd need to do that so not to print when called via python api or
netapi, but doesn't seem to be an issue.
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 18:11 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 18:12 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 18:12 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 18:12 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 18:32 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 18:33 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 20:07 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 20:07 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 20:08 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 20:08 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 20:24 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 12, 2023 20:42 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 05:39 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 05:39 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 05:40 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 05:40 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 05:40 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 05:40 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 10:15 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 10:15 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 10:15 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 10:16 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 10:16 — with GitHub Actions Inactive
@barneysowood barneysowood temporarily deployed to ci October 13, 2023 10:16 — with GitHub Actions Inactive
@Ch3LL Ch3LL merged commit 6c48871 into saltstack:master Oct 17, 2023
371 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants