Skip to content

Commit

Permalink
Override Go link
Browse files Browse the repository at this point in the history
Signed-off-by: Reinhard Naegele <[email protected]>
  • Loading branch information
unguiculus committed Nov 2, 2019
1 parent 548c37c commit e572083
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ jobs:
command: |
mkdir /home/circleci/.go_workspace/bin
# 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
tar -xzf go1.13.4.linux-amd64.tar.gz
ln -s "$HOME/go/bin/go" "$HOME/.go_workspace/bin/go"
sudo ln -f -s "$HOME/go/bin/go" /usr/local/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
Expand Down

0 comments on commit e572083

Please sign in to comment.