Skip to content
Snippets Groups Projects
Commit c425d183 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Fix setup with local spack package overrides

parent 791a8341
No related branches found
No related tags found
1 merge request!16New feature version
......@@ -14,6 +14,7 @@ builder:stable:
- tags
- master
script:
- cp -r spack containers/builder/np-spack
- cd containers/builder
- head Dockerfile
- make login
......@@ -28,6 +29,7 @@ builder:unstable:
- if: '$CI_COMMIT_BRANCH == "develop"'
when: always
script:
- cp -r spack containers/builder/np-spack
- cd containers/builder
- head Dockerfile
- make login
......
......@@ -32,11 +32,9 @@ COPY spack.yaml /opt/spack-environment/spack.yaml
## and only initialize the custom packages here for more
## transparency
RUN rm -rf $SPACK_ROOT/np-spack \
&& pwd \
&& cp -r ../../spack $SPACK_ROOT/np-spack \
&& cd $SPACK_ROOT/np-spack \
&& echo "repos:" > $SPACK_ROOT/etc/spack/repos.yaml \
&& echo " - $SPACK_ROOT/np-spack" >> $SPACK_ROOT/etc/spack/repos.yaml
COPY np-spack $SPACK_ROOT/np-spack
## Install the software, no garbage collection at this stage
## as this is a raw builder image
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment