Skip to content

Commit 5b3e287

Browse files
committed
Update common_versions.sh
1 parent 3e02487 commit 5b3e287

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

test/bin/common_versions.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22
set -euo pipefail
33

4+
# Following file is auto-generated using generate_common_versions.py.
5+
# It should not be edited manually.
6+
47
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
58
echo "This script must be sourced, not executed."
69
exit 1
@@ -44,13 +47,13 @@ export PREVIOUS_MINOR_VERSION=$(( "${MINOR_VERSION}" - 1 ))
4447
export YMINUS2_MINOR_VERSION=$(( "${MINOR_VERSION}" - 2 ))
4548
export FAKE_NEXT_MINOR_VERSION=$(( "${MINOR_VERSION}" + 1 ))
4649

47-
CURRENT_RELEASE_REPO=""
48-
CURRENT_RELEASE_VERSION=""
50+
CURRENT_RELEASE_REPO="https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/microshift/ocp-dev-preview/latest-4.20/el9/os"
51+
CURRENT_RELEASE_VERSION="$(get_vrel_from_beta "${CURRENT_RELEASE_REPO}")"
4952
export CURRENT_RELEASE_REPO
5053
export CURRENT_RELEASE_VERSION
5154

52-
PREVIOUS_RELEASE_REPO="https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/microshift/ocp/latest-4.19/el9/os"
53-
PREVIOUS_RELEASE_VERSION="$(get_vrel_from_beta "${PREVIOUS_RELEASE_REPO}")"
55+
PREVIOUS_RELEASE_REPO="rhocp-4.19-for-rhel-9-$(uname -m)-rpms"
56+
PREVIOUS_RELEASE_VERSION="$(get_vrel_from_rhsm "${PREVIOUS_RELEASE_REPO}")"
5457
export PREVIOUS_RELEASE_REPO
5558
export PREVIOUS_RELEASE_VERSION
5659

@@ -64,7 +67,7 @@ RHOCP_MINOR_Y_BETA="https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/de
6467
export RHOCP_MINOR_Y
6568
export RHOCP_MINOR_Y_BETA
6669

67-
RHOCP_MINOR_Y1=""
70+
RHOCP_MINOR_Y1=19
6871
RHOCP_MINOR_Y1_BETA="https://mirror.openshift.com/pub/openshift-v4/$(uname -m)/dependencies/rpms/4.19-el9-beta"
6972
export RHOCP_MINOR_Y1
7073
export RHOCP_MINOR_Y1_BETA

0 commit comments

Comments
 (0)