Commit 6052557
authored
Refactor openshift e2e aws capi workflow (#78001)
* Add openshift-oc-wait-for-stable-cluster step to step-registry
Configurable wrapper around oc adm wait-for-stable-cluster for use as a
reusable step in CI workflows. Supports MINIMUM_STABLE_PERIOD and TIMEOUT
env vars. Intended for use after cluster state changes such as enabling
FeatureSets post-install.
* Update openshift-e2e-aws-capi workflow to use shared steps
Replace capi-conf-apply-feature-gate with ipi-install-post-featureset
and openshift-oc-wait-for-stable-cluster. This uses the standard
post-install FeatureSet enablement step and a proper cluster stability
check instead of a custom script with hand-rolled operator waits.
* Rename openshift-e2e-aws-capi workflow to openshift-e2e-aws-techpreview-post-install
The old name implied this was CAPI-specific, but the workflow actually
tests the day-1 TechPreview enablement path on a standard AWS cluster.
The new name clearly distinguishes it from the day-0 variant
(openshift-e2e-aws-techpreview) which installs with TechPreview from
the start.
* Rename cluster-machine-approver e2e-aws-capi-techpreview to e2e-aws-techpreview-post-install
Align the job name with the renamed workflow. The test enables
TechPreview post-install, not CAPI specifically.
* Keep openshift-e2e-aws-capi workflow for releases 4.11-4.13
Releases 4.11-4.13 use a CLI that may not include oc adm
wait-for-stable-cluster, so keep them on the original
openshift-e2e-aws-capi workflow with capi-conf-apply-feature-gate.
Also add a runtime check to openshift-oc-wait-for-stable-cluster to
fail gracefully when the subcommand is not available.1 parent 844737c commit 6052557
85 files changed
Lines changed: 595 additions & 513 deletions
File tree
- ci-operator
- config
- openshift-priv
- cluster-api-operator
- cluster-machine-approver
- openshift
- cluster-api-operator
- cluster-machine-approver
- jobs
- openshift-priv/cluster-machine-approver
- openshift/cluster-machine-approver
- step-registry/openshift
- e2e/aws/techpreview/post-install
- oc/wait-for-stable-cluster
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments