You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
snc currently rebuilds the patched release image every time it needs
one. After recent commits, the patched release image is built by
build-patched-kao-kcmo-images.sh and pushed to
quay.io/crcont/ocp-release, so snc can reuse this image instead.
Copy file name to clipboardExpand all lines: snc-library.sh
-16Lines changed: 0 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -45,22 +45,6 @@ function download_oc() {
45
45
fi
46
46
}
47
47
48
-
function create_new_release_with_patched_images() {
49
-
upstream_registry=quay.io/crcont
50
-
openshift_version=$(${OC} adm release info -a ${OPENSHIFT_PULL_SECRET_PATH} ${OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE} -ojsonpath='{.config.config.Labels.io\.openshift\.release}')
51
-
# As of now `oc adm release new` not able to parse images which have multiple arch manifest file so we first need to get the digest of the image for specific
52
-
# arch and then use that digest with `oc adm release new`.
53
-
kao_image_digest=$(${OC} image info -a ${OPENSHIFT_PULL_SECRET_PATH} ${upstream_registry}/openshift-crc-cluster-kube-apiserver-operator:${openshift_version} --filter-by-os=linux/${yq_ARCH} -ojson | jq -r .digest)
54
-
kcmo_image_digest=$(${OC} image info -a ${OPENSHIFT_PULL_SECRET_PATH} ${upstream_registry}/openshift-crc-cluster-kube-controller-manager-operator:${openshift_version} --filter-by-os=linux/${yq_ARCH} -ojson | jq -r .digest)
55
-
56
-
${OC} adm release new -a ${OPENSHIFT_PULL_SECRET_PATH} --from-release=${OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE} \
0 commit comments