Skip to content

Commit f266121

Browse files
Allow skipping generate-release in experimtal tests (#1004)
The "make generate-release" re-generates images.yaml and puts single-arch images from CI registry there. However, for downstream/multiarch testing, the images.yaml might be modified to reference multiarch-images from Konflux. Re-generating the file would then break tests on P/Z or ARM. Co-authored-by: Martin Gencur <mgencur@redhat.com>
1 parent c84b810 commit f266121

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

openshift/e2e-common.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,9 @@ function run_e2e_rekt_experimental_tests(){
240240
oc patch knativeeventing --type merge -n "${EVENTING_NAMESPACE}" knative-eventing --patch-file "${script_dir}/knative-eventing-experimental.yaml"
241241

242242
images_file=$(dirname $(realpath "$0"))/images.yaml
243-
make generate-release
243+
if [ "$SKIP_GENERATE_RELEASE" == false ]; then
244+
make generate-release
245+
fi
244246
cat "${images_file}"
245247

246248
oc wait --for=condition=Ready knativeeventing.operator.knative.dev knative-eventing -n "${EVENTING_NAMESPACE}" --timeout=900s

0 commit comments

Comments
 (0)