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
Merge requests
!436
feat: push build cache to eic-spack mirror on eics3
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: push build cache to eic-spack mirror on eics3
build-cache-eics3
into
master
Overview
0
Commits
26
Pipelines
0
Changes
1
Merged
Wouter Deconinck
requested to merge
build-cache-eics3
into
master
2 years ago
Overview
0
Commits
26
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
0f61f5f3
Show latest version
1 file
+
4
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
0f61f5f3
fix mirror-name command
· 0f61f5f3
Wouter Deconinck
authored
2 years ago
containers/jug/dev.Dockerfile
+
4
−
4
Options
@@ -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
\
Loading