Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Klaus Noelp
ebrains-spack-builds
Commits
35706a7b
Commit
35706a7b
authored
2 years ago
by
Eleni Mathioulaki
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
c3b27b6d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-1
4 additions, 1 deletion
.gitlab-ci.yml
with
4 additions
and
1 deletion
.gitlab-ci.yml
+
4
−
1
View file @
35706a7b
...
...
@@ -298,6 +298,7 @@ sync-gitlab-spack-instance:
SPACK_PATH
:
/mnt/spack
SPACK_USER_CACHE_PATH
:
$SPACK_PATH/.spack
SPACK_USER_CONFIG_PATH
:
$SPACK_PATH/.spack
SPACK_REPO_PATH
:
$SPACK_PATH/ebrains-spack-builds
script
:
-
rm -rf /mnt/build_logs/
-
|
...
...
@@ -324,7 +325,8 @@ sync-gitlab-spack-instance:
-
spack compiler list
-
spack install python@3.8.11 %gcc@10.3.0 || (cp -r /tmp/spack/spack-stage /mnt/build_logs; exit 1)
# - for section in $(spack config list); do spack config blame $section; done
-
spack repo list | grep -q ebrains-spack-builds && echo "Repository registered already" || spack repo add $CI_PROJECT_DIR
-
mkdir -p $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
-
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 activate $SPACK_NFS_ENV
...
...
@@ -333,6 +335,7 @@ sync-gitlab-spack-instance:
-
spack install --no-check-signature || (cp -r /tmp/spack/spack-stage /mnt/build_logs; exit 1)
-
spack module tcl refresh -y
-
spack reindex
-
spack env loads -r
timeout
:
2 days
only
:
refs
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment