Skip to content
Snippets Groups Projects
Commit 5de21dc6 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

fix(CI): find correct upstream prefix when it's padded

parent bc599e63
No related branches found
No related tags found
No related merge requests found
Pipeline #59509 waiting for manual action with stage
......@@ -48,10 +48,11 @@ fi
if [[ $UPSTREAM_INSTANCE ]]
then
UPSTREAM_PREFIX=$(find $UPSTREAM_INSTANCE/spack/opt/spack/ -type d -name ".spack-db" 2>/dev/null | xargs -I {} dirname {})
cat <<EOF > ${CI_SPACK_ROOT}/etc/spack/defaults/upstreams.yaml
upstreams:
upstream-spack-instance:
install_tree: $UPSTREAM_INSTANCE/spack/opt/spack
install_tree: $UPSTREAM_PREFIX
EOF
fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment