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 29, 2023
1 parent 4eda774 commit bd1a609
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 bd1a609

Please sign in to comment.