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 @@ -141,13 +141,20 @@ tests:
commands: TEST_SUITE=openshift/conformance run-tests
openshift_ansible_40:
cluster_profile: aws-centos-40
- as: e2e-vsphere
commands: TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer_upi:
cluster_profile: vsphere
- as: e2e-etcd-quorum-loss
commands: |
recover-from-etcd-quorum-loss
TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer:
cluster_profile: aws
upgrade: false
- as: e2e-restore-cluster-state
commands: |
restore-cluster-state
TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer:
cluster_profile: aws
- as: e2e-vsphere
commands: TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer_upi:
cluster_profile: vsphere
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ tests:
commands: TEST_SUITE=openshift/conformance run-tests
openshift_ansible_40:
cluster_profile: aws-centos-40
- as: e2e-etcd-quorum-loss
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you drop this, you'll be able to land this PR with only installer-team approval. Then we will have some in-the-wild examples to show the MCO folks when we add this job for them. If you keep it here, you'll need to track down an MCO approver to sign off on this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you drop this, you'll be able to land this PR with only installer-team approval. Then we will have some in-the-wild examples to show the MCO folks when we add this job for them

The whole idea of this PR is adding a new test for MCO, debug MCO PRs (e.g. openshift/machine-config-operator#788) and once its ready make this test run for all MCO/MAO PRs

commands: |
recover-from-etcd-quorum-loss
TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer:
cluster_profile: aws
- as: e2e-restore-cluster-state
commands: |
restore-cluster-state
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,73 @@ presubmits:
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )e2e-aws-upi,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- master
context: ci/prow/e2e-etcd-quorum-loss
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: pull-ci-openshift-installer-master-e2e-etcd-quorum-loss
optional: true
rerun_command: /test e2e-etcd-quorum-loss
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --secret-dir=/usr/local/e2e-etcd-quorum-loss-cluster-profile
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=e2e-etcd-quorum-loss
- --template=/usr/local/e2e-etcd-quorum-loss
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: aws
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-installer-master.yaml
name: ci-operator-master-configs
- name: JOB_NAME_SAFE
value: e2e-etcd-quorum-loss
- name: TEST_COMMAND
value: |
recover-from-etcd-quorum-loss
TEST_SUITE=openshift/conformance/parallel run-tests
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/e2e-etcd-quorum-loss-cluster-profile
name: cluster-profile
- mountPath: /usr/local/e2e-etcd-quorum-loss
name: job-definition
subPath: cluster-launch-installer-e2e.yaml
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- configMap:
name: prow-job-cluster-launch-installer-e2e
name: job-definition
- name: sentry-dsn
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )e2e-etcd-quorum-loss,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,73 @@ presubmits:
always_run: true
branches:
- master
context: ci/prow/e2e-etcd-quorum-loss
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: pull-ci-openshift-machine-config-operator-master-e2e-etcd-quorum-loss
optional: true
rerun_command: /test e2e-etcd-quorum-loss
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --give-pr-author-access-to-namespace=true
- --secret-dir=/usr/local/e2e-etcd-quorum-loss-cluster-profile
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=e2e-etcd-quorum-loss
- --template=/usr/local/e2e-etcd-quorum-loss
command:
- ci-operator
env:
- name: CLUSTER_TYPE
value: aws
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-machine-config-operator-master.yaml
name: ci-operator-master-configs
- name: JOB_NAME_SAFE
value: e2e-etcd-quorum-loss
- name: TEST_COMMAND
value: |
recover-from-etcd-quorum-loss
TEST_SUITE=openshift/conformance/parallel run-tests
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /usr/local/e2e-etcd-quorum-loss-cluster-profile
name: cluster-profile
- mountPath: /usr/local/e2e-etcd-quorum-loss
name: job-definition
subPath: cluster-launch-installer-e2e.yaml
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- configMap:
name: prow-job-cluster-launch-installer-e2e
name: job-definition
- name: sentry-dsn
secret:
secretName: sentry-dsn
trigger: (?m)^/test( | .* )e2e-etcd-quorum-loss,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- master
context: ci/prow/e2e-restore-cluster-state
decorate: true
decoration_config:
Expand Down
Loading