From 6d5a3c2ed8b1469a277d2859d1775114bf99371b Mon Sep 17 00:00:00 2001 From: Scott Rigby Date: Sat, 2 Nov 2019 15:20:28 -0400 Subject: [PATCH] Copy full go 1.13 dir into the circle machine default location after deleting initial install Signed-off-by: Scott Rigby --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 419e3ee9..14b84dfe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,8 +23,8 @@ jobs: # 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 -sSLO https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz - tar -xzf go1.13.4.linux-amd64.tar.gz - sudo mv go/bin/go /usr/local/go/bin/go + sudo rm -r /usr/local/go + sudo tar -C /usr/local -xzf go1.13.4.linux-amd64.tar.gz 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