Skip to content

Commit

Permalink
Fix CI errors with centos-stream-8 kitchen suite (#147)
Browse files Browse the repository at this point in the history
centos-stream-8 has reached EoL and its packages are now found at vault.centos.org, leading to failures running the kitchen suite default-centos-stream-8.

As the dokken image does not seem to reflect this change yet, we change the baseurl for the CentOS repos to the correct new URL when we set up the image for the kitchen suite.
  • Loading branch information
jlundqvist-criteo authored Jun 25, 2024
1 parent 860c06c commit e4df09a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .kitchen.docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ platforms:
driver:
image: dokken/centos-stream-8
intermediate_instructions:
- RUN yum clean all
- RUN yum -y install net-tools lsof
- RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
- RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
- RUN dnf clean all
- RUN dnf -y install net-tools lsof
pid_one_command: /usr/lib/systemd/systemd

- name: fedora-39
Expand Down

0 comments on commit e4df09a

Please sign in to comment.