openshift / ocm-container

Containerized environment for accessing OpenShift v4 clusters, packing necessary tools/scripts
Apache License 2.0
10 stars 63 forks source link

add a minimal target for ocm-container-minimal #284

Closed clcollins closed 2 months ago

clcollins commented 2 months ago

This PR reorders the Container file to add an ocm-contianer-minimal build target consisting of the base backplane-tools install.

This includes a couple of other small reorder changes that should allow for more caching during local builds for quicker and easier testing, particularly of the backplane-tools install steps and the image layers built before it.

The Makefile has been updated to add a build-minimal target.

The main ocm-container image, build pipeline, and the rest of the Makefile will be unchanged by this PR.

Signed-off-by: Chris Collins collins.christopher@gmail.com

T0MASD commented 2 months ago

/lgtm verified using

$ make build-snapshot
goreleaser build --clean --snapshot --single-target=true --config .goreleaser.yaml
  • starting build...
  • loading                                          path=.goreleaser.yaml
  • skipping validate...
  • loading environment variables
    • using token from  $GITHUB_TOKEN 
  • getting and validating git state
    • git state                                      commit=c26f473d478a4d3c43387a013c903e3704d8ba89 branch=master current_tag=0.2.2 previous_tag=v0.2.1 dirty=false
    • pipe skipped                                   reason=disabled during snapshot mode
  • parsing tag
  • setting defaults
  • partial
  • snapshotting
    • building snapshot...                           version=0.2.2-next
  • running before hooks
    • running                                        hook=go mod tidy
    • running                                        hook=go generate ./...
  • checking distribution directory
    • cleaning dist
  • setting up metadata
  • storing release metadata
    • writing                                        file=dist/metadata.json
  • loading go mod information
  • build prerequisites
  • writing effective config file
    • writing                                        config=dist/config.yaml
  • building binaries
    • partial build                                  match=target=linux_amd64
    • building                                       binary=dist/ocm-container_linux_amd64_v1/ocm-container
    • took: 3s
  • storing artifacts metadata
    • writing                                        file=dist/artifacts.json
  • build succeeded after 3s
  • thanks for using goreleaser!
[tomas@study-pc-ocm ocm-container]$ make build-snapshot^C
[tomas@study-pc-ocm ocm-container]$ BBB^C
[tomas@study-pc-ocm ocm-container]$ vi main.go 
[tomas@study-pc-ocm ocm-container]$ vi Makefile 
[tomas@study-pc-ocm ocm-container]$ make build-minimal
WARN[0000] missing "GH_TOKEN" build argument. Try adding "--build-arg GH_TOKEN=<VALUE>" to the command line 
[1/10] STEP 1/4: FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3-1612 AS tools-base
Trying to pull registry.access.redhat.com/ubi9/ubi-minimal:9.3-1612...
Getting image source signatures
Checking if image destination supports signatures
Copying blob 2895d6faeea8 skipped: already exists  
Copying config 94c0198373 done   | 
Writing manifest to image destination
Storing signatures
[1/10] STEP 2/4: ARG OUTPUT_DIR="/opt"
--> 1b7c806ec7ff
[1/10] STEP 3/4: RUN microdnf --assumeyes install gzip jq tar

(microdnf:1): librhsm-WARNING **: 08:15:22.524: Found 0 entitlement certificates

(microdnf:1): librhsm-WARNING **: 08:15:22.526: Found 0 entitlement certificates
Downloading metadata...
Downloading metadata...
Downloading metadata...
Package                         Repository               Size
Installing:                                                  
 gzip-1.12-1.el9.x86_64         ubi-9-baseos-rpms    171.2 kB
 jq-1.6-15.el9.x86_64           ubi-9-appstream-rpms 194.3 kB
 oniguruma-6.9.6-1.el9.5.x86_64 ubi-9-appstream-rpms 226.3 kB
 tar-2:1.34-6.el9_1.x86_64      ubi-9-baseos-rpms    910.7 kB
Transaction Summary:
 Installing:        4 packages
 Reinstalling:      0 packages
 Upgrading:         0 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Installing: oniguruma;6.9.6-1.el9.5;x86_64;ubi-9-appstream-rpms
