Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Commits
0f61f5f3
Commit
0f61f5f3
authored
2 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
fix mirror-name command
parent
89a7a975
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
containers/jug/dev.Dockerfile
+4
-4
4 additions, 4 deletions
containers/jug/dev.Dockerfile
with
4 additions
and
4 deletions
containers/jug/dev.Dockerfile
+
4
−
4
View file @
0f61f5f3
...
...
@@ -139,14 +139,14 @@ RUN --mount=type=cache,target=/var/cache/spack-mirror \
ARG
S3RW_ACCESS_KEY=""
ARG
S3RW_SECRET_KEY=""
RUN
cd
/opt/spack-environment
\
&&
if
[
-n
${
S3RW_ACCESS_KEY
}
]
;
then
\
&&
if
[
-n
"
${
S3RW_ACCESS_KEY
}
"
]
;
then
\
spack mirror add
--scope
site
\
--s3-endpoint-url
https://eics3.sdcc.bnl.gov:9000
\
--s3-access-key-id
${
S3RW_ACCESS_KEY
}
\
--s3-access-key-secret
${
S3RW_SECRET_KEY
}
\
--s3-access-key-id
"
${
S3RW_ACCESS_KEY
}
"
\
--s3-access-key-secret
"
${
S3RW_SECRET_KEY
}
"
\
eic-spack s3://eictest/EPIC/spack
\
&&
spack mirror list
\
&&
spack buildcache update-index
-mirror-name
eic-spack
\
&&
spack buildcache update-index
-
-mirror-name
eic-spack
\
&&
spack buildcache list
--allarch
--very-long
\
|
sed
'/^$/d;/^--/d;s/@.\+//;s/\([a-z0-9]*\) \(.*\)/\2\/\1/'
\
|
sort
>
buildcache.eic-spack.txt
\
...
...
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