Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ tests:
openshift_installer_custom_test_image:
cluster_profile: azure4
from: stable:cluster-api-actuator-pkg
- as: e2e-upgrade
steps:
cluster_profile: azure4
workflow: openshift-upgrade-azure-loki
- as: git-history
commands: ./hack/verify_history.sh
container:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,71 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-azure-operator,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- master
cluster: build01
context: ci/prow/e2e-upgrade
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-cluster-api-provider-azure-master-e2e-upgrade
optional: true
path_alias: sigs.k8s.io/cluster-api-provider-azure
rerun_command: /test e2e-upgrade
spec:
containers:
- args:
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-password-file=/etc/boskos/password
- --report-password-file=/etc/report/password.txt
- --report-username=ci
- --secret-dir=/usr/local/e2e-upgrade-cluster-profile
- --target=e2e-upgrade
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /usr/local/e2e-upgrade-cluster-profile
name: cluster-profile
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: password
path: password
secretName: boskos-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-azure4
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-upgrade,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down
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"
]
}
}
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.
11 changes: 11 additions & 0 deletions ci-operator/step-registry/openshift/upgrade/azure/OWNERS
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
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"
]
}
}
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"
Copy link
Contributor

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?

Copy link
Contributor Author

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_OVERRIDE is used in ipi-install-install (so its initial) and OPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDE used in openshift-e2e-test doing openshift-tests run-upgrade --to-image=${OPENSHIFT_UPGRADE_RELEASE_IMAGE_OVERRIDE}

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.
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"
]
}
}
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.