From f850f4486aa37639edd6eb8b86e21e64b60ef9b6 Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Mon, 13 Feb 2017 16:47:55 +0100 Subject: [PATCH] Update circle.yml for Ubuntu 14.04 Change the owner of "$HOME/.bashrc.backup" as the Google cloud cli wants to backup to this file during setup and it's owned by root in the Circle CI image. Second, allow writes to `/usr/local/go/pkg` for `go install net` to work. --- circle.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/circle.yml b/circle.yml index 83ffb4307..3c8f25c5a 100644 --- a/circle.yml +++ b/circle.yml @@ -22,6 +22,8 @@ dependencies: - | sudo apt-get update && sudo apt-get install jq pv && + sudo chmod a+wr --recursive /usr/local/go/pkg && + sudo chown ubuntu:ubuntu "$HOME/.bashrc.backup" (curl https://sdk.cloud.google.com | bash) && (test -z "$SECRET_PASSWORD" || bin/setup-circleci-secrets "$SECRET_PASSWORD") && make deps &&