Installing: jq;1.6-15.el9;x86_64;ubi-9-appstream-rpms
Installing: tar;2:1.34-6.el9_1;x86_64;ubi-9-baseos-rpms
Installing: gzip;1.12-1.el9;x86_64;ubi-9-baseos-rpms
Complete.
--> c853aac6657d
[1/10] STEP 4/4: COPY utils/dockerfile_assets/platforms.sh /usr/local/bin/platform_convert
--> a49af4b87375
[2/10] STEP 1/16: FROM a49af4b87375e8d4cf47ac6431a88109bcab73838dc5c14fa89435b095b4e18f AS backplane-tools
[2/10] STEP 2/16: ARG OUTPUT_DIR="/opt"
--> cd58e74d9f9b
[2/10] STEP 3/16: ARG GH_TOKEN
--> 0117c78a9fbd
[2/10] STEP 4/16: ARG BACKPLANE_TOOLS_VERSION="tags/v1.1.0"
--> 7bbd3ee4c5bd
[2/10] STEP 5/16: ENV BACKPLANE_TOOLS_URL_SLUG="openshift/backplane-tools"
--> 3d9fde2267aa
[2/10] STEP 6/16: ENV BACKPLANE_TOOLS_URL="https://api.github.com/repos/${BACKPLANE_TOOLS_URL_SLUG}/releases/${BACKPLANE_TOOLS_VERSION}"
--> 5d5c0fa2a302
[2/10] STEP 7/16: ENV BACKPLANE_BIN_DIR="/root/.local/bin/backplane"
--> b604fdc55fb8
[2/10] STEP 8/16: RUN mkdir -p /backplane-tools
--> 9f71b8aa4958
[2/10] STEP 9/16: WORKDIR /backplane-tools
--> 4981918a02af
[2/10] STEP 10/16: RUN /bin/bash -c "curl -sSLf $(curl -sSLf ${BACKPLANE_TOOLS_URL} -o - | jq -r '.assets[] | select(.name|test("checksums.txt")) | .browser_download_url') -o checksums.txt"
--> e16a1d7b9dcd
[2/10] STEP 11/16: RUN [[ $(platform_convert "@@PLATFORM@@" --amd64 --arm64) != "amd64" ]] && exit 0 || /bin/bash -c "curl -sSLf -O $(curl -sSLf ${BACKPLANE_TOOLS_URL} -o - | jq -r '.assets[] | select(.name|test("linux_amd64")) | .browser_download_url') "
--> 4490dbe52367
[2/10] STEP 12/16: RUN [[ $(platform_convert "@@PLATFORM@@" --amd64 --arm64) != "arm64" ]] && exit 0 || /bin/bash -c "curl -sSLf -O $(curl -sSLf ${BACKPLANE_TOOLS_URL} -o - | jq -r '.assets[] | select(.name|test("linux_arm64")) | .browser_download_url') "
--> de7eef18d39d
[2/10] STEP 13/16: RUN tar --extract --gunzip --no-same-owner --directory "/usr/local/bin"  --file *.tar.gz
--> 17c61f36b293
[2/10] STEP 14/16: RUN /bin/bash -c "PATH=${PATH}:${BACKPLANE_BIN_DIR}/latest /usr/local/bin/backplane-tools install all"
Installing the following tools:
- backplane-tools v1.1.0
- ocm v0.1.73
- ocm-addons v0.7.17
- osdctl v0.31.0
- yq v4.44.1
- servicelogger v0.1.1
- aws 2.15.56
- oc 4.15.13
- backplane-cli v0.1.31
- rosa v1.2.39
- butane v0.20.0
- gcloud google-cloud-cli-477.0.0-linux-x86_64

Installing backplane-tools
Successfully installed backplane-tools

Installing ocm
Successfully installed ocm

Installing ocm-addons
Successfully installed ocm-addons

Installing osdctl
Successfully installed osdctl

Installing yq
Successfully installed yq

Installing servicelogger
Successfully installed servicelogger

Installing aws
Successfully installed aws

Installing oc
Successfully installed oc

Installing backplane-cli
Successfully installed backplane-cli

Installing rosa
Successfully installed rosa

Installing butane
Successfully installed butane

