Skip to content

Commit

Permalink
tests/podman/rootless-systemd: use the FCOS defined fedora.repo to se…
Browse files Browse the repository at this point in the history
…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 <[email protected]>
  • Loading branch information
2 people authored and jlebon committed Jul 16, 2024
1 parent 6e188d5 commit add8a18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/kola/podman/rootless-systemd
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ set -euxo pipefail
cd $(mktemp -d)
cat <<EOF > Containerfile
FROM quay.io/fedora/fedora:40
RUN rm -f /etc/yum.repos.d/*.repo \
&& curl -L https://raw.githubusercontent.com/coreos/fedora-coreos-config/testing-devel/fedora.repo -o /etc/yum.repos.d/fedora.repo
RUN dnf -y update \
&& dnf -y install systemd httpd \
&& dnf clean all \
Expand Down

0 comments on commit add8a18

Please sign in to comment.