-
Notifications
You must be signed in to change notification settings - Fork 159
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
[rhcos-4.16] tests/kola: use FCOS defined fedora-archive.repo to set up containers #3140
Conversation
Use the fedora.repo file defined in fedora-coreos-config to set up the container. This will force packages to be downloaded from dl.fedoraproject.org, as specified in the FCOS file. The ITUP cluster, being used by the RHCOS pipeline, requires all outbound connections to be specified in a Firewall Egress file, and this will ensure the same connection will always be used. Co-authored-by: Aashish Radhakrishnan <aaradhak@redhat.com>
…t up container Use the fedora.repo file defined in fedora-coreos-config to set up the container. This will force packages to be downloaded from dl.fedoraproject.org, as specified in the FCOS file. The ITUP cluster, being used by the RHCOS pipeline, requires all outbound connections to be specified in a Firewall Egress file, and this will ensure the same connection will always be used. Co-authored-by: Aashish Radhakrishnan <aaradhak@redhat.com>
We should consider populating the archive repo here now as well.. I think it will just ignore it since no repo actually exists in those locations, but it future proofs us from having to add it later. If it does work we should update the files in the |
I tested this in the ITUP cluster and |
I think I'd be fine with that since we already define our own i.e. I don't think there should be a case where neither of them are available. |
Instead of fedora-coreos-config/fedora.repo Lines 6 to 7 in 2e10ea8
The advantage of this is that it succeeds if at least one of the two is valid, otherwise it fails. Edit: to clarify, what I'm suggesting here is to have the baseurls in the
|
So in that case, we would only use |
I opened #3145 to handle that. |
The `fedora-archive.repo` file now contains both EOL and non-EOL repo locations[1]. This means we can change the two kola tests that use the fedora container to use `fedora-archive.repo` as the only repo configuration file. This reduces the maintenance burden because now we don't have to change this curl statement when fedora versions reach EOL. [1] coreos#3145
/unhold |
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.
LGTM
This is a backport of: #3061
There are two tests that use the fedora container to set up and run the test environment. Use the fedora.repo file defined in fedora-coreos-config to set up that container. This will force packages to be downloaded from dl.fedoraproject.org, as specified in the FCOS file. The ITUP cluster, being used by the RHCOS pipeline, requires all outbound connections to be specified in a Firewall Egress file, and this will ensure the same connection will always be used.
This is also a backport of #3146
The fedora-archive.repo file now contains both EOL and non-EOL repo locations[1]. This means we can change the two kola tests that use the fedora container to use fedora-archive.repo as the only repo configuration file. This reduces the maintenance burden because now we don't have to change this curl statement when fedora versions reach EOL.