Skip to content

Commit 6335973

Browse files
committed
rfc27: add new use case example yaml
1 parent 7b9b398 commit 6335973

File tree

3 files changed

+47
-1
lines changed

3 files changed

+47
-1
lines changed

data/spec_27/use_case_1.2.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
resources:
3+
- type: slot
4+
count: 4
5+
label: default
6+
with:
7+
- type: node
8+
count: 1
9+
with:
10+
- type: core
11+
count: 1
12+
tasks:
13+
- command: [ "flux", "start" ]
14+
slot: default
15+
count:
16+
per_slot: 1
17+
attributes:
18+
system:
19+
duration: 3600.
20+
cwd: "/home/flux"
21+
environment:
22+
HOME: "/home/flux"

data/spec_27/use_case_1.3.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: 2
2+
resources:
3+
- type: slot
4+
count: 1
5+
label: default
6+
with:
7+
- type: node
8+
count: {min: 1}
9+
with:
10+
- type: core
11+
count: 120
12+
tasks:
13+
- command: [ "flux", "start" ]
14+
slot: default
15+
count:
16+
per_resource:
17+
type: node
18+
count: 1
19+
attributes:
20+
system:
21+
duration: 3600.
22+
cwd: "/home/flux"
23+
environment:
24+
HOME: "/home/flux"

data/spec_27/use_case_2.5.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 999
1+
version: 2
22
resources:
33
- type: slot
44
count: 1

0 commit comments

Comments
 (0)