Completely rebuild the tree generation logic.

This commit is contained in:
2023-02-21 10:29:42 +00:00
parent e39c93e9ea
commit e037788677
10 changed files with 448 additions and 110 deletions
@@ -38,6 +38,18 @@ spec:
groups:
items:
properties:
dependencies:
items:
properties:
name:
default: ""
type: string
status:
type: string
required:
- status
type: object
type: array
jobs:
items:
properties:
@@ -2170,14 +2182,17 @@ spec:
type: array
type: object
dependencies:
properties:
group:
default: ""
type: string
job:
default: ""
type: string
type: object
items:
properties:
name:
default: ""
type: string
status:
type: string
required:
- status
type: object
type: array
image:
minLength: 5
type: string
@@ -41,6 +41,11 @@ spec:
args:
- "sleep"
- "10"
- name: "second-half-job"
image: "busybox"
args:
- "sleep"
- "10"
- name: "second-group"
parallel: true
@@ -57,4 +62,14 @@ spec:
args:
- "sleep"
- "10"
parallel: false
- name: "third-group"
parallel: false
jobs:
- name: "fifth-job"
image: "busybox"
args:
- "echo"
- "Hello world!"
parallel: true