Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
27
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
11ae4531
Commit
11ae4531
authored
1 month ago
by
Eleni Mathioulaki
Browse files
Options
Downloads
Patches
Plain Diff
fix(CI): find correct upstream prefix when it's padded
parent
bc599e63
No related branches found
No related tags found
No related merge requests found
Pipeline
#59511
waiting for manual action with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install_spack_env.sh
+3
-1
3 additions, 1 deletion
install_spack_env.sh
with
3 additions
and
1 deletion
install_spack_env.sh
+
3
−
1
View file @
11ae4531
...
...
@@ -48,10 +48,12 @@ fi
if
[[
$UPSTREAM_INSTANCE
]]
then
UPSTREAM_PREFIX
=
$(
find
$UPSTREAM_INSTANCE
/spack/opt/spack/
-type
d
-name
".spack-db"
2>/dev/null | xargs
-I
{}
dirname
{}
)
echo
$UPSTREAM_PREFIX
cat
<<
EOF
>
${
CI_SPACK_ROOT
}
/etc/spack/defaults/upstreams.yaml
upstreams:
upstream-spack-instance:
install_tree:
$UPSTREAM_
INSTANCE
/spack/opt/spack
install_tree:
$UPSTREAM_
PREFIX
EOF
fi
...
...
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