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
cafd0bcd
Commit
cafd0bcd
authored
1 year ago
by
Nicolas Richart
Browse files
Options
Downloads
Patches
Plain Diff
Missing raw option for jq
parent
905d5a18
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#179106
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
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
4
−
4
View file @
cafd0bcd
...
...
@@ -45,7 +45,7 @@ spack:setup:
extends
:
-
.parallel_job
script
:
-
SPACK_VERSION=$(jq .spack.version config.json)
-
SPACK_VERSION=$(jq
-r
.spack.version config.json)
-
|
if [ ! -d /spack/spack ]; then
...
...
@@ -61,15 +61,15 @@ spack:setup:
-
|
mkdir -p /stack/extra_repos/
EXTERNAL_REPOS=$(jq '.spack.repos | .[]' config.json)
EXTERNAL_REPOS=$(jq
-r
'.spack.repos | .[]' config.json)
for repo in ${EXTERNAL_REPOS}
do
if [ ! -d /stack/extra_repos/${repo} ]; then
git clone -b $(jq ".spack.repos.${repos}.branch" config.json) $(jq ".spack.repos.${repos}.url" config.json) /stack/extra_repos/$repo
git clone -b $(jq
-r
".spack.repos.${repos}.branch" config.json) $(jq
-r
".spack.repos.${repos}.url" config.json) /stack/extra_repos/$repo
else
cd /stack/extra_repos/$repo
git fetch
git checkout $(jq ".spack.repos.${repos}.branch" config.json)
git checkout $(jq
-r
".spack.repos.${repos}.branch" config.json)
fi
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