Installing gcloud
Successfully installed gcloud
--> 7d99fd6ff1ee
[2/10] STEP 15/16: RUN cp -Hv  ${BACKPLANE_BIN_DIR}/latest/* ${OUTPUT_DIR}
'/root/.local/bin/backplane/latest/aws' -> '/opt/aws'
'/root/.local/bin/backplane/latest/aws_completer' -> '/opt/aws_completer'
'/root/.local/bin/backplane/latest/backplane-tools' -> '/opt/backplane-tools'
'/root/.local/bin/backplane/latest/butane' -> '/opt/butane'
'/root/.local/bin/backplane/latest/gcloud' -> '/opt/gcloud'
'/root/.local/bin/backplane/latest/oc' -> '/opt/oc'
'/root/.local/bin/backplane/latest/ocm' -> '/opt/ocm'
'/root/.local/bin/backplane/latest/ocm-addons' -> '/opt/ocm-addons'
'/root/.local/bin/backplane/latest/ocm-backplane' -> '/opt/ocm-backplane'
'/root/.local/bin/backplane/latest/osdctl' -> '/opt/osdctl'
'/root/.local/bin/backplane/latest/rosa' -> '/opt/rosa'
'/root/.local/bin/backplane/latest/servicelogger' -> '/opt/servicelogger'
'/root/.local/bin/backplane/latest/yq' -> '/opt/yq'
--> a98c75dbcc90
[2/10] STEP 16/16: RUN cp -r ${BACKPLANE_BIN_DIR}/aws/*/aws-cli/dist /${OUTPUT_DIR}/aws_dist
--> 4e8c9490260b
[3/10] STEP 1/3: FROM quay.io/acm-d/rhtap-hypershift-operator AS hypershift
Trying to pull quay.io/acm-d/rhtap-hypershift-operator:latest...
Getting image source signatures
Copying blob 3ceb8cbd7233 done   | 
Copying blob 612732fc9f74 done   | 
Copying blob 1ef7aad34a66 done   | 
Copying config edf063d23f done   | 
Writing manifest to image destination
[3/10] STEP 2/3: ARG OUTPUT_DIR="/opt"
--> ce6b3f4fc218
[3/10] STEP 3/3: RUN cp /usr/bin/hypershift /${OUTPUT_DIR}/hypershift
--> 795160ffad65
[9/10] STEP 1/9: FROM registry.access.redhat.com/ubi9/ubi-minimal:9.3-1612 AS base-update
[9/10] STEP 2/9: ARG OUTPUT_DIR="/opt"
--> Using cache 1b7c806ec7ff98d0315ea2941cc4175422703fc94d2a041c0115c224ae132932
--> 1b7c806ec7ff
[9/10] STEP 3/9: RUN microdnf --assumeyes install yum-utils       && microdnf --assumeyes --nodocs update       && microdnf clean all       && rm -rf /var/cache/yum

(microdnf:2): librhsm-WARNING **: 08:20:07.056: Found 0 entitlement certificates

(microdnf:2): librhsm-WARNING **: 08:20:07.059: Found 0 entitlement certificates
Downloading metadata...
Downloading metadata...
Downloading metadata...
Package                                         Repository               Size
Installing:                                                                  
 dbus-libs-1:1.12.20-8.el9.x86_64               ubi-9-baseos-rpms    157.2 kB
 dnf-4.14.0-9.el9.noarch                        ubi-9-baseos-rpms    497.5 kB
 dnf-plugins-core-4.3.0-13.el9.noarch           ubi-9-baseos-rpms     42.5 kB
 elfutils-default-yama-scope-0.190-2.el9.noarch ubi-9-baseos-rpms     12.5 kB
 elfutils-libelf-0.190-2.el9.x86_64             ubi-9-baseos-rpms    200.2 kB
 elfutils-libs-0.190-2.el9.x86_64               ubi-9-baseos-rpms    264.2 kB
 expat-2.5.0-2.el9_4.x86_64                     ubi-9-baseos-rpms    122.2 kB
 ima-evm-utils-1.4-4.el9.x86_64                 ubi-9-baseos-rpms     68.9 kB
 libcomps-0.1.18-1.el9.x86_64                   ubi-9-baseos-rpms     81.9 kB
 libgomp-11.4.1-3.el9.x86_64                    ubi-9-baseos-rpms    277.0 kB
 libsemanage-3.6-1.el9.x86_64                   ubi-9-baseos-rpms    123.5 kB
 libxcrypt-compat-4.4.18-3.el9.x86_64           ubi-9-appstream-rpms  93.2 kB
 python-unversioned-command-3.9.18-3.el9.noarch ubi-9-appstream-rpms  10.1 kB
 python3-3.9.18-3.el9.x86_64                    ubi-9-baseos-rpms     30.1 kB
 python3-dateutil-1:2.8.1-7.el9.noarch          ubi-9-baseos-rpms    312.3 kB
 python3-dbus-1.2.18-2.el9.x86_64               ubi-9-baseos-rpms    151.9 kB
 python3-dnf-4.14.0-9.el9.noarch                ubi-9-baseos-rpms    477.7 kB
 python3-dnf-plugins-core-4.3.0-13.el9.noarch   ubi-9-baseos-rpms    274.4 kB
 python3-gpg-1.15.1-6.el9.x86_64                ubi-9-baseos-rpms    291.6 kB
 python3-hawkey-0.69.0-8.el9.x86_64             ubi-9-baseos-rpms    109.3 kB
 python3-libcomps-0.1.18-1.el9.x86_64           ubi-9-baseos-rpms     53.3 kB
 python3-libdnf-0.69.0-8.el9.x86_64             ubi-9-baseos-rpms    803.1 kB
 python3-libs-3.9.18-3.el9.x86_64               ubi-9-baseos-rpms      8.2 MB
 python3-pip-wheel-21.2.3-8.el9.noarch          ubi-9-baseos-rpms      1.2 MB
 python3-rpm-4.16.1.3-29.el9.x86_64             ubi-9-baseos-rpms     70.2 kB
 python3-setuptools-wheel-53.0.0-12.el9.noarch  ubi-9-baseos-rpms    481.8 kB
 python3-six-1.15.0-9.el9.noarch                ubi-9-baseos-rpms     41.4 kB
 python3-systemd-234-18.el9.x86_64              ubi-9-baseos-rpms     96.3 kB
 rpm-build-libs-4.16.1.3-29.el9.x86_64          ubi-9-baseos-rpms     92.5 kB
 rpm-sign-libs-4.16.1.3-29.el9.x86_64           ubi-9-baseos-rpms     22.6 kB
 shadow-utils-2:4.9-8.el9.x86_64                ubi-9-baseos-rpms      1.3 MB
 tpm2-tss-3.2.2-2.el9.x86_64                    ubi-9-baseos-rpms    618.9 kB
 yum-utils-4.3.0-13.el9.noarch                  ubi-9-baseos-rpms     45.5 kB
