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
!796
feat: py-onnx-1.15.0
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: py-onnx-1.15.0
py-onnx-1.13.1
into
master
Overview
0
Commits
6
Pipelines
0
Changes
4
Merged
Wouter Deconinck
requested to merge
py-onnx-1.13.1
into
master
1 year ago
Overview
0
Commits
6
Pipelines
0
Changes
6
Expand
Split off from
!789 (closed)
.
0
0
Merge request reports
Compare
version 10
version 21
b132d1c8
1 year ago
version 20
b0a4b6b9
1 year ago
version 19
8504f4a2
1 year ago
version 18
be73cf71
1 year ago
version 17
128fc2af
1 year ago
version 16
88c9dba1
1 year ago
version 15
0e76fe91
1 year ago
version 14
1394174e
1 year ago
version 13
b84ee601
1 year ago
version 12
d29910d1
1 year ago
version 11
0d421cdf
1 year ago
version 10
aac3c845
1 year ago
version 9
af9d602c
1 year ago
version 8
29d40939
1 year ago
version 7
5abe8621
1 year ago
version 6
9ffb4226
1 year ago
version 5
8131d381
1 year ago
version 4
4e86d7c6
1 year ago
version 3
333fe5d6
1 year ago
version 2
4a11d898
1 year ago
version 1
faa876d4
1 year ago
master (base)
and
version 11
latest version
8e9ec58c
6 commits,
1 year ago
version 21
b132d1c8
6 commits,
1 year ago
version 20
b0a4b6b9
6 commits,
1 year ago
version 19
8504f4a2
14 commits,
1 year ago
version 18
be73cf71
13 commits,
1 year ago
version 17
128fc2af
12 commits,
1 year ago
version 16
88c9dba1
11 commits,
1 year ago
version 15
0e76fe91
10 commits,
1 year ago
version 14
1394174e
9 commits,
1 year ago
version 13
b84ee601
8 commits,
1 year ago
version 12
d29910d1
7 commits,
1 year ago
version 11
0d421cdf
6 commits,
1 year ago
version 10
aac3c845
6 commits,
1 year ago
version 9
af9d602c
6 commits,
1 year ago
version 8
29d40939
5 commits,
1 year ago
version 7
5abe8621
4 commits,
1 year ago
version 6
9ffb4226
3 commits,
1 year ago
version 5
8131d381
3 commits,
1 year ago
version 4
4e86d7c6
3 commits,
1 year ago
version 3
333fe5d6
2 commits,
1 year ago
version 2
4a11d898
1 commit,
1 year ago
version 1
faa876d4
1 commit,
1 year ago
Show latest version
6 files
+
57
−
16
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
containers/jug/dev.Dockerfile
+
38
−
9
Options
@@ -123,13 +123,9 @@ EOF
## ========================================================================================
FROM
spack
as
builder
## Setup our
custom
environment (secret mount for write-enabled mirror)
##
1.
Setup our
default
environment (secret mount for write-enabled mirror)
COPY
--from=spack-environment . /opt/spack-environment/
ARG
ENV=dev
ARG
JUGGLER_VERSION="main"
ADD
https://api.github.com/repos/eic/juggler/commits/${JUGGLER_VERSION} /tmp/juggler.json
ARG
EICRECON_VERSION="main"
ADD
https://api.github.com/repos/eic/eicrecon/commits/${EICRECON_VERSION} /tmp/eicrecon.json
ENV
SPACK_ENV=/opt/spack-environment/${ENV}
RUN
--mount
=
type
=
cache,target
=
/ccache,id
=
${
TARGETPLATFORM
}
\
--mount
=
type
=
cache,target
=
/var/cache/spack
\
@@ -137,14 +133,47 @@ RUN --mount=type=cache,target=/ccache,id=${TARGETPLATFORM} \
<<
EOF
set -e
export CCACHE_DIR=/ccache
source ${SPACK_ROOT}/share/spack/setup-env.sh
mkdir -p /var/cache/spack/blobs/sha256/
find /var/cache/spack/blobs/sha256/ -atime +7 -delete
JUGGLER_VERSION=$(jq -r .sha /tmp/juggler.json)
EICRECON_VERSION=$(jq -r .sha /tmp/eicrecon.json)
spack buildcache update-index eics3rw
spack env activate --dir ${SPACK_ENV}
spack add juggler@git.${JUGGLER_VERSION}
spack add eicrecon@git.${EICRECON_VERSION}
spack concretize --fresh --force --quiet
make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
SPACK_ENV=${SPACK_ENV} \
BUILDCACHE_OCI_PROMPT="eicweb" \
BUILDCACHE_OCI_FINAL="ghcr" \
BUILDCACHE_S3_FINAL="eics3rw"
ccache --show-stats
ccache --zero-stats
EOF
## 2. Setup our environment with custom versions (on top of cached layer)
## Note: these default versions are just the very first commit.
ARG
JUGGLER_VERSION="df87bf1f8643afa8e80bece9d36d6dc26dfe8132"
ARG
EICRECON_VERSION="28108da4a1e8919a05dfdb5f11e114800a2cbe96"
ADD
https://api.github.com/repos/eic/juggler/commits/${JUGGLER_VERSION} /tmp/juggler.json
ADD
https://api.github.com/repos/eic/eicrecon/commits/${EICRECON_VERSION} /tmp/eicrecon.json
RUN
--mount
=
type
=
cache,target
=
/ccache,id
=
${
TARGETPLATFORM
}
\
--mount
=
type
=
cache,target
=
/var/cache/spack
\
--mount
=
type
=
secret,id
=
mirrors,target
=
/opt/spack/etc/spack/mirrors.yaml
\
<<
EOF
source ${SPACK_ROOT}/share/spack/setup-env.sh
export CCACHE_DIR=/ccache
spack buildcache update-index eics3rw
spack env activate --dir ${SPACK_ENV}
if [ "${JUGGLER_VERSION}" != "df87bf1f8643afa8e80bece9d36d6dc26dfe8132" ] ; then
export JUGGLER_VERSION=$(jq -r .sha /tmp/juggler.json)
spack config add "packages:juggler::require:['@git.${JUGGLER_VERSION}=main']"
spack deconcretize -y juggler
fi
if [ "${EICRECON_VERSION}" != "28108da4a1e8919a05dfdb5f11e114800a2cbe96" ] ; then
export EICRECON_VERSION=$(jq -r .sha /tmp/eicrecon.json)
spack config add "packages:eicrecon::require:['@git.${EICRECON_VERSION}=main']"
spack deconcretize -y eicrecon
fi
cat ${SPACK_ENV}/spack.yaml
cat ${SPACK_ENV}/../packages.yaml
spack concretize --fresh --force --quiet
make --jobs ${jobs} --keep-going --directory /opt/spack-environment \
SPACK_ENV=${SPACK_ENV} \
Loading