Commit 68342cb
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 edfa2b1 commit 68342cb
9 files changed
Lines changed: 568 additions & 0 deletions
File tree
- ci
- nova-operator-kuttl
- test/kuttl/test-suites/default
- cyborg-tests
- deps
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
453 | 454 | | |
454 | 455 | | |
455 | 456 | | |
| |||
| 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 | | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments