-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathreana.yaml
36 lines (36 loc) · 1.07 KB
/
reana.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: 0.6.0
inputs:
files:
- BuildFile.xml
- demoanalyzer_cfg.py
directories:
- datasets
- python
- src
workflow:
type: serial
specification:
steps:
- name: demoanalyzer
environment: 'docker.io/cmsopendata/cmssw_5_3_32'
commands:
- >
source /opt/cms/cmsset_default.sh
&& scramv1 project CMSSW CMSSW_5_3_32
&& cd CMSSW_5_3_32/src
&& eval `scramv1 runtime -sh`
&& mkdir reana-demo-cms-dimuon-mass-spectrum
&& cd reana-demo-cms-dimuon-mass-spectrum
&& mkdir DimuonSpectrum2011
&& cd DimuonSpectrum2011
&& cp -r ../../../../datasets ../../../../python ../../../../src ../../../../BuildFile.xml ../../../../demoanalyzer_cfg.py .
&& scram b
&& cmsRun ./demoanalyzer_cfg.py
outputs:
files:
- CMSSW_5_3_32/src/reana-demo-cms-dimuon-mass-spectrum/DimuonSpectrum2011/DoubleMu.root
tests:
files:
- tests/log-messages.feature
- tests/run-duration.feature
- tests/workspace-files.feature