Upgrading:                                                                   
 dnf-data-4.14.0-9.el9.noarch                   ubi-9-baseos-rpms     44.7 kB
  replacing dnf-data-4.14.0-8.el9.noarch                                     
 libdnf-0.69.0-8.el9.x86_64                     ubi-9-baseos-rpms    682.6 kB
  replacing libdnf-0.69.0-6.el9_3.x86_64                                     
 libselinux-3.6-1.el9.x86_64                    ubi-9-baseos-rpms     89.9 kB
  replacing libselinux-3.5-1.el9.x86_64                                      
 libsepol-3.6-1.el9.x86_64                      ubi-9-baseos-rpms    339.3 kB
  replacing libsepol-3.5-1.el9.x86_64                                        
 rpm-4.16.1.3-29.el9.x86_64                     ubi-9-baseos-rpms    553.8 kB
  replacing rpm-4.16.1.3-27.el9_3.x86_64                                     
 rpm-libs-4.16.1.3-29.el9.x86_64                ubi-9-baseos-rpms    317.5 kB
   replacing rpm-libs-4.16.1.3-27.el9_3.x86_64                               
Transaction Summary:
 Installing:       33 packages
 Reinstalling:      0 packages
 Upgrading:         6 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Updating: libsepol;3.6-1.el9;x86_64;ubi-9-baseos-rpms
