Skip to content

Commit

Permalink
OCPBUGS-17652: enable pre-submit for alibabacloud (#42886)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanderp3 committed Aug 31, 2023
1 parent 8a78908 commit 3455b78
Show file tree
Hide file tree
Showing 6 changed files with 234 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ tests:
resources:
requests:
cpu: 200m
- as: e2e-alibaba-ovn
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: alibabacloud
workflow: openshift-e2e-alibabacloud
- as: e2e-aws-ovn
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ tests:
resources:
requests:
cpu: 200m
- as: e2e-alibaba-ovn
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: alibabacloud
workflow: openshift-e2e-alibabacloud
- as: e2e-aws-ovn
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ tests:
resources:
requests:
cpu: 200m
- as: e2e-alibaba-ovn
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: alibabacloud
workflow: openshift-e2e-alibabacloud
- as: e2e-aws-ovn
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,78 @@
presubmits:
openshift/cluster-cloud-controller-manager-operator:
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build03
context: ci/prow/e2e-alibaba-ovn
decorate: true
labels:
ci-operator.openshift.io/cloud: alibabacloud
ci-operator.openshift.io/cloud-cluster-profile: alibabacloud
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-cluster-cloud-controller-manager-operator-master-e2e-alibaba-ovn
rerun_command: /test e2e-alibaba-ovn
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
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/e2e-alibaba-ovn-cluster-profile
- --target=e2e-alibaba-ovn
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/e2e-alibaba-ovn-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
secret:
secretName: cluster-secrets-alibabacloud
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-alibaba-ovn,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,78 @@
presubmits:
openshift/cluster-cloud-controller-manager-operator:
- agent: kubernetes
always_run: false
branches:
- ^release-4\.14$
- ^release-4\.14-
cluster: build03
context: ci/prow/e2e-alibaba-ovn
decorate: true
labels:
ci-operator.openshift.io/cloud: alibabacloud
ci-operator.openshift.io/cloud-cluster-profile: alibabacloud
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-cluster-cloud-controller-manager-operator-release-4.14-e2e-alibaba-ovn
rerun_command: /test e2e-alibaba-ovn
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
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/e2e-alibaba-ovn-cluster-profile
- --target=e2e-alibaba-ovn
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/e2e-alibaba-ovn-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
secret:
secretName: cluster-secrets-alibabacloud
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-alibaba-ovn,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,78 @@
presubmits:
openshift/cluster-cloud-controller-manager-operator:
- agent: kubernetes
always_run: false
branches:
- ^release-4\.15$
- ^release-4\.15-
cluster: build03
context: ci/prow/e2e-alibaba-ovn
decorate: true
labels:
ci-operator.openshift.io/cloud: alibabacloud
ci-operator.openshift.io/cloud-cluster-profile: alibabacloud
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-cluster-cloud-controller-manager-operator-release-4.15-e2e-alibaba-ovn
rerun_command: /test e2e-alibaba-ovn
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
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/e2e-alibaba-ovn-cluster-profile
- --target=e2e-alibaba-ovn
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/e2e-alibaba-ovn-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
secret:
secretName: cluster-secrets-alibabacloud
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )e2e-alibaba-ovn,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down

0 comments on commit 3455b78

Please sign in to comment.