-
Notifications
You must be signed in to change notification settings - Fork 2.1k
cluster-api-provider-azure: add workflow-based e2e-upgrade test #12204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
openshift-merge-robot
merged 5 commits into
openshift:master
from
vrutkovs:workflow-azure-upgrade
Oct 12, 2020
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
fd635aa
Create ipi-azure-pre-stableinitial chain
7ae4bd4
Create openshift-upgrade-azure workflow
a826a37
Create ipi-install-stableinitial-chain
a6074a6
Create openshift-upgrade-azure-loki workflow
d049e18
cluster-api-provider-azure: add e2e-upgrade test
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../OWNERS |
8 changes: 8 additions & 0 deletions
8
...step-registry/ipi/azure/pre/stableinitial/ipi-azure-pre-stableinitial-chain.metadata.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "path": "ipi/azure/pre/stableinitial/ipi-azure-pre-stableinitial-chain.yaml", | ||
| "owners": { | ||
| "approvers": [ | ||
| "abhinavdahiya" | ||
| ] | ||
| } | ||
| } |
8 changes: 8 additions & 0 deletions
8
ci-operator/step-registry/ipi/azure/pre/stableinitial/ipi-azure-pre-stableinitial-chain.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| chain: | ||
| as: ipi-azure-pre-stableinitial | ||
| steps: | ||
| - chain: ipi-conf-azure | ||
| - chain: ipi-install-stableinitial | ||
| documentation: |- | ||
| The IPI setup step contains all steps that provision an OpenShift cluster | ||
| from stable-initial imagestream with a default configuration on Azure. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| approvers: | ||
| - smarterclayton | ||
| - wking | ||
| - stevekuznetsov | ||
| - vrutkovs | ||
| - abhinavdahiya | ||
| - deads2k | ||
| - crawford | ||
| - ewolinetz | ||
| - csrwng | ||
| - staebler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../OWNERS |
17 changes: 17 additions & 0 deletions
17
...registry/openshift/upgrade/azure/loki/openshift-upgrade-azure-loki-workflow.metadata.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "path": "openshift/upgrade/azure/loki/openshift-upgrade-azure-loki-workflow.yaml", | ||
| "owners": { | ||
| "approvers": [ | ||
| "smarterclayton", | ||
| "wking", | ||
| "stevekuznetsov", | ||
| "vrutkovs", | ||
| "abhinavdahiya", | ||
| "deads2k", | ||
| "crawford", | ||
| "ewolinetz", | ||
| "csrwng", | ||
| "staebler" | ||
| ] | ||
| } | ||
| } |
23 changes: 23 additions & 0 deletions
23
...tor/step-registry/openshift/upgrade/azure/loki/openshift-upgrade-azure-loki-workflow.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| workflow: | ||
| as: openshift-upgrade-azure-loki | ||
| steps: | ||
| pre: | ||
| - ref: ipi-install-monitoringpvc | ||
| - ref: ipi-install-loki | ||
| - chain: ipi-azure-pre-stableinitial | ||
| test: | ||
| - ref: openshift-e2e-test | ||
| post: | ||
| - ref: gather-loki | ||
| - chain: ipi-azure-post | ||
| dependencies: | ||
| OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: "release:initial" | ||
| OPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDE: "release:latest" | ||
| env: | ||
| TEST_COMMAND: "run-upgrade" | ||
| TEST_SUITE: "all" | ||
| TEST_OPTIONS: "" | ||
| documentation: |- | ||
| The Openshift E2E Azure workflow executes the upgrade end-to-end test suite on Azure from | ||
| stable-initial imagestream with a default cluster configuration, exercising an upgrade | ||
| during the process. | ||
17 changes: 17 additions & 0 deletions
17
...ator/step-registry/openshift/upgrade/azure/openshift-upgrade-azure-workflow.metadata.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "path": "openshift/upgrade/azure/openshift-upgrade-azure-workflow.yaml", | ||
| "owners": { | ||
| "approvers": [ | ||
| "smarterclayton", | ||
| "wking", | ||
| "stevekuznetsov", | ||
| "vrutkovs", | ||
| "abhinavdahiya", | ||
| "deads2k", | ||
| "crawford", | ||
| "ewolinetz", | ||
| "csrwng", | ||
| "staebler" | ||
| ] | ||
| } | ||
| } |
16 changes: 16 additions & 0 deletions
16
ci-operator/step-registry/openshift/upgrade/azure/openshift-upgrade-azure-workflow.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| workflow: | ||
| as: openshift-upgrade-azure | ||
| steps: | ||
| pre: | ||
| - chain: ipi-azure-pre | ||
| test: | ||
| - ref: openshift-e2e-test | ||
| post: | ||
| - chain: ipi-azure-post | ||
| dependencies: | ||
| OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: "release:initial" | ||
| env: | ||
| TEST_COMMAND: "run-upgrade" | ||
| TEST_SUITE: "all" | ||
| documentation: |- | ||
| The Openshift E2E Azure workflow executes the upgrade end-to-end test suite on Azure with a default cluster configuration, exercising an upgrade during the process. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as latest is older then this PR should it be from latest to initial?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Names are a bit confusing, but
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDEis used inipi-install-install(so its initial) andOPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDEused inopenshift-e2e-testdoingopenshift-tests run-upgrade --to-image=${OPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDE}