Skip to content

Commit 94f5acf

Browse files
committed
fix link
1 parent 2da5ed4 commit 94f5acf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/assets/common_versions.sh.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ get_lrel_release_image_url() {{
9898
local image_url=""
9999

100100
if [[ "${{release_type}}" == "ec" ]]; then
101-
image_url="https://mirror.openshift.com/pub/openshift-v4/${{UNAME_M}}/microshift/ocp-dev-preview/${{release_version}}/el9/bootc-pullspec.txt"
101+
image_url="$(curl -s "https://mirror.openshift.com/pub/openshift-v4/${{UNAME_M}}/microshift/ocp-dev-preview/${{release_version}}/el9/bootc-pullspec.txt")"
102102
elif [[ "${{release_type}}" == "rc" ]]; then
103-
image_url="https://mirror.openshift.com/pub/openshift-v4/${{UNAME_M}}/microshift/ocp/${{release_version}}/el9/bootc-pullspec.txt"
103+
image_url="$(curl -s "https://mirror.openshift.com/pub/openshift-v4/${{UNAME_M}}/microshift/ocp/${{release_version}}/el9/bootc-pullspec.txt")"
104104
elif [[ "${{release_type}}" == "zstream" ]]; then
105105
for registry in "registry.redhat.io" "registry.stage.redhat.io"; do
106106
image_url="$(get_redhat_bootc_image_url "${{registry}}" "${{release_version}}")"

test/bin/common_versions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ get_lrel_release_image_url() {
9898
local image_url=""
9999

100100
if [[ "${release_type}" == "ec" ]]; then
101-
image_url="https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp-dev-preview/${release_version}/el9/bootc-pullspec.txt"
101+
image_url="$(curl -s "https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp-dev-preview/${release_version}/el9/bootc-pullspec.txt")"
102102
elif [[ "${release_type}" == "rc" ]]; then
103-
image_url="https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp/${release_version}/el9/bootc-pullspec.txt"
103+
image_url="$(curl -s "https://mirror.openshift.com/pub/openshift-v4/${UNAME_M}/microshift/ocp/${release_version}/el9/bootc-pullspec.txt")"
104104
elif [[ "${release_type}" == "zstream" ]]; then
105105
for registry in "registry.redhat.io" "registry.stage.redhat.io"; do
106106
image_url="$(get_redhat_bootc_image_url "${registry}" "${release_version}")"

0 commit comments

Comments
 (0)