Skip to content

Commit

Permalink
chore(tests): fix kubectl installation in environment test script (#4597
Browse files Browse the repository at this point in the history
)
  • Loading branch information
daniel-sanche committed Aug 12, 2021
1 parent 112eea2 commit a38d037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/kokoro/environment.sh
Expand Up @@ -70,11 +70,11 @@ fi

# If Kubernetes, install kubectl component
if [[ $ENVIRONMENT == *"kubernetes"* ]]; then
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl
mkdir -p ~/.local/bin
mv ./kubectl ~/.local/bin
export PATH=$PATH:/.local/bin/
export PATH=$PATH:~/.local/bin/
fi

# Run the environment test for the specified GCP service
Expand Down

0 comments on commit a38d037

Please sign in to comment.