Skip to content

Commit

Permalink
Use preconfigured repositories at brew build time
Browse files Browse the repository at this point in the history
  • Loading branch information
joepvd committed Nov 27, 2024
1 parent c08dcd9 commit 8089aa3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 142 deletions.
3 changes: 2 additions & 1 deletion ci_images/rhel-8/ci-openshift-build-root/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ RUN set -euxo pipefail && \
/tmp/install_protoc.sh "23.4" && \
/tmp/install_etcd.sh "3.5.10"

RUN INSTALL_PKGS="glibc libatomic libsemanage annobin go-srpm-macros libstdc++ llvm-libs qt5-srpm-macros redhat-rpm-config bc procps-ng util-linux bind-utils bsdtar createrepo_c device-mapper device-mapper-persistent-data e2fsprogs ethtool file findutils gcc git glib2-devel gpgme gpgme-devel hostname iptables jq krb5-devel libassuan libassuan-devel libseccomp-devel lsof make nmap-ncat openssl rsync socat systemd-devel tar tree wget which xfsprogs zip goversioninfo gettext python3 iproute rpm-build jq" && \
RUN INSTALL_PKGS="glibc libatomic libsemanage annobin go-srpm-macros libstdc++ llvm-libs qt5-srpm-macros redhat-rpm-config bc procps-ng util-linux bind-utils bsdtar createrepo_c device-mapper device-mapper-persistent-data e2fsprogs ethtool file findutils gcc git glib2-devel gpgme gpgme-devel hostname iptables jq krb5-devel libassuan libassuan-devel libseccomp-devel lsof make nmap-ncat openssl rsync socat systemd-devel tar tree wget which xfsprogs zip goversioninfo gettext python3 iproute rpm-build" && \
export ART_DNF_WRAPPER_POLICY=skip && \
dnf install -y --nobest $INSTALL_PKGS && \
dnf clean all && \
touch /os-build-image && \
Expand Down
69 changes: 0 additions & 69 deletions ci_images/rhel-8/ci-openshift-build-root/Dockerfile.previous

This file was deleted.

3 changes: 2 additions & 1 deletion ci_images/rhel-9/ci-openshift-build-root/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ RUN set -euxo pipefail && \
/tmp/install_protoc.sh "23.4" && \
/tmp/install_etcd.sh "3.5.10"

RUN INSTALL_PKGS="glibc libatomic libsemanage annobin go-srpm-macros kernel-srpm-macros libstdc++ llvm-libs qt5-srpm-macros redhat-rpm-config bc procps-ng util-linux bind-utils bsdtar createrepo_c device-mapper device-mapper-persistent-data e2fsprogs ethtool file findutils gcc git glib2-devel gpgme gpgme-devel hostname iptables jq krb5-devel libassuan libassuan-devel libseccomp-devel lsof make nmap-ncat openssl rsync socat systemd-devel tar tree wget which xfsprogs zip goversioninfo gettext python3 iproute rpm-build rpmdevtools selinux-policy-devel jq" && \
RUN INSTALL_PKGS="glibc libatomic libsemanage annobin go-srpm-macros kernel-srpm-macros libstdc++ llvm-libs qt5-srpm-macros redhat-rpm-config bc procps-ng util-linux bind-utils bsdtar createrepo_c device-mapper device-mapper-persistent-data e2fsprogs ethtool file findutils gcc git glib2-devel gpgme gpgme-devel hostname iptables jq krb5-devel libassuan libassuan-devel libseccomp-devel lsof make nmap-ncat openssl rsync socat systemd-devel tar tree wget which xfsprogs zip goversioninfo gettext python3 iproute rpm-build rpmdevtools selinux-policy-devel" && \
export ART_DNF_WRAPPER_POLICY=skip && \
dnf install -y --nobest $INSTALL_PKGS && \
dnf clean all && \
touch /os-build-image && \
Expand Down
69 changes: 0 additions & 69 deletions ci_images/rhel-9/ci-openshift-build-root/Dockerfile.previous

This file was deleted.

2 changes: 1 addition & 1 deletion images/ci-openshift-build-root-previous.rhel8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ content:
# set_build_variables is necessary in order to set CI_RPM_SVC (see .envs below) in the Dockerfile.
set_build_variables: true
source:
dockerfile: ci_images/rhel-8/ci-openshift-build-root/Dockerfile.previous
dockerfile: ci_images/rhel-8/ci-openshift-build-root/Dockerfile
git:
branch:
target: openshift-{MAJOR}.{MINOR}
Expand Down
2 changes: 1 addition & 1 deletion images/ci-openshift-build-root-previous.rhel9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ content:
# set_build_variables is necessary in order to set CI_RPM_SVC (see .envs below) in the Dockerfile.
set_build_variables: true
source:
dockerfile: ci_images/rhel-9/ci-openshift-build-root/Dockerfile.previous
dockerfile: ci_images/rhel-9/ci-openshift-build-root/Dockerfile
git:
branch:
target: openshift-{MAJOR}.{MINOR}
Expand Down

0 comments on commit 8089aa3

Please sign in to comment.