Skip to content

Commit 42e45c9

Browse files
kostorrteo
authored andcommitted
Add readout task/workflows
1 parent 4c23b10 commit 42e45c9

3 files changed

Lines changed: 83 additions & 0 deletions

File tree

tasks/readout.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
- name: readout # read by workflow
2+
control:
3+
mode: direct
4+
wants:
5+
cpu: 0.15
6+
memory: 128
7+
bind: []
8+
properties: {}
9+
command:
10+
env: []
11+
shell: true
12+
arguments:
13+
- "file:/opt/alisw/el7/Readout/v0.24-occ-1/etc/readout.cfg"
14+
value: >-
15+
source /etc/profile.d/modules.sh &&
16+
MODULEPATH=/opt/alisw/el7/modulefiles module load Readout &&
17+
MODULEPATH=/opt/alisw/el7/modulefiles module load Control-OCCPlugin &&
18+
MODULEPATH=/opt/alisw/el7/modulefiles module list &&
19+
readout.exe

workflows/readout-8.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# readout-8:
2+
name: "readout-8-root"
3+
roles:
4+
- name: "readout-role-0"
5+
constraints:
6+
- attribute: machine_id
7+
value: aido2-bld4-lab101
8+
task:
9+
load: readout
10+
- name: "readout-role-1"
11+
constraints:
12+
- attribute: machine_id
13+
value: aido2-bld4-lab102
14+
task:
15+
load: readout
16+
- name: "readout-role-2"
17+
constraints:
18+
- attribute: machine_id
19+
value: aido2-bld4-lab103
20+
task:
21+
load: readout
22+
- name: "readout-role-3"
23+
constraints:
24+
- attribute: machine_id
25+
value: aido2-bld4-lab104
26+
task:
27+
load: readout
28+
- name: "readout-role-4"
29+
constraints:
30+
- attribute: machine_id
31+
value: aido2-bld4-lab105
32+
task:
33+
load: readout
34+
- name: "readout-role-5"
35+
constraints:
36+
- attribute: machine_id
37+
value: aido2-bld4-lab106
38+
task:
39+
load: readout
40+
- name: "readout-role-6"
41+
constraints:
42+
- attribute: machine_id
43+
value: aido2-bld4-lab107
44+
task:
45+
load: readout
46+
- name: "readout-role-7"
47+
constraints:
48+
- attribute: machine_id
49+
value: aido2-bld4-lab108
50+
task:
51+
load: readout
52+
53+

workflows/readout-n.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# readout-n: # FIXME: needs variables support in constraints
2+
name: "readout-n-root"
3+
roles:
4+
- name: "readout-role-{{ .it }}"
5+
for:
6+
begin: 0
7+
end: 7
8+
var: it
9+
task:
10+
load: readout
11+

0 commit comments

Comments
 (0)