Skip to content

Commit

Permalink
Temporary workaround for broken build (#869)
Browse files Browse the repository at this point in the history
* Temporary workaround for broken build

* Don't install go modules

* Fix bashism
  • Loading branch information
yorinasub17 authored Apr 19, 2021
1 parent 0637ac7 commit 737e05c
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env: &env
TERRAFORM_VERSION: 0.14.0
TERRAGRUNT_VERSION: v0.24.2
PACKER_VERSION: 1.6.6
GOLANG_VERSION: 1.14
GO_VERSION: 1.14
K8S_VERSION: v1.15.0 # Same as EKS
MINIKUBE_VERSION: v1.9.2
HELM_VERSION: v3.1.1
Expand Down Expand Up @@ -41,8 +41,15 @@ install_gruntwork_utils: &install_gruntwork_utils
--terraform-version ${TERRAFORM_VERSION} \
--terragrunt-version ${TERRAGRUNT_VERSION} \
--packer-version ${PACKER_VERSION} \
--go-version ${GOLANG_VERSION} \
--go-src-path ./
--go-version NONE
# Temporary fix for installing go - remove when we can update gruntwork-module-circleci-helpers to version with fix
echo "Installing Go version $version"
curl -O --silent --location --fail --show-error "https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go${GO_VERSION}.linux-amd64.tar.gz"
sudo ln -s /usr/local/go/bin/go /usr/bin/go
echo "The installed version of Go is now $(go version)"
configure_environment_for_gcp: &configure_environment_for_gcp
name: configure environment for gcp
Expand Down

0 comments on commit 737e05c

Please sign in to comment.