Check for gcloud in verify_dependencies
In CI builds, we rely on gcloud installed by Circle CI. Any change to Circle $PATH or the installation might break CI builds in non-obvious way.
This commit is contained in:
1 parent
75d80c4828
commit
953d451105
1 file changed
+1
-1
@@ -65,7 +65,7 @@ function print_vars() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function verify_dependencies() {
|
function verify_dependencies() {
|
||||||
local deps=(python terraform ansible-playbook)
|
local deps=(python terraform ansible-playbook gcloud)
|
||||||
for dep in "${deps[@]}"; do
|
for dep in "${deps[@]}"; do
|
||||||
if [ ! "$(which "$dep")" ]; then
|
if [ ! "$(which "$dep")" ]; then
|
||||||
echo >&2 "$dep is not installed or not in PATH."
|
echo >&2 "$dep is not installed or not in PATH."
|
||||||
|
|||||||
Reference in new issue
Block a user