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
7dff9174
Commit
7dff9174
authored
2 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
feat: pull github api commit summary to spoil cached layers
parent
abb83507
No related branches found
No related tags found
1 merge request
!364
feat: pull github api commit summary to spoil cached layers
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
+2
-0
2 additions, 0 deletions
containers/jug/dev.Dockerfile
with
3 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
7dff9174
...
@@ -17,7 +17,7 @@ variables:
...
@@ -17,7 +17,7 @@ variables:
## 8bdc5065792c185be9934ab0c2a5b087b8845bd1: emacs: Add option to install version 28.1
## 8bdc5065792c185be9934ab0c2a5b087b8845bd1: emacs: Add option to install version 28.1
## Spack github version, e.g. v0.18 branch, v0.18.1 tag, or commit hash
## Spack github version, e.g. v0.18 branch, v0.18.1 tag, or commit hash
EICSPACK_VERSION
:
"
v0.18
.15
"
EICSPACK_VERSION
:
"
v0.18"
## Space-separated list of eic-spack cherry-picks
## Space-separated list of eic-spack cherry-picks
EICSPACK_CHERRYPICKS
:
"
"
EICSPACK_CHERRYPICKS
:
"
"
...
...
This diff is collapsed.
Click to expand it.
containers/jug/dev.Dockerfile
+
2
−
0
View file @
7dff9174
...
@@ -24,6 +24,7 @@ RUN --mount=type=cache,target=/var/cache/apt \
...
@@ -24,6 +24,7 @@ RUN --mount=type=cache,target=/var/cache/apt \
ENV
SPACK_ROOT=/opt/spack
ENV
SPACK_ROOT=/opt/spack
ARG
SPACK_VERSION="develop"
ARG
SPACK_VERSION="develop"
ARG
SPACK_CHERRYPICKS=""
ARG
SPACK_CHERRYPICKS=""
ADD
https://api.github.com/repos/spack/spack/commits/$SPACK_VERSION /tmp/spack.json
RUN
echo
"Part 1: regular spack install (as in containerize)"
\
RUN
echo
"Part 1: regular spack install (as in containerize)"
\
&&
git clone https://github.com/spack/spack.git /tmp/spack-staging
\
&&
git clone https://github.com/spack/spack.git /tmp/spack-staging
\
&&
cd
/tmp/spack-staging
\
&&
cd
/tmp/spack-staging
\
...
@@ -81,6 +82,7 @@ ARG CACHE_NUKE=""
...
@@ -81,6 +82,7 @@ ARG CACHE_NUKE=""
## Setup our custom package overrides
## Setup our custom package overrides
ENV
EICSPACK_ROOT=$SPACK_ROOT/var/spack/repos/eic-spack
ENV
EICSPACK_ROOT=$SPACK_ROOT/var/spack/repos/eic-spack
ARG
EICSPACK_VERSION="$SPACK_VERSION"
ARG
EICSPACK_VERSION="$SPACK_VERSION"
ADD
https://api.github.com/repos/eic/eic-spack/commits/$EICSPACK_VERSION /tmp/eic-spack.json
RUN
git clone https://github.com/eic/eic-spack.git
${
EICSPACK_ROOT
}
\
RUN
git clone https://github.com/eic/eic-spack.git
${
EICSPACK_ROOT
}
\
&&
git
-C
${
EICSPACK_ROOT
}
checkout
${
EICSPACK_VERSION
}
\
&&
git
-C
${
EICSPACK_ROOT
}
checkout
${
EICSPACK_VERSION
}
\
&&
if
[
-n
"
${
EICSPACK_CHERRYPICKS
}
"
]
;
then
\
&&
if
[
-n
"
${
EICSPACK_CHERRYPICKS
}
"
]
;
then
\
...
...
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