We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f483b9 commit 37ad98fCopy full SHA for 37ad98f
1 file changed
common.sh
@@ -181,6 +181,12 @@ if [[ -z "$OPENSHIFT_CI" ]]; then
181
export OPENSHIFT_VERSION=${OPENSHIFT_VERSION:-$(echo $OPENSHIFT_RELEASE_IMAGE | sed "s/.*:\([[:digit:]]\.[[:digit:]]*\).*/\1/")}
182
fi
183
184
+# Disable image policy verification for local development
185
+# In CI, this is set via the test configuration (see https://github.com/openshift/installer/pull/10379)
186
+if [ "${OPENSHIFT_CI}" != "true" ] && [ "${OPENSHIFT_RELEASE_TYPE}" = "nightly" ]; then
187
+ export OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY="true"
188
+fi
189
+
190
export OPENSHIFT_RELEASE_TAG=$(echo $OPENSHIFT_RELEASE_IMAGE | sed -E 's/[[:alnum:]\/.-]*(release|okd).*://')
191
192
# Use "ipmi" for 4.3 as it didn't support redfish, for other versions
0 commit comments