Updating: libselinux;3.6-1.el9;x86_64;ubi-9-baseos-rpms
Installing: expat;2.5.0-2.el9_4;x86_64;ubi-9-baseos-rpms
Installing: elfutils-libelf;0.190-2.el9;x86_64;ubi-9-baseos-rpms
Installing: libcomps;0.1.18-1.el9;x86_64;ubi-9-baseos-rpms
Installing: libsemanage;3.6-1.el9;x86_64;ubi-9-baseos-rpms
Installing: shadow-utils;2:4.9-8.el9;x86_64;ubi-9-baseos-rpms
Installing: tpm2-tss;3.2.2-2.el9;x86_64;ubi-9-baseos-rpms
Installing: ima-evm-utils;1.4-4.el9;x86_64;ubi-9-baseos-rpms
Updating: rpm-libs;4.16.1.3-29.el9;x86_64;ubi-9-baseos-rpms
Updating: rpm;4.16.1.3-29.el9;x86_64;ubi-9-baseos-rpms
Updating: libdnf;0.69.0-8.el9;x86_64;ubi-9-baseos-rpms
Installing: rpm-sign-libs;4.16.1.3-29.el9;x86_64;ubi-9-baseos-rpms
Updating: dnf-data;4.14.0-9.el9;noarch;ubi-9-baseos-rpms
Installing: libxcrypt-compat;4.4.18-3.el9;x86_64;ubi-9-appstream-rpms
Installing: python3-pip-wheel;21.2.3-8.el9;noarch;ubi-9-baseos-rpms
Installing: python3-setuptools-wheel;53.0.0-12.el9;noarch;ubi-9-baseos-rpms
Installing: python-unversioned-command;3.9.18-3.el9;noarch;ubi-9-appstream-rpms
Installing: python3;3.9.18-3.el9;x86_64;ubi-9-baseos-rpms
Installing: python3-libs;3.9.18-3.el9;x86_64;ubi-9-baseos-rpms
Installing: python3-libdnf;0.69.0-8.el9;x86_64;ubi-9-baseos-rpms
Installing: python3-hawkey;0.69.0-8.el9;x86_64;ubi-9-baseos-rpms
Installing: python3-libcomps;0.1.18-1.el9;x86_64;ubi-9-baseos-rpms
Installing: python3-gpg;1.15.1-6.el9;x86_64;ubi-9-baseos-rpms
Installing: python3-six;1.15.0-9.el9;noarch;ubi-9-baseos-rpms
Installing: python3-dateutil;1:2.8.1-7.el9;noarch;ubi-9-baseos-rpms
Installing: python3-systemd;234-18.el9;x86_64;ubi-9-baseos-rpms
Installing: libgomp;11.4.1-3.el9;x86_64;ubi-9-baseos-rpms
Installing: elfutils-default-yama-scope;0.190-2.el9;noarch;ubi-9-baseos-rpms
Installing: elfutils-libs;0.190-2.el9;x86_64;ubi-9-baseos-rpms
Installing: rpm-build-libs;4.16.1.3-29.el9;x86_64;ubi-9-baseos-rpms
Installing: python3-rpm;4.16.1.3-29.el9;x86_64;ubi-9-baseos-rpms
Installing: python3-dnf;4.14.0-9.el9;noarch;ubi-9-baseos-rpms
Installing: dbus-libs;1:1.12.20-8.el9;x86_64;ubi-9-baseos-rpms
Installing: python3-dbus;1.2.18-2.el9;x86_64;ubi-9-baseos-rpms
Installing: dnf;4.14.0-9.el9;noarch;ubi-9-baseos-rpms
Installing: python3-dnf-plugins-core;4.3.0-13.el9;noarch;ubi-9-baseos-rpms
Installing: dnf-plugins-core;4.3.0-13.el9;noarch;ubi-9-baseos-rpms
Installing: yum-utils;4.3.0-13.el9;noarch;ubi-9-baseos-rpms
Cleanup: dnf-data;4.14.0-8.el9;noarch;installed
Cleanup: rpm;4.16.1.3-27.el9_3;x86_64;installed
Cleanup: libdnf;0.69.0-6.el9_3;x86_64;installed
Cleanup: libselinux;3.5-1.el9;x86_64;installed
Cleanup: libsepol;3.5-1.el9;x86_64;installed
Cleanup: rpm-libs;4.16.1.3-27.el9_3;x86_64;installed
Complete.

(microdnf:83): librhsm-WARNING **: 08:20:18.828: Found 0 entitlement certificates

(microdnf:83): librhsm-WARNING **: 08:20:18.830: Found 0 entitlement certificates
Package                                                          Repository            Size
Installing:                                                                                
 glibc-langpack-en-2.34-100.el9.x86_64                           ubi-9-baseos-rpms 689.7 kB
 openssl-fips-provider-3.0.7-2.el9.x86_64                        ubi-9-baseos-rpms 590.1 kB
