summaryrefslogtreecommitdiff
path: root/contrib/cirrus/setup_environment.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cirrus/setup_environment.sh')
-rwxr-xr-xcontrib/cirrus/setup_environment.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/cirrus/setup_environment.sh b/contrib/cirrus/setup_environment.sh
index 838f3c3f3..77c20d9bd 100755
--- a/contrib/cirrus/setup_environment.sh
+++ b/contrib/cirrus/setup_environment.sh
@@ -79,8 +79,9 @@ then
cd "${GOSRC}/"
source "$SCRIPT_BASE/lib.sh"
- # Only testing-VMs need deps installed
- [[ -n "$PACKER_BUILDS" ]] || install_testing_dependencies # must exist in $GOPATH
+ # Only testing-VMs need deps installed, not image-builder VM
+ echo "$CIRRUS_TASK_NAME" | grep -q 'image' || \
+ install_testing_dependencies # must exist in $GOPATH
fi
record_timestamp "env. setup end"