Skip to content
Snippets Groups Projects
Commit d344dad5 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

feat: rm feature container image

parent 4269cc1a
No related branches found
No related tags found
1 merge request!686feat: rm feature container image
...@@ -382,41 +382,6 @@ jug_xl:nightly: ...@@ -382,41 +382,6 @@ jug_xl:nightly:
--build-context detectors=. --build-context detectors=.
containers/jug containers/jug
jug_xl:feature:
extends: .build
stage: jug
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
- when: never
needs:
- version
- jug_xl:nightly
variables:
BUILD_IMAGE: "jug_xl"
parallel:
matrix:
- DETECTOR: epic
DETECTOR_BRANCH:
- main
script:
- docker buildx build --load ${BUILD_OPTIONS}
--tag ${CI_REGISTRY_IMAGE}/${BUILD_IMAGE}:${INTERNAL_TAG}-${DETECTOR}-${DETECTOR_BRANCH}
--file containers/jug/feature.Dockerfile
--build-arg INTERNAL_TAG=${NIGHTLY_TAG}
--build-arg DETECTOR=${DETECTOR}
--build-arg DETECTOR_BRANCH=${DETECTOR_BRANCH}
containers/jug
- |
PUSH_FLAG=""
if [ "$CI_PIPELINE_SOURCE" == "merge_request_event" ]; then
PUSH_FLAG="--eicweb"
fi
FEATURE_EXPORT_TAG="${VERSION}-${DETECTOR}-${DETECTOR_BRANCH}-stable"
- ./gitlab-ci/docker_push.sh -i ${BUILD_IMAGE} -l ${INTERNAL_TAG}-${DETECTOR}-${DETECTOR_BRANCH}
-n ${DOCKER_NTRIES} -t ${DOCKER_WAIT_TIME}
${FEATURE_EXPORT_TAG} ${PUSH_FLAG}
.singularity: .singularity:
stage: deploy stage: deploy
interruptible: true interruptible: true
......
#syntax=docker/dockerfile:1.2
ARG DOCKER_REGISTRY="eicweb.phy.anl.gov:4567/containers/eic_container/"
ARG INTERNAL_TAG="testing"
## Make a specific "feature" image, identical to jug_xl except for the detector
## symlinked as default in /opt/detector. Not that these images will be removed
## in the future once we move the detectors already installed in the main
## image.
FROM ${DOCKER_REGISTRY}jug_xl:${INTERNAL_TAG}
## also install detector/ip geometries into opt
ARG DETECTOR=athena
ARG DETECTOR_BRANCH=canyonlands
RUN rm -rf /opt/detector/{setup.sh,lib,share} \
&& ln -sf /opt/detector/${DETECTOR}-${DETECTOR_BRANCH}/setup.sh \
/opt/detector/setup.sh \
&& ln -sf /opt/detector/${DETECTOR}-${DETECTOR_BRANCH}/lib \
/opt/detector/lib \
&& ln -sf /opt/detector/${DETECTOR}-${DETECTOR_BRANCH}/share \
/opt/detector/share
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment