-
Notifications
You must be signed in to change notification settings - Fork 129
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
Drop ansible-runner repository management #780
Conversation
Should we clean up the old repo definition? |
And speaking if cleanup, I think f-maintain also has some (wrong) special handling that should be removed. |
09be6a7
to
912a1d8
Compare
I grepped around and couldn't find any. Anything in particular you are thinking it did? |
912a1d8
to
6223c04
Compare
|
I think we still want that? As we deliver ansible-runner in upstream and downstream does as well? |
e4ed4ce
to
b31aebf
Compare
No, that check is to allow upstream runner packages in downstream, which is wrong. |
I still don't think I understand. The only thing we are changing is the version of ansible-runner being packaged up. Why would that affect this logic? |
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.
The code reads well, but there is the part of compatibility. This is breaking, unless we backport the packaging changes to 3.4 (which I'd actually like to see). See https://github.com/theforeman/puppet-foreman_proxy#compatibility as well.
Looks like for now we don't have a breaking change, though #630 will be. If we do go for the breaking change route, I'd like to get a release out with the current changes first.
manifests/plugin/ansible/runner.pp
Outdated
default: { | ||
fail("Repository containing 'ansible-runner' not known for '${facts['os']['family']}'") | ||
} | ||
|
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.
I think this breaks lint
In foreman-maintain it verifies the vendor on packages, but allows an exception for ansible-runner. That exception becomes redundant once it's packaged by RH and can be dropped. |
b31aebf
to
bf9bfe2
Compare
This is what confuses me - it's already packaged by RH. |
The exclusion doesn't break anything, it just makes the check weaker than it needs to. So even without this, it can be dropped. |
And that's the wrong part. It allows the non RH (= upstream) package on an RH installs (because someone sometimes forgot to set manage_repo = false) |
Done over here -- theforeman/foreman_maintain#644 |
e320c4d
to
3e5168f
Compare
We already have a merged breaking change (#776). There are two non-breaking commits that if we wanted we'd have to do a branch and release with those: Given that would require a branch, I think a release is a separate question from whether this can go in the code base now. I have included an update to the README. |
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.
Small notes on the readme bit, otherwise 👍
The ansible-runner package is now delivered via the Foreman plugins repository.
3e5168f
to
06b8f49
Compare
The ansible-runner package is now delivered via the Foreman plugins repository.
Requires that ansible-runner be in the plugins repository (theforeman/foreman-packaging#8434)