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

Merge branch 'master' into 'test-spacktests-workaround'

update branch

See merge request technical-coordination/project-internal/devops/platform/ebrains-spack-builds!255
parents 2f206110 7cb9d2c5
No related branches found
No related tags found
No related merge requests found
...@@ -226,8 +226,8 @@ sync-gitlab-spack-instance: ...@@ -226,8 +226,8 @@ sync-gitlab-spack-instance:
- | - |
if [ ! -d $SPACK_PATH ]; then if [ ! -d $SPACK_PATH ]; then
git clone --depth 1 -c advice.detachedHead=false -c feature.manyFiles=true --branch $SPACK_VERSION https://github.com/spack/spack $SPACK_PATH git clone --depth 1 -c advice.detachedHead=false -c feature.manyFiles=true --branch $SPACK_VERSION https://github.com/spack/spack $SPACK_PATH
cp $CI_PROJECT_DIR/packages.yaml $SPACK_PATH/etc/spack/packages.yaml
fi fi
- cp $CI_PROJECT_DIR/packages.yaml $SPACK_PATH/etc/spack/packages.yaml
- . $SPACK_PATH/share/spack/setup-env.sh - . $SPACK_PATH/share/spack/setup-env.sh
# - spack bootstrap untrust github-actions # - spack bootstrap untrust github-actions
- spack compiler find - spack compiler find
...@@ -238,7 +238,7 @@ sync-gitlab-spack-instance: ...@@ -238,7 +238,7 @@ sync-gitlab-spack-instance:
- spack compiler list - spack compiler list
- spack install --keep-stage python@3.8.11 %gcc@10.3.0 - spack install --keep-stage python@3.8.11 %gcc@10.3.0
# - for section in $(spack config list); do spack config blame $section; done # - for section in $(spack config list); do spack config blame $section; done
- mkdir -p $SPACK_REPO_PATH && cp -r -t $SPACK_REPO_PATH $CI_PROJECT_DIR/{packages,repo.yaml} - rm -rf $SPACK_REPO_PATH && mkdir $SPACK_REPO_PATH && cp -r -t $SPACK_REPO_PATH $CI_PROJECT_DIR/{packages,repo.yaml}
- spack repo list | grep -q ebrains-spack-builds && echo "Repository registered already" || spack repo add $SPACK_REPO_PATH - spack repo list | grep -q ebrains-spack-builds && echo "Repository registered already" || spack repo add $SPACK_REPO_PATH
- spack repo list - spack repo list
- spack env list | grep -q $SPACK_NFS_ENV && echo "Environment created already" || spack env create $SPACK_NFS_ENV $CI_PROJECT_DIR/spack.yaml - spack env list | grep -q $SPACK_NFS_ENV && echo "Environment created already" || spack env create $SPACK_NFS_ENV $CI_PROJECT_DIR/spack.yaml
......
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