Skip to content

Commit

Permalink
Allow skipping generate-release in experimtal tests (#1004)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
openshift-cherrypick-robot and mgencur authored Jan 24, 2025
1 parent c84b810 commit f266121
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openshift/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ function run_e2e_rekt_experimental_tests(){
oc patch knativeeventing --type merge -n "${EVENTING_NAMESPACE}" knative-eventing --patch-file "${script_dir}/knative-eventing-experimental.yaml"

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

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

0 comments on commit f266121

Please sign in to comment.