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
9e947238
Commit
9e947238
authored
2 years ago
by
Eleni Mathioulaki
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
627a0ca2
No related branches found
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
+7
-12
7 additions, 12 deletions
.gitlab-ci.yml
with
7 additions
and
12 deletions
.gitlab-ci.yml
+
7
−
12
View file @
9e947238
...
@@ -292,7 +292,8 @@ sync-gitlab-spack-instance:
...
@@ -292,7 +292,8 @@ sync-gitlab-spack-instance:
image
:
docker-registry.ebrains.eu/tc/ebrains-spack-build-env:gitlab_runners_nfs_latest
image
:
docker-registry.ebrains.eu/tc/ebrains-spack-build-env:gitlab_runners_nfs_latest
variables
:
variables
:
SPACK_NFS_ENV
:
ebrains-runner-build
SPACK_NFS_ENV
:
ebrains-runner-build
SPACK_PATH
:
/mnt/spack
SPACK_VERSION
:
v0.18.1
SPACK_PATH
:
/mnt/spack_v0.18.1
SPACK_USER_CACHE_PATH
:
$SPACK_PATH/.spack
SPACK_USER_CACHE_PATH
:
$SPACK_PATH/.spack
SPACK_USER_CONFIG_PATH
:
$SPACK_PATH/.spack
SPACK_USER_CONFIG_PATH
:
$SPACK_PATH/.spack
SPACK_REPO_PATH
:
$SPACK_PATH/ebrains-spack-builds
SPACK_REPO_PATH
:
$SPACK_PATH/ebrains-spack-builds
...
@@ -300,11 +301,7 @@ sync-gitlab-spack-instance:
...
@@ -300,11 +301,7 @@ sync-gitlab-spack-instance:
-
rm -rf /mnt/build_logs/
-
rm -rf /mnt/build_logs/
-
|
-
|
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
git clone -c feature.manyFiles=true https://github.com/spack/spack $SPACK_PATH
cd $SPACK_PATH
git checkout -b ebrains_spack_commit a8d440d3ababcdec20d665ad938ab880cd9b9d17
cd ../
cp $CI_PROJECT_DIR/packages.yaml $SPACK_PATH/etc/spack/packages.yaml
cp $CI_PROJECT_DIR/packages.yaml $SPACK_PATH/etc/spack/packages.yaml
fi
fi
-
. $SPACK_PATH/share/spack/setup-env.sh
-
. $SPACK_PATH/share/spack/setup-env.sh
...
@@ -329,9 +326,7 @@ sync-gitlab-spack-instance:
...
@@ -329,9 +326,7 @@ sync-gitlab-spack-instance:
-
spack reindex
-
spack reindex
-
spack env loads -r
-
spack env loads -r
timeout
:
2 days
timeout
:
2 days
only
:
rules
:
refs
:
-
if
:
$CI_COMMIT_BRANCH =~ /test-spack-0.18.1/'
-
schedules
when
:
manual
variables
:
allow_failure
:
false
-
$SYNC_BRANCH == "experimental"
allow_failure
:
false
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