Upgrading:                                                                                 
 audit-libs-3.1.2-2.el9.x86_64                                   ubi-9-baseos-rpms 123.7 kB
  replacing audit-libs-3.0.7-104.el9.x86_64                                                
 bash-5.1.8-9.el9.x86_64                                         ubi-9-baseos-rpms   1.8 MB
  replacing bash-5.1.8-6.el9_1.x86_64                                                      
 coreutils-single-8.32-35.el9.x86_64                             ubi-9-baseos-rpms 639.7 kB
  replacing coreutils-single-8.32-34.el9.x86_64                                            
 crypto-policies-20240202-1.git283706d.el9.noarch                ubi-9-baseos-rpms  89.7 kB
  replacing crypto-policies-20230731-1.git94f0e2c.el9_3.1.noarch                           
 curl-minimal-7.76.1-29.el9_4.x86_64                             ubi-9-baseos-rpms 132.2 kB
  replacing curl-minimal-7.76.1-26.el9_3.3.x86_64                                          
 file-libs-5.39-16.el9.x86_64                                    ubi-9-baseos-rpms 606.8 kB
  replacing file-libs-5.39-14.el9.x86_64                                                   
 glib2-2.68.4-14.el9.x86_64                                      ubi-9-baseos-rpms   2.8 MB
  replacing glib2-2.68.4-11.el9.x86_64                                                     
 glibc-2.34-100.el9.x86_64                                       ubi-9-baseos-rpms   2.1 MB
  replacing glibc-2.34-83.el9_3.12.x86_64                                                  
 glibc-common-2.34-100.el9.x86_64                                ubi-9-baseos-rpms 328.3 kB
  replacing glibc-common-2.34-83.el9_3.12.x86_64                                           
 glibc-minimal-langpack-2.34-100.el9.x86_64                      ubi-9-baseos-rpms  35.6 kB
  replacing glibc-minimal-langpack-2.34-83.el9_3.12.x86_64                                 
 gnutls-3.8.3-4.el9_4.x86_64                                     ubi-9-baseos-rpms   1.1 MB
  replacing gnutls-3.7.6-23.el9_3.3.x86_64                                                 
 libacl-2.3.1-4.el9.x86_64                                       ubi-9-baseos-rpms  24.6 kB
  replacing libacl-2.3.1-3.el9.x86_64                                                      
 libblkid-2.37.4-18.el9.x86_64                                   ubi-9-baseos-rpms 112.5 kB
  replacing libblkid-2.37.4-15.el9.x86_64                                                  
 libcom_err-1.46.5-5.el9.x86_64                                  ubi-9-baseos-rpms  28.6 kB
  replacing libcom_err-1.46.5-3.el9.x86_64                                                 
 libcurl-minimal-7.76.1-29.el9_4.x86_64                          ubi-9-baseos-rpms 232.9 kB
  replacing libcurl-minimal-7.76.1-26.el9_3.3.x86_64                                       
 libgcc-11.4.1-3.el9.x86_64                                      ubi-9-baseos-rpms  97.2 kB
  replacing libgcc-11.4.1-2.1.el9.x86_64                                                   
 libmount-2.37.4-18.el9.x86_64                                   ubi-9-baseos-rpms 141.0 kB
  replacing libmount-2.37.4-15.el9.x86_64                                                  
 librepo-1.14.5-2.el9.x86_64                                     ubi-9-baseos-rpms  91.7 kB
  replacing librepo-1.14.5-1.el9.x86_64                                                    
 libsmartcols-2.37.4-18.el9.x86_64                               ubi-9-baseos-rpms  67.2 kB
  replacing libsmartcols-2.37.4-15.el9.x86_64                                              
 libstdc++-11.4.1-3.el9.x86_64                                   ubi-9-baseos-rpms 764.7 kB
  replacing libstdc++-11.4.1-2.1.el9.x86_64                                                
 libuuid-2.37.4-18.el9.x86_64                                    ubi-9-baseos-rpms  31.0 kB
  replacing libuuid-2.37.4-15.el9.x86_64                                                   
 libxml2-2.9.13-6.el9_4.x86_64                                   ubi-9-baseos-rpms 769.9 kB
  replacing libxml2-2.9.13-5.el9_3.x86_64                                                  
 nettle-3.9.1-1.el9.x86_64                                       ubi-9-baseos-rpms 577.2 kB
  replacing nettle-3.8-3.el9_0.x86_64                                                      
 openldap-2.6.6-3.el9.x86_64                                     ubi-9-baseos-rpms 292.7 kB
  replacing openldap-2.6.3-1.el9.x86_64                                                    
 openssl-libs-1:3.0.7-27.el9.x86_64                              ubi-9-baseos-rpms   2.0 MB
  replacing openssl-libs-1:3.0.7-25.el9_3.x86_64                                           
 p11-kit-0.25.3-2.el9.x86_64                                     ubi-9-baseos-rpms 549.8 kB
  replacing p11-kit-0.24.1-2.el9.x86_64                                                    
 p11-kit-trust-0.25.3-2.el9.x86_64                               ubi-9-baseos-rpms 148.8 kB
  replacing p11-kit-trust-0.24.1-2.el9.x86_64                                              
 pcre2-10.40-5.el9.x86_64                                        ubi-9-baseos-rpms 242.2 kB
  replacing pcre2-10.40-2.el9.x86_64                                                       
 pcre2-syntax-10.40-5.el9.noarch                                 ubi-9-baseos-rpms 148.2 kB
  replacing pcre2-syntax-10.40-2.el9.noarch                                                
 redhat-release-9.4-0.4.el9.x86_64                               ubi-9-baseos-rpms  47.0 kB
  replacing redhat-release-9.3-0.5.el9.x86_64                                              
 setup-2.13.7-10.el9.noarch                                      ubi-9-baseos-rpms 153.8 kB
  replacing setup-2.13.7-9.el9.noarch                                                      
 systemd-libs-252-32.el9_4.x86_64                                ubi-9-baseos-rpms 695.4 kB
  replacing systemd-libs-252-18.el9.x86_64                                                 
 tzdata-2024a-1.el9.noarch                                       ubi-9-baseos-rpms 861.8 kB
   replacing tzdata-2023d-1.el9.noarch                                                     
Transaction Summary:
 Installing:        2 packages
 Reinstalling:      0 packages
 Upgrading:        33 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Updating: libgcc;11.4.1-3.el9;x86_64;ubi-9-baseos-rpms
