Merge pull request #2887 from weaveworks/issues/add-gcloud-to-circle-path

Fix gcloud dependency for CI builds
This commit is contained in:
Marc Carré authored and GitHub committed 2017-04-07 15:01:20 +01:00
commit b845360091
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ machine:
environment:
GOPATH: /home/ubuntu:$GOPATH
SRCDIR: /home/ubuntu/src/github.com/weaveworks/weave
PATH: $PATH:$HOME/.local/bin
PATH: $PATH:$HOME/.local/bin:/opt/google-cloud-sdk/bin
CLOUDSDK_CORE_DISABLE_PROMPTS: 1
STATE: /home/ubuntu/state.env
# Base name of VMs for integration tests:
+1 -1
View File
@@ -65,7 +65,7 @@ function print_vars() {
}
function verify_dependencies() {
local deps=(python terraform ansible-playbook)
local deps=(python terraform ansible-playbook gcloud)
for dep in "${deps[@]}"; do
if [ ! "$(which "$dep")" ]; then
echo >&2 "$dep is not installed or not in PATH."