Skip to content

Commit

Permalink
use 4.5 rhcos image for 4.5 deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
zshi-redhat committed Mar 25, 2020
1 parent c101cc6 commit d1c2403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions images_and_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ declare -A RHCOS_METAL_IMAGES
# 2/6/2020: 4.4/4.5 must be acquired from internal Red Hat CI registry, because it is not yet available
# from the official mirror
if [ "$OPENSHIFT_RHCOS_MAJOR_REL" == "4.4" ] || [ "$OPENSHIFT_RHCOS_MAJOR_REL" == "4.5" ]; then
BUILDS_JSON="$(curl -sS https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.4/builds.json)"
BUILDS_JSON="$(curl -sS https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-$OPENSHIFT_RHCOS_MAJOR_REL/builds.json)"

if [[ -z "$OPENSHIFT_RHCOS_MINOR_REL" ]]; then
# If a minor release wasn't set, get latest
Expand All @@ -25,7 +25,7 @@ if [ "$OPENSHIFT_RHCOS_MAJOR_REL" == "4.4" ] || [ "$OPENSHIFT_RHCOS_MAJOR_REL" =
OPENSHIFT_RHCOS_MINOR_REL="$LATEST"
fi

RHCOS_IMAGES_BASE_URI="https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.4/$OPENSHIFT_RHCOS_MINOR_REL/x86_64/"
RHCOS_IMAGES_BASE_URI="https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-$OPENSHIFT_RHCOS_MAJOR_REL/$OPENSHIFT_RHCOS_MINOR_REL/x86_64/"

META_JSON="$(curl -sS "$RHCOS_IMAGES_BASE_URI"meta.json)"

Expand Down

0 comments on commit d1c2403

Please sign in to comment.