Skip to content

Commit

Permalink
Merge pull request #569 from carvel-dev/update-optional-build-test
Browse files Browse the repository at this point in the history
Updated test to build binary locally based on variable value
  • Loading branch information
joaopapereira authored Aug 28, 2023
2 parents c3b6970 + 2f9e4f5 commit 2322c9b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hack/test-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

set -e -x -u

./hack/build.sh
# By default it will generate binary of imgpkg to run test.
# export BUILD_BINARY=false to skip binary generation
if [ ${BUILD_BINARY:-true} == true ]; then
./hack/build.sh
fi

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

Expand Down

0 comments on commit 2322c9b

Please sign in to comment.