mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 17:52:12 +00:00
test: Fix kustomize install in integration test
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
# before running it.
|
# before running it.
|
||||||
#
|
#
|
||||||
# At time of writing, its 'call point' was in
|
# At time of writing, its 'call point' was in
|
||||||
# https://github.com/kubernetes/test-infra/blob/master/jobs/config.json
|
# https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes-sigs/kustomize/kustomize-config.yaml
|
||||||
|
|
||||||
function exitWith {
|
function exitWith {
|
||||||
local msg=$1
|
local msg=$1
|
||||||
@@ -53,7 +53,7 @@ function setUpEnv {
|
|||||||
exitWith "Script must be run from $expectedRepo"
|
exitWith "Script must be run from $expectedRepo"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GO111MODULE=on go install . || \
|
GO111MODULE=on go install ./cmd/kustomize || \
|
||||||
{ exitWith "Failed to install kustomize."; }
|
{ exitWith "Failed to install kustomize."; }
|
||||||
|
|
||||||
PATH=$GOPATH/bin:$PATH
|
PATH=$GOPATH/bin:$PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user