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
7f4e3463
Commit
7f4e3463
authored
1 year ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
feat: set named build-context to spack-environment
parent
83360e89
No related branches found
No related tags found
1 merge request
!619
feat: set named build-context to spack-environment
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
containers/jug/dev.Dockerfile
+1
-1
1 addition, 1 deletion
containers/jug/dev.Dockerfile
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
1
−
1
View file @
7f4e3463
...
@@ -258,7 +258,7 @@ jug_dev:default:
...
@@ -258,7 +258,7 @@ jug_dev:default:
--build-arg S3_SECRET_KEY=${S3_SECRET_KEY}
--build-arg S3_SECRET_KEY=${S3_SECRET_KEY}
--build-arg JUG_VERSION=${INTERNAL_TAG}-$(git rev-parse HEAD)
--build-arg JUG_VERSION=${INTERNAL_TAG}-$(git rev-parse HEAD)
--build-arg jobs=${JOBS}
--build-arg jobs=${JOBS}
--build-context spack
=.
--build-context spack
-environment=spack-environment
--secret id=mirrors,src=mirrors.yaml
--secret id=mirrors,src=mirrors.yaml
containers/jug
containers/jug
; done
; done
...
...
This diff is collapsed.
Click to expand it.
containers/jug/dev.Dockerfile
+
1
−
1
View file @
7f4e3463
...
@@ -101,7 +101,7 @@ RUN git clone https://github.com/${EICSPACK_ORGREPO}.git ${EICSPACK_ROOT} \
...
@@ -101,7 +101,7 @@ RUN git clone https://github.com/${EICSPACK_ORGREPO}.git ${EICSPACK_ROOT} \
&&
spack repo add
--scope
site
"
${
EICSPACK_ROOT
}
"
&&
spack repo add
--scope
site
"
${
EICSPACK_ROOT
}
"
## Setup our custom environment (secret mount for write-enabled mirror)
## Setup our custom environment (secret mount for write-enabled mirror)
COPY
--from=spack
spack
-environment
/
/opt/spack-environment/
COPY
--from=spack-environment
.
/opt/spack-environment/
ARG
ENV=dev
ARG
ENV=dev
ENV
SPACK_ENV=/opt/spack-environment/${ENV}
ENV
SPACK_ENV=/opt/spack-environment/${ENV}
RUN
--mount
=
type
=
cache,target
=
/ccache,id
=
${
TARGETPLATFORM
}
\
RUN
--mount
=
type
=
cache,target
=
/ccache,id
=
${
TARGETPLATFORM
}
\
...
...
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