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
Refs #23204 - Consistent puppet environment naming in hammer #629
Conversation
@ofedoren, the Redmine ticket used is for a different project than the one associated with this GitHub repository. Please either:
If changing the ticket number used, remember to update the PR title and the commit message (using This message was auto-generated by Foreman's prprocessor |
Issues: #23204 |
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.
You need to also remove the require.
a790056
to
9ff9fe9
Compare
@ofedoren, the Redmine ticket used is for a different project than the one associated with this GitHub repository. Please either:
If changing the ticket number used, remember to update the PR title and the commit message (using This message was auto-generated by Foreman's prprocessor |
@akofink, right, thanks! Updated. |
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.
ACK! Thanks @ofedoren!
Please ping me when theforeman/hammer-cli-foreman#401 is merged. Thanks! |
9ff9fe9
to
7340ca9
Compare
@ofedoren, the Redmine ticket used is for a different project than the one associated with this GitHub repository. Please either:
If changing the ticket number used, remember to update the PR title and the commit message (using This message was auto-generated by Foreman's prprocessor |
7340ca9
to
a23a231
Compare
@akofink, there are some extra changes. Same logic as in theforeman/hammer-cli-foreman#401: changes Also, tests will be red without testing it with original PR (locally they pass). |
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.
Great work, @ofedoren! ACK!
Please ping me when the hammer-cli-foreman PR merges so we can merge this. |
Also, you may want to make a community post about this change. It may break some people's hammer scripts, including our bats tests. |
a23a231
to
d059ffb
Compare
27de204
to
7dca6f4
Compare
@ofedoren You may change the option expansion code, but know that content view version IDs are a bit tricky to resolve - you need the content view ID AND either the version (i.e. 3.5) OR the lifecycle environment (i.e. Development). I don't believe there is a test currently for delete with ID resolution (or at all, for that matter :/ ) |
@akofink, the hammer-cli-foreman PR is merged. |
rekicked the tests |
@ofedoren, the Redmine ticket used is for a different project than the one associated with this GitHub repository. Please either:
If changing the ticket number used, remember to update the PR title and the commit message (using This message was auto-generated by Foreman's prprocessor |
There were the following issues with the commit message:
If you don't have a ticket number, please create an issue in Redmine. More guidelines are available in Coding Standards or on the Foreman wiki. This message was auto-generated by Foreman's prprocessor |
f954bf7
to
0ece526
Compare
@ofedoren, the Redmine ticket used is for a different project than the one associated with this GitHub repository. Please either:
If changing the ticket number used, remember to update the PR title and the commit message (using This message was auto-generated by Foreman's prprocessor |
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.
Still works as expected. ACK Nice work @ofedoren!
Looks like tests started to fail after this: https://ci.theforeman.org/job/hammer-cli-katello-master-source-release/10/ |
Yes, you cannot successfully run the hammer-cli-katello master branch against the old released version of hammer-cli-foreman. If you run everything from master, it works fine. We will need a hammer-cli-foreman and hammer-cli release. |
…#629) * Refs #23204 - Consistent puppet environment naming in hammer * Refs #23204 - Clean up --env options * Refs #23204 - Support --environment-ids * Refs #23204 - Fixed rubocop
…#629) (Katello#667) * Refs #23204 - Consistent puppet environment naming in hammer * Refs #23204 - Clean up --env options * Refs #23204 - Support --environment-ids * Refs #23204 - Fixed rubocop Conflicts: lib/hammer_cli_katello/content_view_version.rb
…#629) (Katello#667) * Refs #23204 - Consistent puppet environment naming in hammer * Refs #23204 - Clean up --env options * Refs #23204 - Support --environment-ids * Refs #23204 - Fixed rubocop (cherry picked from commit d94b4c8) Conflicts: lib/hammer_cli_katello/content_view_version.rb
Moved the
puppet-environment
name resolution tohammer-cli-foreman
, see: theforeman/hammer-cli-foreman#401