-
Notifications
You must be signed in to change notification settings - Fork 2.1k
ash: Add e2e CI testing for PRs #18796
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 1 commit into
openshift:master
from
rna-afk:e2e-ash-testing
Sep 20, 2021
Merged
Changes from all commits
Commits
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,8 @@ | ||
| approvers: | ||
| - staebler | ||
| - rna-afk | ||
| - patrickdillon | ||
| - mtnbikenc | ||
| - e-tienne | ||
| - jhixson74 | ||
| - jstuever |
14 changes: 14 additions & 0 deletions
14
ci-operator/step-registry/ipi/azurestack/ipi-azurestack-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,14 @@ | ||
| { | ||
| "path": "ipi/azurestack/ipi-azurestack-workflow.yaml", | ||
| "owners": { | ||
| "approvers": [ | ||
| "staebler", | ||
| "rna-afk", | ||
| "patrickdillon", | ||
| "mtnbikenc", | ||
| "e-tienne", | ||
| "jhixson74", | ||
| "jstuever" | ||
| ] | ||
| } | ||
| } |
15 changes: 15 additions & 0 deletions
15
ci-operator/step-registry/ipi/azurestack/ipi-azurestack-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,15 @@ | ||
| workflow: | ||
| as: ipi-azurestack | ||
| steps: | ||
| pre: | ||
| - chain: ipi-azurestack-pre | ||
| post: | ||
| - chain: ipi-azurestack-post | ||
| documentation: |- | ||
| The IPI workflow provides pre- and post- steps that provision and | ||
| deprovision an OpenShift cluster with a default configuration on Azure | ||
| Stack Hub allowing job authors to inject their own end-to-end test logic. | ||
|
|
||
| All modifications to this workflow should be done by modifying the | ||
| `ipi-azurestack-{pre,post}` chains to allow other workflows to mimic and extend | ||
| this base workflow without a need to backport changes. |
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 @@ | ||
| approvers: | ||
| - staebler | ||
| - rna-afk | ||
| - patrickdillon | ||
| - mtnbikenc | ||
| - e-tienne | ||
| - jhixson74 | ||
| - jstuever |
14 changes: 14 additions & 0 deletions
14
ci-operator/step-registry/ipi/azurestack/post/ipi-azurestack-post-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,14 @@ | ||
| { | ||
| "path": "ipi/azurestack/post/ipi-azurestack-post-chain.yaml", | ||
| "owners": { | ||
| "approvers": [ | ||
| "staebler", | ||
| "rna-afk", | ||
| "patrickdillon", | ||
| "mtnbikenc", | ||
| "e-tienne", | ||
| "jhixson74", | ||
| "jstuever" | ||
| ] | ||
| } | ||
| } | ||
7 changes: 7 additions & 0 deletions
7
ci-operator/step-registry/ipi/azurestack/post/ipi-azurestack-post-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,7 @@ | ||
| chain: | ||
| as: ipi-azurestack-post | ||
| steps: | ||
| - chain: ipi-deprovision | ||
| documentation: |- | ||
| The IPI cleanup step contains all steps that deprovision an OpenShift | ||
| cluster on Azure Stack Hub, provisioned by the `ipi-azurestack-post` chain. |
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 @@ | ||
| approvers: | ||
| - staebler | ||
| - rna-afk | ||
| - patrickdillon | ||
| - mtnbikenc | ||
| - e-tienne | ||
| - jhixson74 | ||
| - jstuever |
14 changes: 14 additions & 0 deletions
14
ci-operator/step-registry/ipi/azurestack/pre/ipi-azurestack-pre-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,14 @@ | ||
| { | ||
| "path": "ipi/azurestack/pre/ipi-azurestack-pre-chain.yaml", | ||
| "owners": { | ||
| "approvers": [ | ||
| "staebler", | ||
| "rna-afk", | ||
| "patrickdillon", | ||
| "mtnbikenc", | ||
| "e-tienne", | ||
| "jhixson74", | ||
| "jstuever" | ||
| ] | ||
| } | ||
| } |
8 changes: 8 additions & 0 deletions
8
ci-operator/step-registry/ipi/azurestack/pre/ipi-azurestack-pre-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-azurestack-pre | ||
| steps: | ||
| - chain: ipi-conf-azurestack | ||
| - chain: ipi-install | ||
| documentation: |- | ||
| The IPI setup step contains all steps that provision an OpenShift cluster | ||
| with a default configuration on Azure Stack Hub . |
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 @@ | ||
| approvers: | ||
| - staebler | ||
| - rna-afk | ||
| - patrickdillon | ||
| - mtnbikenc | ||
| - e-tienne | ||
| - jhixson74 | ||
| - jstuever |
14 changes: 14 additions & 0 deletions
14
ci-operator/step-registry/ipi/conf/azurestack/ipi-conf-azurestack-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,14 @@ | ||
| { | ||
| "path": "ipi/conf/azurestack/ipi-conf-azurestack-chain.yaml", | ||
| "owners": { | ||
| "approvers": [ | ||
| "staebler", | ||
| "rna-afk", | ||
| "patrickdillon", | ||
| "mtnbikenc", | ||
| "e-tienne", | ||
| "jhixson74", | ||
| "jstuever" | ||
| ] | ||
| } | ||
| } |
8 changes: 8 additions & 0 deletions
8
ci-operator/step-registry/ipi/conf/azurestack/ipi-conf-azurestack-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-conf-azurestack | ||
| steps: | ||
| - ref: ipi-conf | ||
| - ref: ipi-conf-azurestack | ||
| - ref: ipi-install-monitoringpvc | ||
| documentation: |- | ||
| The IPI configure step chain generates the install-config.yaml file based on the cluster profile and optional input files. |
49 changes: 49 additions & 0 deletions
49
ci-operator/step-registry/ipi/conf/azurestack/ipi-conf-azurestack-commands.sh
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,49 @@ | ||
| #!/bin/bash | ||
|
|
||
| set -o nounset | ||
| set -o errexit | ||
| set -o pipefail | ||
|
|
||
| CONFIG="${SHARED_DIR}/install-config.yaml" | ||
| CLUSTER_NAME="${NAMESPACE}" | ||
| REGION="ppe3" | ||
| echo "Azure region: ${REGION}" | ||
|
|
||
| workers=3 | ||
| if [[ "${SIZE_VARIANT}" == "compact" ]]; then | ||
| workers=0 | ||
| fi | ||
| master_type=null | ||
| if [[ "${SIZE_VARIANT}" == "xlarge" ]]; then | ||
| master_type=Standard_D32_v3 | ||
| elif [[ "${SIZE_VARIANT}" == "large" ]]; then | ||
| master_type=Standard_D16_v3 | ||
| elif [[ "${SIZE_VARIANT}" == "compact" ]]; then | ||
| master_type=Standard_D8_v3 | ||
| fi | ||
| echo $master_type | ||
|
|
||
| ENDPOINT="${AZURESTACK_ENDPOINT}" | ||
| echo "ASH ARM Endpoint: ${ENDPOINT}" | ||
| cp "/var/run/azurestack-cluster-secrets/service-principal" "${SHARED_DIR}/osServicePrincipal.json" | ||
|
|
||
| cat >> "${CONFIG}" << EOF | ||
| baseDomain: ppe.azurestack.devcluster.openshift.com | ||
| credentialsMode: Manual | ||
| metadata: | ||
| name: ${CLUSTER_NAME} | ||
| platform: | ||
| azure: | ||
| baseDomainResourceGroupName: openshiftInstallerRG | ||
| region: ${REGION} | ||
| cloudName: AzureStackCloud | ||
| armEndpoint: ${ENDPOINT} | ||
| controlPlane: | ||
| name: master | ||
| compute: | ||
| - name: worker | ||
| replicas: ${workers} | ||
| EOF | ||
|
|
||
| echo "${AZURESTACK_ENDPOINT}" >> ${SHARED_DIR}/AZURESTACK_ENDPOINT | ||
| echo "${SUFFIX_ENDPOINT}" >> ${SHARED_DIR}/SUFFIX_ENDPOINT |
14 changes: 14 additions & 0 deletions
14
ci-operator/step-registry/ipi/conf/azurestack/ipi-conf-azurestack-ref.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,14 @@ | ||
| { | ||
| "path": "ipi/conf/azurestack/ipi-conf-azurestack-ref.yaml", | ||
| "owners": { | ||
| "approvers": [ | ||
| "staebler", | ||
| "rna-afk", | ||
| "patrickdillon", | ||
| "mtnbikenc", | ||
| "e-tienne", | ||
| "jhixson74", | ||
| "jstuever" | ||
| ] | ||
| } | ||
| } |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.