Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
30
Issue boards
Milestones
Wiki
Code
Merge requests
30
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
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
ebrains-spack-builds
Commits
e02ab45d
Commit
e02ab45d
authored
1 year ago
by
Eleni Mathioulaki
Browse files
Options
Downloads
Patches
Plain Diff
make sure spack env name doesn't contain .
parent
72b28a56
No related branches found
Branches containing commit
No related tags found
1 merge request
!461
create new experimental release
Pipeline
#26102
passed with stage
in 36 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
e02ab45d
...
@@ -200,9 +200,9 @@ sync-gitlab-spack-instance:
...
@@ -200,9 +200,9 @@ sync-gitlab-spack-instance:
-
read-write
-
read-write
image
:
$GITLAB_BUILD_ENV_DOCKER_IMAGE
image
:
$GITLAB_BUILD_ENV_DOCKER_IMAGE
variables
:
variables
:
SPACK_NFS_ENV
:
$CI_COMMIT_BRANCH
SPACK_REPO_PATH
:
$SPACK_PATH_GITLAB/ebrains-spack-builds
SPACK_REPO_PATH
:
$SPACK_PATH_GITLAB/ebrains-spack-builds
script
:
script
:
-
SPACK_NFS_ENV=${CI_COMMIT_BRANCH//./-}
# get latest state of EBRAINS repo
# get latest state of EBRAINS repo
-
rm -rf $SPACK_REPO_PATH && cp -r $CI_PROJECT_DIR $SPACK_REPO_PATH
-
rm -rf $SPACK_REPO_PATH && cp -r $CI_PROJECT_DIR $SPACK_REPO_PATH
# run installation script
# run installation script
...
@@ -233,11 +233,11 @@ test-gitlab-spack-instance:
...
@@ -233,11 +233,11 @@ test-gitlab-spack-instance:
-
read-write
-
read-write
image
:
$GITLAB_BUILD_ENV_DOCKER_IMAGE
image
:
$GITLAB_BUILD_ENV_DOCKER_IMAGE
variables
:
variables
:
SPACK_NFS_ENV
:
$CI_COMMIT_BRANCH
SPACK_REPO_PATH
:
$SPACK_PATH_GITLAB/ebrains-spack-builds
SPACK_REPO_PATH
:
$SPACK_PATH_GITLAB/ebrains-spack-builds
SPACK_USER_CACHE_PATH
:
$SPACK_PATH_GITLAB/spack/.spack
SPACK_USER_CACHE_PATH
:
$SPACK_PATH_GITLAB/spack/.spack
SPACK_USER_CONFIG_PATH
:
$SPACK_PATH_GITLAB/spack/.spack
SPACK_USER_CONFIG_PATH
:
$SPACK_PATH_GITLAB/spack/.spack
script
:
script
:
-
SPACK_NFS_ENV=${CI_COMMIT_BRANCH//./-}
-
source $SPACK_PATH_GITLAB/spack/share/spack/setup-env.sh
-
source $SPACK_PATH_GITLAB/spack/share/spack/setup-env.sh
-
spack env activate $SPACK_NFS_ENV
-
spack env activate $SPACK_NFS_ENV
# TODO: run all tests when test dependency issue is fixed
# TODO: run all tests when test dependency issue is fixed
...
...
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