Commit a70d1f0
committed
[ote] Add windows-ote-setup step for WMCO non-payload OTE binary
WMCO is an OLM optional operator (not CVO-managed payload), so the
standard payload-based OTE binary registration does not apply.
This step implements the non-payload OTE binary mechanism introduced in
openshift/origin#30863 (TestExtensionAdmission CRD + ImageStreamTag
annotations). When run after WMCO is deployed:
1. Creates an ImageStream in the WMCO namespace pointing to the CI image
(built from Dockerfile.ci, which includes wmco-tests-ext.gz)
2. Annotates the ImageStreamTag with testextension.redhat.io/component
and testextension.redhat.io/binary for OTE discovery
3. Installs the TestExtensionAdmission CRD
4. Creates a TestExtensionAdmission CR permitting the WMCO namespace
This step must be placed before any openshift-tests run step in WMCO
e2e test workflows. openshift-tests will then automatically discover
and execute the WMCO OTE binary.
Related: WINC-1777, OCP-373621 parent ca0e321 commit a70d1f0
2 files changed
Lines changed: 71 additions & 0 deletions
File tree
- ci-operator/step-registry/windows/ote-setup
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments