summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2019-09-09 14:52:36 -0700
committerGitHub <noreply@github.com>2019-09-09 14:52:36 -0700
commit221acadc7d08ec199c45bc07a3d51d812c87ee76 (patch)
tree62aaa944b9c8d90d9bc96b5ab0b09250e7291c74 /share
parent8ea358d849057e890d2b934c72a75de8494516d2 (diff)
downloadspack-221acadc7d08ec199c45bc07a3d51d812c87ee76.tar.gz
spack-221acadc7d08ec199c45bc07a3d51d812c87ee76.tar.bz2
spack-221acadc7d08ec199c45bc07a3d51d812c87ee76.tar.xz
spack-221acadc7d08ec199c45bc07a3d51d812c87ee76.zip
packages build: fix path to spack (#12772)
Fix docker build for packages.spack.io
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-docker-tests5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/spack/qa/run-docker-tests b/share/spack/qa/run-docker-tests
index 9030d8169c..6e7469e178 100755
--- a/share/spack/qa/run-docker-tests
+++ b/share/spack/qa/run-docker-tests
@@ -32,8 +32,11 @@ ensure_docker_login() {
return $__login_success
}
+this_dir=$(cd $(dirname $0) && pwd)
+SPACK_BIN="${this_dir}/../../../bin/spack"
+
# packages.spack.io service
-spack list --format version_json > packages.json
+${SPACK_BIN} list --format version_json > packages.json
./share/spack/packages/build-image.sh
if [ "$TEST_SUITE" '=' "docker" -a \
"$TRAVIS_EVENT_TYPE" != "pull_request" ] && ensure_docker_login ; then