mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 18:45:18 +01:00
Copy go 1.13 binary in place of circle image default binary
Signed-off-by: Scott Rigby <scott@r6by.com>
This commit is contained in:
@@ -22,9 +22,9 @@ jobs:
|
||||
command: |
|
||||
# We need to install Golang 1.13 because the CircleCI machine image has an outdated version.
|
||||
# We need to use a CircleCI machine in order to be able to run kind.
|
||||
curl -SsL https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz -o go1.13.4.linux-amd64.tar.gz
|
||||
curl -sSLO https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz
|
||||
tar -xzf go1.13.4.linux-amd64.tar.gz
|
||||
sudo ln -f -s "$CIRCLE_WORKING_DIRECTORY/go/bin/go" /usr/local/bin/go
|
||||
sudo mv go/bin/go /usr/local/go/bin/go
|
||||
|
||||
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
|
||||
chmod +x ./kubectl
|
||||
|
||||
Reference in New Issue
Block a user