Updating: crypto-policies;20240202-1.git283706d.el9;noarch;ubi-9-baseos-rpms
Updating: tzdata;2024a-1.el9;noarch;ubi-9-baseos-rpms
Updating: bash;5.1.8-9.el9;x86_64;ubi-9-baseos-rpms
Updating: glibc-common;2.34-100.el9;x86_64;ubi-9-baseos-rpms
Updating: glibc-minimal-langpack;2.34-100.el9;x86_64;ubi-9-baseos-rpms
Updating: glibc;2.34-100.el9;x86_64;ubi-9-baseos-rpms
Installing: glibc-langpack-en;2.34-100.el9;x86_64;ubi-9-baseos-rpms
Updating: p11-kit;0.25.3-2.el9;x86_64;ubi-9-baseos-rpms
Updating: libuuid;2.37.4-18.el9;x86_64;ubi-9-baseos-rpms
Updating: p11-kit-trust;0.25.3-2.el9;x86_64;ubi-9-baseos-rpms
Updating: libacl;2.3.1-4.el9;x86_64;ubi-9-baseos-rpms
Updating: coreutils-single;8.32-35.el9;x86_64;ubi-9-baseos-rpms
Installing: openssl-fips-provider;3.0.7-2.el9;x86_64;ubi-9-baseos-rpms
Updating: openssl-libs;1:3.0.7-27.el9;x86_64;ubi-9-baseos-rpms
Updating: libblkid;2.37.4-18.el9;x86_64;ubi-9-baseos-rpms
Updating: libmount;2.37.4-18.el9;x86_64;ubi-9-baseos-rpms
Updating: libcom_err;1.46.5-5.el9;x86_64;ubi-9-baseos-rpms
Updating: libcurl-minimal;7.76.1-29.el9_4;x86_64;ubi-9-baseos-rpms
Updating: libxml2;2.9.13-6.el9_4;x86_64;ubi-9-baseos-rpms
Updating: nettle;3.9.1-1.el9;x86_64;ubi-9-baseos-rpms
Updating: gnutls;3.8.3-4.el9_4;x86_64;ubi-9-baseos-rpms
Updating: glib2;2.68.4-14.el9;x86_64;ubi-9-baseos-rpms
Updating: redhat-release;9.4-0.4.el9;x86_64;ubi-9-baseos-rpms
Updating: pcre2-syntax;10.40-5.el9;noarch;ubi-9-baseos-rpms
Updating: pcre2;10.40-5.el9;x86_64;ubi-9-baseos-rpms
Updating: setup;2.13.7-10.el9;noarch;ubi-9-baseos-rpms
Updating: librepo;1.14.5-2.el9;x86_64;ubi-9-baseos-rpms
Updating: curl-minimal;7.76.1-29.el9_4;x86_64;ubi-9-baseos-rpms
Updating: openldap;2.6.6-3.el9;x86_64;ubi-9-baseos-rpms
Updating: systemd-libs;252-32.el9_4;x86_64;ubi-9-baseos-rpms
Updating: audit-libs;3.1.2-2.el9;x86_64;ubi-9-baseos-rpms
Updating: file-libs;5.39-16.el9;x86_64;ubi-9-baseos-rpms
Updating: libsmartcols;2.37.4-18.el9;x86_64;ubi-9-baseos-rpms
Updating: libstdc++;11.4.1-3.el9;x86_64;ubi-9-baseos-rpms
Cleanup: systemd-libs;252-18.el9;x86_64;installed
Cleanup: libstdc++;11.4.1-2.1.el9;x86_64;installed
Cleanup: librepo;1.14.5-1.el9;x86_64;installed
Cleanup: glib2;2.68.4-11.el9;x86_64;installed
Cleanup: gnutls;3.7.6-23.el9_3.3;x86_64;installed
Cleanup: p11-kit-trust;0.24.1-2.el9;x86_64;installed
Cleanup: libmount;2.37.4-15.el9;x86_64;installed
Cleanup: p11-kit;0.24.1-2.el9;x86_64;installed
Cleanup: libxml2;2.9.13-5.el9_3;x86_64;installed
Cleanup: libblkid;2.37.4-15.el9;x86_64;installed
Cleanup: coreutils-single;8.32-34.el9;x86_64;installed
Cleanup: openldap;2.6.3-1.el9;x86_64;installed
Cleanup: file-libs;5.39-14.el9;x86_64;installed
Cleanup: curl-minimal;7.76.1-26.el9_3.3;x86_64;installed
Cleanup: libcurl-minimal;7.76.1-26.el9_3.3;x86_64;installed
Cleanup: openssl-libs;1:3.0.7-25.el9_3;x86_64;installed
Cleanup: libuuid;2.37.4-15.el9;x86_64;installed
Cleanup: audit-libs;3.0.7-104.el9;x86_64;installed
Cleanup: libcom_err;1.46.5-3.el9;x86_64;installed
Cleanup: nettle;3.8-3.el9_0;x86_64;installed
Cleanup: pcre2;10.40-2.el9;x86_64;installed
Cleanup: libacl;2.3.1-3.el9;x86_64;installed
Cleanup: libsmartcols;2.37.4-15.el9;x86_64;installed
Cleanup: setup;2.13.7-9.el9;noarch;installed
Cleanup: redhat-release;9.3-0.5.el9;x86_64;installed
Cleanup: pcre2-syntax;10.40-2.el9;noarch;installed
Cleanup: crypto-policies;20230731-1.git94f0e2c.el9_3.1;noarch;installed
Cleanup: bash;5.1.8-6.el9_1;x86_64;installed
Cleanup: glibc;2.34-83.el9_3.12;x86_64;installed
Cleanup: glibc-minimal-langpack;2.34-83.el9_3.12;x86_64;installed
Cleanup: glibc-common;2.34-83.el9_3.12;x86_64;installed
Cleanup: tzdata;2023d-1.el9;noarch;installed
Cleanup: libgcc;11.4.1-2.1.el9;x86_64;installed
Complete.

