Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
detector_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
21
Issue boards
Milestones
Wiki
Code
Merge requests
7
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
detector_benchmarks
Commits
2c56cac4
Commit
2c56cac4
authored
3 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
Trigger reconstruction and physics benchmarks
parent
56a992ad
No related branches found
No related tags found
1 merge request
!32
Trigger reconstruction and physics benchmarks
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+43
-4
43 additions, 4 deletions
.gitlab-ci.yml
benchmarks/barrel_ecal/run_emcal_barrel_particles.sh
+0
-1
0 additions, 1 deletion
benchmarks/barrel_ecal/run_emcal_barrel_particles.sh
with
43 additions
and
5 deletions
.gitlab-ci.yml
+
43
−
4
View file @
2c56cac4
image
:
eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
workflow
:
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"web"'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"webide"'
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
-
if
:
'
$CI_COMMIT_TAG'
default
:
artifacts
:
expire_in
:
72 hours
...
...
@@ -11,6 +19,9 @@ default:
-
.local/share
-
results
-
config
-
juggler.env
reports
:
dotenv
:
juggler.env
stages
:
-
config
...
...
@@ -20,20 +31,30 @@ stages:
-
benchmarks
-
collect
-
deploy
-
trigger
common:setup
:
stage
:
config
script
:
before_
script
:
-
git clone https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup
script
:
-
|
if [[ "x${CI_PIPELINE_SOURCE}" == "xmerge_request_event" || "$CI_COMMIT_BRANCH" == "master" ]]; then
export JUGGLER_DETECTOR_VERSION="${CI_COMMIT_REF_NAME}"
echo "JUGGLER_DETECTOR = ${JUGGLER_DETECTOR}"
echo "JUGGLER_DETECTOR_VERSION = ${CI_COMMIT_REF_NAME}"
echo "JUGGLER_DETECTOR_VERSION=$CI_COMMIT_REF_NAME" >> juggler.env
echo "JUGGLER_DETECTOR=$JUGGLER_DETECTOR" >> juggler.env
fi
-
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
-
mkdir -p /scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}
-
mkdir -p /scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}/sim_output
-
mkdir_local_data_link sim_output
-
mkdir -p results
-
mkdir -p config
-
print_env.sh
...
...
@@ -58,7 +79,6 @@ get_data:
-
ln -s "${LOCAL_DATA_PATH}/datasets/data" data
-
ls -lrtha
include
:
-
local
:
'
benchmarks/barrel_ecal/config.yml'
-
local
:
'
benchmarks/roman_pots/config.yml'
...
...
@@ -73,6 +93,25 @@ deploy_results:
script
:
-
echo "deploy results!"
benchmarks:reconstruction
:
stage
:
trigger
variables
:
JUGGLER_DETECTOR
:
"
$JUGGLER_DETECTOR"
JUGGLER_DETECTOR_VERSION
:
"
$JUGGLER_DETECTOR_VERSION"
trigger
:
project
:
EIC/benchmarks/reconstruction_benchmarks
strategy
:
depend
needs
:
[
"
deploy_results"
]
benchmarks:physics
:
stage
:
trigger
variables
:
JUGGLER_DETECTOR
:
"
$JUGGLER_DETECTOR"
JUGGLER_DETECTOR_VERSION
:
"
$JUGGLER_DETECTOR_VERSION"
trigger
:
project
:
EIC/benchmarks/physics_benchmarks
strategy
:
depend
needs
:
[
"
deploy_results"
]
pages
:
stage
:
deploy
...
...
This diff is collapsed.
Click to expand it.
benchmarks/barrel_ecal/run_emcal_barrel_particles.sh
+
0
−
1
View file @
2c56cac4
...
...
@@ -45,7 +45,6 @@ fi
ls
-ltRhL
Run geant4 simulations
npsim
--runType
batch
\
-v
WARNING
\
--part
.minimalKineticEnergy 0.5
*
GeV
\
...
...
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