Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding mac and windows jobs for odo #16212

Closed
wants to merge 2 commits into from
Closed
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
68 changes: 68 additions & 0 deletions ci-operator/config/openshift/odo/openshift-odo-master__v4.6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,74 @@ tag_specification:
name: "4.6"
namespace: ocp
tests:
- as: e2e-4x-psi-mac
steps:
test:
- as: e2e-4x-psi-mac-steps
commands: sh scripts/openshiftci-e2e-4x-psi-tests_win_mac.sh mac
credentials:
- mount_path: /usr/local/ci-secrets/odo-rabbitmq
name: odo-rabbitmq
namespace: test-credentials
env:
- default: /usr/local/ci-secrets/odo-rabbitmq/amqpuri
name: ODO_RABBITMQ_AMQP_URL
from: oc-bin-image
resources:
requests:
cpu: "2"
memory: 6Gi
- as: unit-psi-mac
steps:
test:
- as: unit-psi-mac-steps
commands: sh scripts/openshiftci-unit-psi-tests_win_mac.sh mac
credentials:
- mount_path: /usr/local/ci-secrets/odo-rabbitmq
name: odo-rabbitmq
namespace: test-credentials
env:
- default: /usr/local/ci-secrets/odo-rabbitmq/amqpuri
name: ODO_RABBITMQ_AMQP_URL
from: oc-bin-image
resources:
requests:
cpu: "2"
memory: 6Gi
- as: unit-psi-windows
steps:
test:
- as: unit-psi-windows-steps
commands: sh scripts/openshiftci-unit-psi-tests_win_mac.sh win
credentials:
- mount_path: /usr/local/ci-secrets/odo-rabbitmq
name: odo-rabbitmq
namespace: test-credentials
env:
- default: /usr/local/ci-secrets/odo-rabbitmq/amqpuri
name: ODO_RABBITMQ_AMQP_URL
from: oc-bin-image
resources:
requests:
cpu: "2"
memory: 6Gi
- as: e2e-4x-psi-windows
steps:
test:
- as: e2e-4x-psi-windows-steps
commands: sh scripts/openshiftci-e2e-4x-psi-tests_win_mac.sh win
credentials:
- mount_path: /usr/local/ci-secrets/odo-rabbitmq
name: odo-rabbitmq
namespace: test-credentials
env:
- default: /usr/local/ci-secrets/odo-rabbitmq/amqpuri
name: ODO_RABBITMQ_AMQP_URL
from: oc-bin-image
resources:
requests:
cpu: "2"
memory: 6Gi
- as: integration-e2e-periodic
cron: 0 */6 * * *
steps:
Expand Down
205 changes: 204 additions & 1 deletion ci-operator/jobs/openshift/odo/openshift-odo-master-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,108 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v4.5-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: build02
context: ci/prow/v4.6-e2e-4x-psi-mac
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
ci-operator.openshift.io/variant: v4.6
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-odo-master-v4.6-e2e-4x-psi-mac
optional: true
rerun_command: /test v4.6-e2e-4x-psi-mac
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=e2e-4x-psi-mac
- --variant=v4.6
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v4.6-e2e-4x-psi-mac,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: build02
context: ci/prow/v4.6-e2e-4x-psi-windows
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
ci-operator.openshift.io/variant: v4.6
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-odo-master-v4.6-e2e-4x-psi-windows
optional: true
rerun_command: /test v4.6-e2e-4x-psi-windows
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=e2e-4x-psi-windows
- --variant=v4.6
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v4.6-e2e-4x-psi-windows,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down Expand Up @@ -299,6 +401,108 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v4.6-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: build02
context: ci/prow/v4.6-unit-psi-mac
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
ci-operator.openshift.io/variant: v4.6
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-odo-master-v4.6-unit-psi-mac
optional: true
rerun_command: /test v4.6-unit-psi-mac
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=unit-psi-mac
- --variant=v4.6
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v4.6-unit-psi-mac,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- master
cluster: build02
context: ci/prow/v4.6-unit-psi-windows
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
ci-operator.openshift.io/variant: v4.6
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-odo-master-v4.6-unit-psi-windows
optional: true
rerun_command: /test v4.6-unit-psi-windows
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=unit-psi-windows
- --variant=v4.6
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )v4.6-unit-psi-windows,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand All @@ -313,7 +517,6 @@ presubmits:
ci-operator.openshift.io/variant: v4.7
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-odo-master-v4.7-e2e-4x-psi
optional: true
rerun_command: /test v4.7-e2e-4x-psi
run_if_changed: ^(?:[^d]+|d(?:$|[^o]|o(?:$|[^c]|c(?:$|[^s]))))*$
spec:
Expand Down