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 @@ -92,6 +92,7 @@ tests:
- as: regression-clusterinfra-azure-ipi-mapi
optional: true
run_if_changed: ^(go\.mod|go\.sum)$
shard_count: 3
steps:
cluster_profile: azure4
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ presubmits:
- ^main$
- ^main-
cluster: build03
context: ci/prow/regression-clusterinfra-azure-ipi-mapi
context: ci/prow/regression-clusterinfra-azure-ipi-mapi-1of3
decorate: true
decoration_config:
timeout: 7h0m0s
Expand All @@ -535,16 +535,17 @@ presubmits:
ci-operator.openshift.io/cloud-cluster-profile: azure4
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-machine-api-provider-azure-main-regression-clusterinfra-azure-ipi-mapi
name: pull-ci-openshift-machine-api-provider-azure-main-regression-clusterinfra-azure-ipi-mapi-1of3
optional: true
rerun_command: /test regression-clusterinfra-azure-ipi-mapi
rerun_command: /test regression-clusterinfra-azure-ipi-mapi-1of3
run_if_changed: ^(go\.mod|go\.sum)$
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
- --multi-stage-param=SHARD_ARGS="--shard-count 3 --shard-id 1"
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=regression-clusterinfra-azure-ipi-mapi
Expand Down Expand Up @@ -595,7 +596,161 @@ presubmits:
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )regression-clusterinfra-azure-ipi-mapi,?($|\s.*)
trigger: (?m)^/test( | .* )regression-clusterinfra-azure-ipi-mapi-1of3,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^main$
- ^main-
cluster: build03
context: ci/prow/regression-clusterinfra-azure-ipi-mapi-2of3
decorate: true
decoration_config:
timeout: 7h0m0s
labels:
ci-operator.openshift.io/cloud: azure4
ci-operator.openshift.io/cloud-cluster-profile: azure4
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-machine-api-provider-azure-main-regression-clusterinfra-azure-ipi-mapi-2of3
optional: true
rerun_command: /test regression-clusterinfra-azure-ipi-mapi-2of3
run_if_changed: ^(go\.mod|go\.sum)$
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
- --multi-stage-param=SHARD_ARGS="--shard-count 3 --shard-id 2"
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=regression-clusterinfra-azure-ipi-mapi
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: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
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: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )regression-clusterinfra-azure-ipi-mapi-2of3,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^main$
- ^main-
cluster: build03
context: ci/prow/regression-clusterinfra-azure-ipi-mapi-3of3
decorate: true
decoration_config:
timeout: 7h0m0s
labels:
ci-operator.openshift.io/cloud: azure4
ci-operator.openshift.io/cloud-cluster-profile: azure4
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-machine-api-provider-azure-main-regression-clusterinfra-azure-ipi-mapi-3of3
optional: true
rerun_command: /test regression-clusterinfra-azure-ipi-mapi-3of3
run_if_changed: ^(go\.mod|go\.sum)$
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
- --multi-stage-param=SHARD_ARGS="--shard-count 3 --shard-id 3"
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=regression-clusterinfra-azure-ipi-mapi
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: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
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: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )regression-clusterinfra-azure-ipi-mapi-3of3,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,9 @@ function run {
fi

echo "final scenarios: ${test_scenarios}"
extended-platform-tests run all --dry-run | \
echo "SHARD_ARGS=\"${SHARD_ARGS}\""

extended-platform-tests run all --dry-run ${SHARD_ARGS:-} | \
grep -E "${test_scenarios}" | grep -E "${TEST_IMPORTANCE}" > ./case_selected

hardcoded_filters="~NonUnifyCI&;~Flaky&;~DEPRECATED&;~SUPPLEMENTARY&;~VMonly&;~ProdrunOnly&;~StagerunOnly&"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ ref:
documentation: |-
Indicates if the active cluster is an OpenShift cluster or a derivative (e.g., Hypershift, Microshift).
A value of "true" means the cluster is OpenShift or a derivative, while "false" means it is not (e.g., AKS).
- name: SHARD_ARGS
default: ""
documentation: |-
Arguments to be passed to 'extended-platform-tests' regarding the sharding parameters of this run
- name: MULTI_STAGE_OVERRIDE_NETOBSERV_CS_IMAGE
default: ""
documentation: |-
Expand Down