File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ if [[ -z "$OPENSHIFT_CI" ]]; then
172
172
export OPENSHIFT_VERSION=${OPENSHIFT_VERSION:- $(echo $OPENSHIFT_RELEASE_IMAGE | sed " s/.*:\([[:digit:]]\.[[:digit:]]*\).*/\1/" )}
173
173
fi
174
174
175
- export OPENSHIFT_RELEASE_TAG=$( echo $OPENSHIFT_RELEASE_IMAGE | sed -E ' s/[[:alnum:]\/.-]*(release|okd).*://' )
175
+ export OPENSHIFT_RELEASE_TAG=${OPENSHIFT_RELEASE_TAG :- $ (echo $OPENSHIFT_RELEASE_IMAGE | sed -E ' s/[[:alnum:]\/.-]*(release|okd).*://' )}
176
176
177
177
# Use "ipmi" for 4.3 as it didn't support redfish, for other versions
178
178
# use "redfish", unless its CI where we use "mixed"
Original file line number Diff line number Diff line change @@ -54,6 +54,13 @@ set -x
54
54
# export OPENSHIFT_RELEASE_IMAGE=registry.ci.openshift.org/origin/release:4.15.0-0.okd-2023-08-29-101209
55
55
# Default: Undefined
56
56
57
+ # OPENSHIFT_RELEASE_TAG -
58
+ # Define a specific release tag to use. Only required if OPENSHIFT_RELEASE_IMAGE
59
+ # does not come from registry.ci.openshift.org (e.g. a custom payload on quay).
60
+ # For example:
61
+ # export OPENSHIFT_RELEASE_TAG=4.15.0-0.okd-2023-08-29-101209-custom
62
+ # Default: defined from OPENSHIFT_RELEASE_IMAGE
63
+
57
64
# OPENSHIFT_VERSION -
58
65
# Set the Openshift version. If unset defaults to $OPENSHIFT_RELEASE_STREAM.
59
66
# NOTE: Do not use for arm64, instead override OPENSHIFT_RELEASE_IMAGE
You can’t perform that action at this time.
0 commit comments