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
9110ee9d
Commit
9110ee9d
authored
10 months ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
feat: remove redundant jug_xl step
parent
c30c61da
No related branches found
No related tags found
1 merge request
!914
feat: remove redundant jug_xl step
Pipeline
#93642
passed with warnings
10 months ago
Stage: status-pending
Stage: config
Stage: base
Stage: jug
Stage: deploy
Stage: benchmarks
Stage: finalize
Stage: status-report
Pipeline: detector_benchmarks
#93653
Pipeline: detector_benchmarks
#93652
Changes
2
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+12
-146
12 additions, 146 deletions
.gitlab-ci.yml
spack-environment/xl/spack.yaml
+0
-0
0 additions, 0 deletions
spack-environment/xl/spack.yaml
with
12 additions
and
146 deletions
.gitlab-ci.yml
+
12
−
146
View file @
9110ee9d
...
...
@@ -281,7 +281,7 @@ base:
done
jug_
dev
:
jug_
xl
:
parallel
:
matrix
:
-
BUILD_TYPE
:
...
...
@@ -292,8 +292,8 @@ jug_dev:
PLATFORM
:
linux/amd64
ENV
:
# - dbg
-
dev
# - prod
-
xl
# - BUILD_TYPE:
# - default
# - nightly
...
...
@@ -316,6 +316,11 @@ jug_dev:
-
version
-
base
script
:
-
|
PUSH_NIGHTLY_WITH_DATE=""
if [ "$CI_COMMIT_BRANCH" == "master" ]; then
PUSH_NIGHTLY_WITH_DATE="1"
fi
-
if [ "${BUILD_TYPE}" == "nightly" ] ; then IF_BUILD_NIGHTLY=1 ; fi
-
if [ "${BUILD_TYPE}" == "default" ] ; then IF_BUILD_DEFAULT=1 ; fi
-
apk add envsubst git
...
...
@@ -402,146 +407,6 @@ jug_dev:
fi
done
jug_xl:default
:
parallel
:
matrix
:
-
BASE_IMAGE
:
jug_dev
BUILD_IMAGE
:
jug_xl
PLATFORM
:
linux/amd64
# - BASE_IMAGE: jug_dev_oneapi
# BUILD_IMAGE: jug_xl_oneapi
# PLATFORM: linux/amd64
extends
:
.build
stage
:
jug
needs
:
-
version
-
job
:
jug_dev
parallel
:
matrix
:
-
BUILD_TYPE
:
-
default
BASE_IMAGE
:
debian_stable_base
BUILD_IMAGE
:
jug_
PLATFORM
:
linux/amd64
ENV
:
-
dev
script
:
-
apk add git
-
while !
docker buildx build --push ${BUILD_OPTIONS}
--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG}-default
${EXPORT_TAG:+
${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${EXPORT_TAG}}
${DH_PUSH:+--tag ${DH_REGISTRY}/${DH_REGISTRY_USER}/${BUILD_IMAGE}:${EXPORT_TAG}}
${GH_PUSH:+--tag ${GH_REGISTRY}/${GH_REGISTRY_USER}/${BUILD_IMAGE}:${EXPORT_TAG}}
}
${EXPORT_TAG:+
${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE/jug/eic}:${EXPORT_TAG}}
${DH_PUSH:+--tag ${DH_REGISTRY}/${DH_REGISTRY_USER}/${BUILD_IMAGE/jug/eic}:${EXPORT_TAG}}
${GH_PUSH:+--tag ${GH_REGISTRY}/${GH_REGISTRY_USER}/${BUILD_IMAGE/jug/eic}:${EXPORT_TAG}}
}
--file containers/jug/xl.Dockerfile
--platform ${PLATFORM}
--build-arg DOCKER_REGISTRY=${CI_REGISTRY}/${CI_PROJECT_PATH}/
--build-arg BASE_IMAGE=${BASE_IMAGE}
--build-arg INTERNAL_TAG=${INTERNAL_TAG}-default
--build-arg JUG_VERSION=${EXPORT_TAG}-$(git rev-parse HEAD)
--provenance
false
containers/jug
2>&1 | tee build.log
; do
if grep "unknown blob" build.log ; then
BUILD_OPTIONS="--no-cache ${BUILD_OPTIONS}" ;
else
exit 1 ;
fi
done
jug_xl:nightly
:
parallel
:
matrix
:
-
BASE_IMAGE
:
jug_dev
BUILD_IMAGE
:
jug_xl
PLATFORM
:
linux/amd64
# - BASE_IMAGE: jug_dev_oneapi
# BUILD_IMAGE: jug_xl_oneapi
# PLATFORM: linux/amd64
extends
:
.build
stage
:
jug
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
when
:
on_success
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
when
:
on_success
-
when
:
never
needs
:
-
version
-
job
:
jug_dev
parallel
:
matrix
:
-
BUILD_TYPE
:
-
nightly
BASE_IMAGE
:
debian_stable_base
BUILD_IMAGE
:
jug_
PLATFORM
:
linux/amd64
ENV
:
-
dev
script
:
-
|
PUSH_NIGHTLY_WITH_DATE=""
if [ "$CI_COMMIT_BRANCH" == "master" ]; then
PUSH_NIGHTLY_WITH_DATE="1"
fi
-
apk add git
-
while !
docker buildx build --push ${BUILD_OPTIONS}
--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG}-nightly
${EXPORT_TAG:+
${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${EXPORT_TAG}-nightly}
${DH_PUSH:+--tag ${DH_REGISTRY}/${DH_REGISTRY_USER}/${BUILD_IMAGE}:${EXPORT_TAG}-nightly}
${GH_PUSH:+--tag ${GH_REGISTRY}/${GH_REGISTRY_USER}/${BUILD_IMAGE}:${EXPORT_TAG}-nightly}
}
${NIGHTLY:+
${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${NIGHTLY_TAG}}
${DH_PUSH:+--tag ${DH_REGISTRY}/${DH_REGISTRY_USER}/${BUILD_IMAGE}:${NIGHTLY_TAG}}
${GH_PUSH:+--tag ${GH_REGISTRY}/${GH_REGISTRY_USER}/${BUILD_IMAGE}:${NIGHTLY_TAG}}
${PUSH_NIGHTLY_WITH_DATE:+
${DH_PUSH:+--tag ${DH_REGISTRY}/${DH_REGISTRY_USER}/${BUILD_IMAGE}:${NIGHTLY_TAG}-$(date +%Y-%m-%d)}
${GH_PUSH:+--tag ${GH_REGISTRY}/${GH_REGISTRY_USER}/${BUILD_IMAGE}:${NIGHTLY_TAG}-$(date +%Y-%m-%d)}
}
}
${EXPORT_TAG:+
${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE/jug/eic}:${EXPORT_TAG}-nightly}
${DH_PUSH:+--tag ${DH_REGISTRY}/${DH_REGISTRY_USER}/${BUILD_IMAGE/jug/eic}:${EXPORT_TAG}-nightly}
${GH_PUSH:+--tag ${GH_REGISTRY}/${GH_REGISTRY_USER}/${BUILD_IMAGE/jug/eic}:${EXPORT_TAG}-nightly}
}
${NIGHTLY:+
${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE/jug/eic}:${NIGHTLY_TAG}}
${DH_PUSH:+--tag ${DH_REGISTRY}/${DH_REGISTRY_USER}/${BUILD_IMAGE/jug/eic}:${NIGHTLY_TAG}}
${GH_PUSH:+--tag ${GH_REGISTRY}/${GH_REGISTRY_USER}/${BUILD_IMAGE/jug/eic}:${NIGHTLY_TAG}}
${PUSH_NIGHTLY_WITH_DATE:+
${DH_PUSH:+--tag ${DH_REGISTRY}/${DH_REGISTRY_USER}/${BUILD_IMAGE/jug/eic}:${NIGHTLY_TAG}-$(date +%Y-%m-%d)}
${GH_PUSH:+--tag ${GH_REGISTRY}/${GH_REGISTRY_USER}/${BUILD_IMAGE/jug/eic}:${NIGHTLY_TAG}-$(date +%Y-%m-%d)}
}
}
--file containers/jug/xl.Dockerfile
--platform ${PLATFORM}
--build-arg DOCKER_REGISTRY=${CI_REGISTRY}/${CI_PROJECT_PATH}/
--build-arg BASE_IMAGE=${BASE_IMAGE}
--build-arg INTERNAL_TAG=${INTERNAL_TAG}-nightly
--build-arg JUG_VERSION=${EXPORT_TAG}-nightly-$(git rev-parse HEAD)-$(date +%Y-%m-%d_%H-%M-%S)
--build-arg NIGHTLY=1
--provenance
false
containers/jug
2>&1 | tee build.log
; do
if grep "unknown blob" build.log ; then
BUILD_OPTIONS="--no-cache ${BUILD_OPTIONS}" ;
else
exit 1 ;
fi
done
.singularity
:
image
:
name
:
${SINGULARITY_IMAGE}
...
...
@@ -567,7 +432,7 @@ jug_xl:singularity:default:
BUILD_IMAGE
:
jug_xl
needs
:
-
version
-
jug_xl
:default
-
jug_xl
# eic-shell expects build/jug_xl.sif from the job with name 'jug_xl:singularity:nightly'
jug_xl:singularity:nightly
:
...
...
@@ -577,13 +442,14 @@ jug_xl:singularity:nightly:
BUILD_IMAGE
:
jug_xl
needs
:
-
version
-
jug_xl:nightly
-
jug_xl
benchmarks:detector:default
:
stage
:
benchmarks
needs
:
-
version
-
jug_xl
:default
-
jug_xl
variables
:
DETECTOR
:
"
epic"
DETECTOR_CONFIG
:
epic_craterlake
...
...
@@ -603,7 +469,7 @@ benchmarks:detector:nightly:
-
!reference
[
'
.nightly'
,
rules
]
needs
:
-
version
-
jug_xl
:nightly
-
jug_xl
variables
:
DETECTOR
:
"
epic"
DETECTOR_CONFIG
:
epic_craterlake
...
...
This diff is collapsed.
Click to expand it.
spack-environment/
dev
/spack.yaml
→
spack-environment/
xl
/spack.yaml
+
0
−
0
View file @
9110ee9d
File moved
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