Skip to content

Commit 6a76db8

Browse files
authored
add windows MCO e2e (#64997)
1 parent e5312de commit 6a76db8

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed

ci-operator/config/openshift/machine-config-operator/openshift-machine-config-operator-main.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,16 @@ tests:
587587
CHECK_MOD_LIST: "false"
588588
test:
589589
- ref: go-verify-deps
590+
- as: e2e-aws-ovn-windows
591+
optional: true
592+
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|OWNERS_ALIASES|LICENSE)$
593+
steps:
594+
cluster_profile: aws-2
595+
env:
596+
CUSTOM_VXLAN_PORT: "true"
597+
test:
598+
- ref: windows-e2e-operator-test
599+
workflow: ipi-aws-ovn-hybrid
590600
zz_generated_metadata:
591601
branch: main
592602
org: openshift

ci-operator/jobs/openshift/machine-config-operator/openshift-machine-config-operator-main-presubmits.yaml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,80 @@ presubmits:
721721
secret:
722722
secretName: result-aggregator
723723
trigger: (?m)^/test( | .* )e2e-aws-ovn-upgrade-out-of-change,?($|\s.*)
724+
- agent: kubernetes
725+
always_run: false
726+
branches:
727+
- ^main$
728+
- ^main-
729+
cluster: build10
730+
context: ci/prow/e2e-aws-ovn-windows
731+
decorate: true
732+
labels:
733+
ci-operator.openshift.io/cloud: aws
734+
ci-operator.openshift.io/cloud-cluster-profile: aws-2
735+
ci.openshift.io/generator: prowgen
736+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
737+
name: pull-ci-openshift-machine-config-operator-main-e2e-aws-ovn-windows
738+
optional: true
739+
rerun_command: /test e2e-aws-ovn-windows
740+
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|OWNERS_ALIASES|LICENSE)$
741+
spec:
742+
containers:
743+
- args:
744+
- --gcs-upload-secret=/secrets/gcs/service-account.json
745+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
746+
- --lease-server-credentials-file=/etc/boskos/credentials
747+
- --report-credentials-file=/etc/report/credentials
748+
- --secret-dir=/secrets/ci-pull-credentials
749+
- --target=e2e-aws-ovn-windows
750+
command:
751+
- ci-operator
752+
image: ci-operator:latest
753+
imagePullPolicy: Always
754+
name: ""
755+
resources:
756+
requests:
757+
cpu: 10m
758+
volumeMounts:
759+
- mountPath: /etc/boskos
760+
name: boskos
761+
readOnly: true
762+
- mountPath: /secrets/ci-pull-credentials
763+
name: ci-pull-credentials
764+
readOnly: true
765+
- mountPath: /secrets/gcs
766+
name: gcs-credentials
767+
readOnly: true
768+
- mountPath: /secrets/manifest-tool
769+
name: manifest-tool-local-pusher
770+
readOnly: true
771+
- mountPath: /etc/pull-secret
772+
name: pull-secret
773+
readOnly: true
774+
- mountPath: /etc/report
775+
name: result-aggregator
776+
readOnly: true
777+
serviceAccountName: ci-operator
778+
volumes:
779+
- name: boskos
780+
secret:
781+
items:
782+
- key: credentials
783+
path: credentials
784+
secretName: boskos-credentials
785+
- name: ci-pull-credentials
786+
secret:
787+
secretName: ci-pull-credentials
788+
- name: manifest-tool-local-pusher
789+
secret:
790+
secretName: manifest-tool-local-pusher
791+
- name: pull-secret
792+
secret:
793+
secretName: registry-pull-credentials
794+
- name: result-aggregator
795+
secret:
796+
secretName: result-aggregator
797+
trigger: (?m)^/test( | .* )e2e-aws-ovn-windows,?($|\s.*)
724798
- agent: kubernetes
725799
always_run: false
726800
branches:

0 commit comments

Comments
 (0)