Skip to content

Commit db695a7

Browse files
committed
[4.20] Update mirror url and pre-release flag
4.20 is now released so mirror url is updated and also pre-release flag in the microshift CI is updated.
1 parent 6257be1 commit db695a7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ci_microshift.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -exuo pipefail
55
sudo yum install -y make golang
66

77
./shellcheck.sh
8-
MICROSHIFT_PRERELEASE=yes ./microshift.sh
8+
./microshift.sh
99

1010
# Set the zstd compression level to 10 to have faster
1111
# compression while keeping a reasonable bundle size.

microshift.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ SNC_CLUSTER_MEMORY=${SNC_CLUSTER_MEMORY:-2048}
1515
SNC_CLUSTER_CPUS=${SNC_CLUSTER_CPUS:-2}
1616
CRC_VM_DISK_SIZE=${CRC_VM_DISK_SIZE:-31}
1717
BASE_DOMAIN=${CRC_BASE_DOMAIN:-testing}
18-
MIRROR=${MIRROR:-https://mirror.openshift.com/pub/openshift-v4/$ARCH/clients/ocp-dev-preview}
18+
MIRROR=${MIRROR:-https://mirror.openshift.com/pub/openshift-v4/$ARCH/clients/ocp}
1919
MICROSHIFT_VERSION=${MICROSHIFT_VERSION:-4.20}
2020
MIRROR_REPO=${MIRROR_REPO:-https://mirror.openshift.com/pub/openshift-v4/$ARCH/microshift/ocp-dev-preview/latest-${MICROSHIFT_VERSION}/el9/os}
2121

snc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ BASE_DOMAIN=${CRC_BASE_DOMAIN:-testing}
3131
CRC_PV_DIR="/mnt/pv-data"
3232
SSH="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i id_ecdsa_crc"
3333
SCP="scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i id_ecdsa_crc"
34-
MIRROR=${MIRROR:-https://mirror.openshift.com/pub/openshift-v4/$ARCH/clients/ocp-dev-preview}
34+
MIRROR=${MIRROR:-https://mirror.openshift.com/pub/openshift-v4/$ARCH/clients/ocp}
3535
CERT_ROTATION=${SNC_DISABLE_CERT_ROTATION:-enabled}
3636
USE_PATCHED_RELEASE_IMAGE=${SNC_USE_PATCHED_RELEASE_IMAGE:-disabled}
3737
HTPASSWD_FILE='users.htpasswd'
@@ -44,7 +44,7 @@ if test -n "${OPENSHIFT_VERSION-}"; then
4444
OPENSHIFT_RELEASE_VERSION=${OPENSHIFT_VERSION}
4545
echo "Using release ${OPENSHIFT_RELEASE_VERSION} from OPENSHIFT_VERSION"
4646
else
47-
OPENSHIFT_RELEASE_VERSION="$(curl -L "${MIRROR}"/candidate/release.txt | sed -n 's/^ *Version: *//p')"
47+
OPENSHIFT_RELEASE_VERSION="$(curl -L "${MIRROR}"/candidate-4.20/release.txt | sed -n 's/^ *Version: *//p')"
4848
if test -n "${OPENSHIFT_RELEASE_VERSION}"; then
4949
echo "Using release ${OPENSHIFT_RELEASE_VERSION} from the latest mirror"
5050
else

0 commit comments

Comments
 (0)