Skip to content

Commit

Permalink
Force hack/update-generated.sh to list images from built-in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bertinatto committed Feb 11, 2025
1 parent 93e67f5 commit 45e2ff5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hack/update-generated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ ENABLE_STORAGE_GCE_PD_DRIVER=yes go generate -mod vendor ./test/extended
go run -mod vendor ./cmd/openshift-tests render test-report --output-dir=./zz_generated.manifests

# Update mirror mapping from upstream to quay
# By default, "openshift-tests images" lists images from external binaries. However, we force
# this scriptto list images from built-in tests in order to avoid requiring an OCP cluster.
echo "# This file is generated by hack/update-generated.sh" > test/extended/util/image/zz_generated.txt
go run -mod vendor ./cmd/openshift-tests images --upstream --to-repository quay.io/openshift/community-e2e-images >> test/extended/util/image/zz_generated.txt
OPENSHIFT_SKIP_EXTERNAL_TESTS=1 go run -mod vendor ./cmd/openshift-tests images --upstream --to-repository quay.io/openshift/community-e2e-images >> test/extended/util/image/zz_generated.txt

os::build::setup_env

Expand Down

0 comments on commit 45e2ff5

Please sign in to comment.