(microdnf:113): librhsm-WARNING **: 08:20:25.050: Found 0 entitlement certificates

(microdnf:113): librhsm-WARNING **: 08:20:25.052: Found 0 entitlement certificates
Complete.
--> 8653bdc9b27d
[9/10] STEP 4/9: ENV IO_OPENSHIFT_MANAGED_NAME="ocm-container"
--> d365234175aa
[9/10] STEP 5/9: LABEL io.openshift.managed.name="ocm-container"
--> 547aac736e94
[9/10] STEP 6/9: LABEL io.openshift.managed.description="Containerized environment for accessing OpenShift v4 clusters, packing necessary tools/scripts"
--> f447f912dc0c
[9/10] STEP 7/9: ENV OCM_BACKPLANE_CONSOLE_PORT 9999
--> ee7cdb42c6ab
[9/10] STEP 8/9: EXPOSE $OCM_BACKPLANE_CONSOLE_PORT
--> 926fd3a9cb05
[9/10] STEP 9/9: ENTRYPOINT ["/bin/bash"]
--> 2bc2aa093ec1
[10/10] STEP 1/13: FROM 2bc2aa093ec1bbdfa2bff0a6e20b13012db7a97f8085046aaf66ac962c7380f9 AS ocm-container-minimal
[10/10] STEP 2/13: ARG OUTPUT_DIR="/opt"
--> b62a6ad04759
[10/10] STEP 3/13: ARG BIN_DIR="/usr/local/bin"
--> 43a622168abd
[10/10] STEP 4/13: COPY --from=backplane-tools /${OUTPUT_DIR}/aws_dist      /usr/local/aws-cli
--> c778a6106797
[10/10] STEP 5/13: COPY --from=backplane-tools /${OUTPUT_DIR}/oc            ${BIN_DIR}
--> 9bd759ecbb79
[10/10] STEP 6/13: COPY --from=backplane-tools /${OUTPUT_DIR}/ocm           ${BIN_DIR}
--> 74386ea3a5f9
[10/10] STEP 7/13: COPY --from=backplane-tools /${OUTPUT_DIR}/ocm-backplane ${BIN_DIR}
--> 245d6fc26741
[10/10] STEP 8/13: COPY --from=backplane-tools /${OUTPUT_DIR}/ocm-addons    ${BIN_DIR}
--> 12906914757d
[10/10] STEP 9/13: COPY --from=backplane-tools /${OUTPUT_DIR}/osdctl        ${BIN_DIR}
--> 7c288bed0729
[10/10] STEP 10/13: COPY --from=backplane-tools /${OUTPUT_DIR}/rosa          ${BIN_DIR}
--> 6ea5f1889cc1
[10/10] STEP 11/13: COPY --from=backplane-tools /${OUTPUT_DIR}/servicelogger ${BIN_DIR}
--> 162b44158707
[10/10] STEP 12/13: COPY --from=backplane-tools /${OUTPUT_DIR}/yq            ${BIN_DIR}
--> 41e0c36637eb
[10/10] STEP 13/13: COPY --from=hypershift      /${OUTPUT_DIR}/hypershift    ${BIN_DIR}
[10/10] COMMIT ocm-container-minimal:latest
--> a6be63d173df
Successfully tagged localhost/ocm-container-minimal:latest
a6be63d173df013ce44b30ccb75bf0b45158a9c036128ac08972840cdf780a59
openshift-ci[bot] commented 2 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clcollins, T0MASD

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/openshift/ocm-container/blob/master/OWNERS)~~ [T0MASD,clcollins] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
T0MASD commented 2 months ago

/retest