Skip to content

Commit cb625a8

Browse files
committed
Add workflow
1 parent 71932fe commit cb625a8

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
jobs:
55
job1:
66
runs-on: ubuntu-latest
7-
name: argo workflow on minikube with output
7+
name: CASTOR argo workflow test on minikube
88
steps:
99
- uses: actions/checkout@v2
1010
- name: Start minikube

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This repository contains code that needs to be used to properly read out CASTOR OpenData of Commissioning10, Run2010A, and Run2010B datasets. It includes two EDAnalyzer plugins that are created to correctly read the reconstructed CASTOR data objects and make validation plots. The needed python configuration files are also included, as well as a plotting script + ROOT files to check the output histograms.
66

7-
This repository containes also [a github action](.github/workflows/main.yml), which runs the test workflow on the CMS open data container using github free resources. It sets up a minikube environment and runs a workflow defined with argo workflow engine. The ouput is returned as a github artifcat. The workflow is triggered by a pull request. The number of events can be modified in [argo-workflow.yaml](argo-workflow.yaml).
7+
This repository containes also [a github action](.github/workflows/main.yml), which runs the test workflow on the CMS open data container using github free resources. It sets up a minikube environment and runs a workflow defined with argo workflow engine. The ouput is returned as a github artifcat. The workflow is triggered by a pull request. The number of events can be modified in [argo-workflow.yaml](argo-workflow.yaml).
88

99
## Requirements
1010

argo-workflow.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ spec:
1111
type: DirectoryOrCreate
1212
templates:
1313
- name: castor-argo
14+
# the order and inputs to the different steps:
1415
dag:
1516
tasks:
1617
- name: step1-data
@@ -36,7 +37,8 @@ spec:
3637
parameters:
3738
- name: config
3839
value: "drawValidationPlots_Commissioning10.py"
39-
40+
41+
# analysis step definition
4042
- name: castor-step1
4143
inputs:
4244
parameters:
@@ -65,6 +67,7 @@ spec:
6567
- name: workdir
6668
mountPath: /mnt/vol
6769

70+
# plotting step definition
6871
- name: castor-step2
6972
inputs:
7073
parameters:

volumes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
storageClassName: manual
99
capacity:
1010
storage: 10Gi
11-
accessModes:
11+
accessModes:
1212
- ReadWriteOnce
1313
hostPath:
1414
path: "/mnt/data"

0 commit comments

Comments
 (0)