Commit 9ba68e1
committed
cyborg: Add kuttl integration tests for Cyborg deployment
Add an end-to-end kuttl test suite for the Cyborg operator:
- Cleanup step to delete any pre-existing Cyborg CR before the test
- Deploy step creating a full Cyborg CR (cyborg-kuttl)
- Assert step verifying all conditions are True on Cyborg, CyborgAPI,
CyborgConductor and MariaDBDatabase CRs
- Error step covering missing-dependency failure scenarios
- Register cyborg container images (api, conductor, agent) as default
RELATED_IMAGE env vars in the manager deployment
- Enable ENABLE_CYBORG=true in the CI webhook deploy script
Assisted-By: Claude
Signed-off-by: Alfredo Moralejo <amoralej@redhat.com>1 parent 289eab9 commit 9ba68e1
10 files changed
Lines changed: 603 additions & 0 deletions
File tree
- ci
- nova-operator-kuttl
- config/default
- test/kuttl/test-suites/default
- cyborg-tests
- deps
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| 450 | + | |
450 | 451 | | |
451 | 452 | | |
452 | 453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments