Created
February 27, 2026 15:52
-
-
Save nickboldt/029115398341446788d879b7aa6138c3 to your computer and use it in GitHub Desktop.
validate OCI artifact pushes to stage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # log in to registry | |
| RASRC_REGISTRY="registry.***" | |
| RASRC_USER="***" | |
| RASRC_PWD="**********" | |
| echo -n "[INFO]: Log into $RASRC_REGISTRY ... " | |
| echo "${RASRC_PWD}" | skopeo login -u="${RASRC_USER}" --password-stdin ${RASRC_REGISTRY} | |
| # run konflux push | |
| ./build/scripts/kfuxRelease.sh -v 1.9.0 --plugin --stage --debug --regex orchestrator | |
| TODAY=1772204326 | |
| oc apply -f /tmp/snapshot-1-9-0-${TODAY}.yaml # or whatever the actual filename is | |
| oc apply -f /tmp/release-snapshot-1-9-0-stage-${TODAY}.yaml # or whatever the actual filename is | |
| # once pipeline is complete, check the snapshot and validate those images exist, and echo the tags applied to the images | |
| for d in $(cat /tmp/snapshot-1-9-0-${TODAY}.yaml | grep containerImage | sed -r -e "s/.+containerImage: quay.io/${RASRC_REGISTRY}/g"); do \ | |
| echo; echo $d; sid $d | grep konflux; | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment