Skip to content

Commit

Permalink
Allow parameters to be passed to all tests
Browse files Browse the repository at this point in the history
Signed-off-by: João Pereira <[email protected]>
  • Loading branch information
joaopapereira committed Jun 10, 2024
1 parent 7ae2f28 commit 038dd37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hack/test-all-local-registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ trap cleanup EXIT
docker run -d -p "$PORT":5000 -e REGISTRY_VALIDATION_MANIFESTS_URLS_ALLOW='- ^https?://' --restart always --name registry-"$PORT" registry:2
export IMGPKG_E2E_IMAGE="localhost:$PORT/local-tests/test-repo"
export IMGPKG_E2E_RELOCATION_REPO="localhost:$PORT/local-tests/test-relocation-repo"
./hack/test-all.sh $@
./hack/test-all.sh ${@:2}
8 changes: 4 additions & 4 deletions hack/test-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ fi

export IMGPKG_BINARY="$PWD/imgpkg${IMGPKG_BINARY_EXT-}"

./hack/test.sh
./hack/test-e2e.sh
./hack/test-perf.sh
./hack/test-helpers.sh
./hack/test.sh $@
./hack/test-e2e.sh $@
./hack/test-perf.sh $@
./hack/test-helpers.sh $@

echo ALL SUCCESS

0 comments on commit 038dd37

Please sign in to comment.