-
Notifications
You must be signed in to change notification settings - Fork 200
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
Add condition for foreman-client-repo based on bats version #1744
Conversation
6446fff
to
f2ee09e
Compare
@@ -4,3 +4,6 @@ | |||
name: https://yum.theforeman.org/client/{{ foreman_client_repositories_version }}/{{ foreman_client_repositories_dists[ansible_os_family] }}{{ ansible_distribution_major_version }}/x86_64/foreman-client-release.rpm | |||
disable_gpg_check: True | |||
state: present | |||
when: | |||
- katello_repositories_version == "nightly" or foreman_client_repositories_version is version('3.9', '<') |
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.
katello_repositories_version
is not necessarily defined in the client context.
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.
Yes, I pushed one after walking to get coffee and reflecting on my own mistakes
f2ee09e
to
ceb46c4
Compare
@@ -4,3 +4,6 @@ | |||
name: https://yum.theforeman.org/client/{{ foreman_client_repositories_version }}/{{ foreman_client_repositories_dists[ansible_os_family] }}{{ ansible_distribution_major_version }}/x86_64/foreman-client-release.rpm | |||
disable_gpg_check: True | |||
state: present | |||
when: | |||
- foreman_client_repositories_version is version('3.9', '<') | |||
- ansible_distribution_major_version == '8' |
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.
why this limitation?
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.
Copy past done wrong, let me clear that
8bada4f
to
974ad95
Compare
974ad95
to
2c0f6de
Compare
I think this is wrong, we rather should set the staging_source correctly: #1745 |
Aims to fix https://jenkins-foreman.apps.ocp.cloud.ci.centos.org/blue/organizations/jenkins/foreman-pipeline-katello-rpm-4.11/detail/foreman-pipeline-katello-rpm-4.11/4/pipeline/94