Skip to content

Commit

Permalink
Merge pull request #571 from carvel-dev/cherry-pick-670fc3-v0.36.x
Browse files Browse the repository at this point in the history
Merge pull request #569 from carvel-dev/update-optional-build-test

Updated test to build binary locally based on variable value
  • Loading branch information
kumaritanushree authored Aug 29, 2023
2 parents 84a7d73 + c8c9e99 commit 664556b
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 664556b

Please sign in to comment.