Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
detector_benchmarks_runner
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
detector_benchmarks_runner
Commits
8acd4be3
Commit
8acd4be3
authored
Mar 22, 2023
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
more testing
parent
03605542
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#53924
failed
Mar 22, 2023
Stage: config
Stage: initialize
Stage: running
Pipeline: detector_benchmarks_runner
#53925
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-39
18 additions, 39 deletions
.gitlab-ci.yml
with
18 additions
and
39 deletions
.gitlab-ci.yml
+
18
−
39
View file @
8acd4be3
...
...
@@ -21,48 +21,17 @@ stages:
common:setup
:
stage
:
config
before_script
:
-
|
git clone -b "${COMMON_BENCH_VERSION:-master}" https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup
script
:
-
|
if [[ "x${CI_PIPELINE_SOURCE}" == "xmerge_request_event" || "$CI_COMMIT_BRANCH" == "main" ]]; then
echo "DETECTOR = ${DETECTOR}"
echo "DETECTOR_CONFIG = ${DETECTOR_CONFIG}"
echo "DETECTOR_VERSION = ${DETECTOR_VERSION}"
echo "DETECTOR_REPOSITORYURL = ${DETECTOR_REPOSITORYURL}"
echo "DETECTOR=$DETECTOR" >> juggler.env
echo "DETECTOR_CONFIG=$DETECTOR_CONFIG" >> juggler.env
echo "DETECTOR_VERSION=$DETECTOR_VERSION" >> juggler.env
echo "DETECTOR_REPOSITORYURL=$DETECTOR_REPOSITORYURL" >> juggler.env
echo "DETECTOR_DEPLOY_TOKEN_USERNAME=${DEPLOY_TOKEN_USERNAME}" >> juggler.env
echo "DETECTOR_DEPLOY_TOKEN_PASSWORD=${DEPLOY_TOKEN_PASSWORD}" >> juggler.env
echo "COMMON_BENCH_VERSION=$COMMON_BENCH_VERSION" >> juggler.env
else
if [[ "${DETECTOR}" == "" ]] ; then
export DETECTOR="epic"
fi
if [[ "${DETECTOR_CONFIG}" == "" ]] ; then
export DETECTOR_CONFIG="${DETECTOR}"
fi
if [[ "${DETECTOR_VERSION}" == "" ]] ; then
export DETECTOR_VERSION="main"
fi
if [[ "${DETECTOR_REPOSITORYURL}" == "" ]] ; then
export DETECTOR_REPOSITORYURL="https://github.com/eic/${DETECTOR}"
fi
echo "DETECTOR = ${DETECTOR}"
echo "DETECTOR_CONFIG = ${DETECTOR_CONFIG}"
echo "DETECTOR_VERSION = ${DETECTOR_VERSION}"
echo "DETECTOR_REPOSITORYURL = ${DETECTOR_REPOSITORYURL}"
echo "DETECTOR=$DETECTOR" >> juggler.env
echo "DETECTOR_CONFIG=$DETECTOR_CONFIG" >> juggler.env
echo "DETECTOR_VERSION=$DETECTOR_VERSION" >> juggler.env
echo "DETECTOR_REPOSITORYURL=$DETECTOR_REPOSITORYURL" >> juggler.env
echo "COMMON_BENCH_VERSION=$COMMON_BENCH_VERSION" >> juggler.env
fi
-
git clone https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup
-
source setup/bin/env.sh && ./setup/bin/install_common.sh
common:detector
:
stage
:
initialize
needs
:
[
"
common:setup"
]
script
:
-
source .local/bin/env.sh && build_detector.sh
-
find .local/
common:benchmarks
:
stage
:
initialize
needs
:
[
"
common:setup"
]
...
...
@@ -70,6 +39,16 @@ common:benchmarks:
-
git clone ${GITHUB_REPOSITORY} benchmarks
-
git -C benchmarks checkout ${GITHUB_REF}
.det_benchmark
:
image
:
eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
needs
:
[
"
common:setup"
]
before_script
:
-
source .local/bin/env.sh
retry
:
max
:
2
when
:
-
runner_system_failure
benchmarks:running
:
stage
:
running
needs
:
[
"
common:benchmarks"
]
...
...
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