Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scitas-software-stacks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
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
SCITAS
Software stack
scitas-software-stacks
Commits
e0da2a3b
Commit
e0da2a3b
authored
1 year ago
by
Nicolas Richart
Browse files
Options
Downloads
Patches
Plain Diff
Wrong folder for the config file
parent
571f445c
No related branches found
No related tags found
No related merge requests found
Pipeline
#179113
failed
1 year ago
Stage: environment
Stage: concretize
Stage: install
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-2
6 additions, 2 deletions
.gitlab-ci.yml
with
6 additions
and
2 deletions
.gitlab-ci.yml
+
6
−
2
View file @
e0da2a3b
...
@@ -54,6 +54,7 @@ spack:setup:
...
@@ -54,6 +54,7 @@ spack:setup:
cd /spack/spack
cd /spack/spack
git fetch
git fetch
git checkout $SPACK_VERSION
git checkout $SPACK_VERSION
cd -
fi
fi
-
/spack/spack/bin/spack -vv -d gpg trust $GPG_PRIVATE_KEY
-
/spack/spack/bin/spack -vv -d gpg trust $GPG_PRIVATE_KEY
...
@@ -64,12 +65,15 @@ spack:setup:
...
@@ -64,12 +65,15 @@ spack:setup:
EXTERNAL_REPOS=$(jq -r '.spack.repos | .[]' config.json)
EXTERNAL_REPOS=$(jq -r '.spack.repos | .[]' config.json)
for repo in ${EXTERNAL_REPOS}
for repo in ${EXTERNAL_REPOS}
do
do
repo_branch=$(jq -r ".spack.repos.${repo}.branch" config.json)
if [ ! -d /stack/extra_repos/${repo} ]; then
if [ ! -d /stack/extra_repos/${repo} ]; then
git clone -b $(jq -r ".spack.repos.${repos}.branch" config.json) $(jq -r ".spack.repos.${repos}.url" config.json) /stack/extra_repos/$repo
url_branch=$(jq -r ".spack.repos.${repo}.url" config.json)
git clone -b ${repo_branch} ${url_branch} /stack/extra_repos/$repo
else
else
cd /stack/extra_repos/$repo
cd /stack/extra_repos/$repo
git fetch
git fetch
git checkout $(jq -r ".spack.repos.${repos}.branch" config.json)
git checkout ${repo_branch} config.json)
cd -
fi
fi
done
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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