Skip to content

Commit

Permalink
WINC-813: Add optional Windows e2e GCP jobs (#31260)
Browse files Browse the repository at this point in the history
* Add Windows GCP e2e jobs

Adds config to master and release-4.12 branches.
Jobs generated with `make update`.

* Prevent Windows GCP job from running automatically

* Sets job to optional, so it will not block merges.
* Removes the triggers for automatically running the job against WMCO
  PRs. This still allows for it to be manually triggered on PRs.

This commit should be reverted when the job is consistently able to
pass.
  • Loading branch information
sebsoto committed Aug 11, 2022
1 parent 079830c commit ea8b388
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 0 deletions.
Expand Up @@ -106,6 +106,13 @@ tests:
test:
- ref: windows-e2e-operator-test
workflow: openshift-e2e-azure-ccm-ovn-hybrid-install
- as: gcp-e2e-operator
optional: true
steps:
cluster_profile: gcp
test:
- ref: windows-e2e-operator-test
workflow: ipi-gcp-ovn-hybrid
- as: vsphere-e2e-operator
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
Expand Down
Expand Up @@ -107,6 +107,13 @@ tests:
test:
- ref: windows-e2e-operator-test
workflow: openshift-e2e-azure-ccm-ovn-hybrid-install
- as: gcp-e2e-operator
optional: true
steps:
cluster_profile: gcp
test:
- ref: windows-e2e-operator-test
workflow: ipi-gcp-ovn-hybrid
- as: vsphere-e2e-operator
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
Expand Down
Expand Up @@ -461,6 +461,83 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )ci-index,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build05
context: ci/prow/gcp-e2e-operator
decorate: true
labels:
ci-operator.openshift.io/cloud: gcp
ci-operator.openshift.io/cloud-cluster-profile: gcp
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-windows-machine-config-operator-master-gcp-e2e-operator
optional: true
rerun_command: /test gcp-e2e-operator
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/gcp-e2e-operator-cluster-profile
- --target=gcp-e2e-operator
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/gcp-e2e-operator-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- 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: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-gcp
- configMap:
name: cluster-profile-gcp
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )gcp-e2e-operator,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down
Expand Up @@ -461,6 +461,83 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )ci-index,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^release-4\.12$
- ^release-4\.12-
cluster: build05
context: ci/prow/gcp-e2e-operator
decorate: true
labels:
ci-operator.openshift.io/cloud: gcp
ci-operator.openshift.io/cloud-cluster-profile: gcp
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-windows-machine-config-operator-release-4.12-gcp-e2e-operator
optional: true
rerun_command: /test gcp-e2e-operator
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/gcp-e2e-operator-cluster-profile
- --target=gcp-e2e-operator
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /usr/local/gcp-e2e-operator-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- 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: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-gcp
- configMap:
name: cluster-profile-gcp
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )gcp-e2e-operator,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down

0 comments on commit ea8b388

Please sign in to comment.