mirror of
https://github.com/ko-build/ko.git
synced 2024-11-19 18:01:46 +02:00
Update integration_test.sh
This commit is contained in:
parent
7cb29ac9b8
commit
c9e27f0dae
@ -44,6 +44,7 @@ else
|
||||
fi
|
||||
|
||||
echo "2. Test knative 'KO_FLAGS' variable is ignored."
|
||||
# https://github.com/ko-build/ko/issues/1317
|
||||
RESULT="$(KO_FLAGS="--platform=badvalue" ./ko build --local --platform="linux/$GOARCH" "$GOPATH/src/github.com/google/ko/test" | grep "$FILTER" | xargs -I% docker run %)"
|
||||
if [[ "$RESULT" != *"Hello there"* ]]; then
|
||||
echo "Test FAILED. Saw $RESULT" && exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user