Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Problem:
Browse files Browse the repository at this point in the history
pulp_installer CI always updates the container to CentOS Stream

Solution: Fix the line that was only supposed to install epel-release
but also instaleld stream, and cleanup the original workaround
to ugprade to Stream if on 8.1.

fixes: #7456
  • Loading branch information
mikedep333 committed Sep 8, 2020
1 parent 5c8d9e0 commit 777100b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGES/7456.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Molecule & pulp_installer CI no longer update the CentOS 8 container to CentOS Stream.
(They were doing it always, since 8.2 released by accident.)
5 changes: 1 addition & 4 deletions molecule/scenario_resources/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,8 @@ systemctl enable firewalld
{% else -%}
# fedora or centos-8

# Pulp requires CentOS 8.2 or later. 8.2 is currently CentOS Stream.
RUN grep -v "CentOS" /etc/redhat-release || dnf install -y centos-release-stream epel-release &&\
RUN grep -v "CentOS" /etc/redhat-release || dnf install -y epel-release &&\
dnf makecache &&\
grep -v "CentOS Linux release 8.1." /etc/redhat-release || dnf update -y &&\
grep -v "CentOS Linux release 8.1." /etc/redhat-release || dnf install -y centos-release-stream &&\
dnf update -y &&\
dnf --assumeyes install \
bash \
Expand Down

0 comments on commit 777100b

Please sign in to comment.