Repository navigation
Commit 755d932
committed
Add service dep graph, leveled execution with useParallelExecution flag
- dependsOn on services; deployment plan is a topological sort into
levels that run concurrently
- services without dependsOn depend on their list predecessor, so
existing deployments keep serial order
- unresolvable dependsOn refs are skipped with a log message
- build per-service AnsibleEE spec only at job start; split Deploy
into startLevel/isLevelReady
- useParallelExecution flag on deployment CR (default false); when
not set, dep graph is not built, services run sequentially in list
order and a warning is logged that dependsOn is ignored
- fail fast on missing service CRs: dedupe now returns
MissingServiceError instead of logging and continuing, so a
misconfigured service blocks the deployment early with per-service
and nodeset conditions set, instead of failing at job start
Signed-off-by: rabi <ramishra@redhat.com>1 parent e22415e commit 755d932
40 files changed
Lines changed: 1112 additions & 174 deletions
File tree
- api
- bases
- dataplane/v1beta1
- bindata/crds
- config
- crd/bases
- services
- internal
- controller/dataplane
- dataplane
- test
- functional/dataplane
- kuttl/tests
- dataplane-deploy-global-service-test
- dataplane-deploy-no-nodes-test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
119 | 126 | | |
120 | 127 | | |
121 | 128 | | |
| 129 | + | |
122 | 130 | | |
123 | 131 | | |
124 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
119 | 126 | | |
120 | 127 | | |
121 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20227 | 20227 | | |
20228 | 20228 | | |
20229 | 20229 | | |
| 20230 | + | |
| 20231 | + | |
| 20232 | + | |
| 20233 | + | |
| 20234 | + | |
| 20235 | + | |
| 20236 | + | |
20230 | 20237 | | |
20231 | 20238 | | |
20232 | 20239 | | |
| 20240 | + | |
20233 | 20241 | | |
20234 | 20242 | | |
20235 | 20243 | | |
| |||
22175 | 22183 | | |
22176 | 22184 | | |
22177 | 22185 | | |
| 22186 | + | |
| 22187 | + | |
| 22188 | + | |
| 22189 | + | |
| 22190 | + | |
| 22191 | + | |
| 22192 | + | |
22178 | 22193 | | |
22179 | 22194 | | |
22180 | 22195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
119 | 126 | | |
120 | 127 | | |
121 | 128 | | |
| 129 | + | |
122 | 130 | | |
123 | 131 | | |
124 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
119 | 126 | | |
120 | 127 | | |
121 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
0 commit comments