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
10 changes: 10 additions & 0 deletions ci-operator/config/stackrox/stackrox/stackrox-stackrox-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ tests:
steps:
test:
- ref: stackrox-e2e
- as: gke-sensor-integration-tests
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You will need to add a merge- a postsubmit: true version of this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added that in fec3275

optional: true
steps:
test:
- ref: stackrox-e2e
- as: gke-operator-e2e-tests
optional: true
steps:
Expand Down Expand Up @@ -140,6 +145,11 @@ tests:
steps:
test:
- ref: stackrox-e2e
- as: merge-gke-sensor-integration-tests
postsubmit: true
steps:
test:
- ref: stackrox-e2e
- as: merge-gke-upgrade-tests
postsubmit: true
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ tests:
steps:
test:
- ref: stackrox-e2e
- as: gke-sensor-integration-tests
postsubmit: true
steps:
test:
- ref: stackrox-e2e
- as: gke-oldest-nongroovy-e2e-tests
postsubmit: true
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ tests:
steps:
test:
- ref: stackrox-e2e
- as: gke-sensor-integration-tests
optional: true
steps:
test:
- ref: stackrox-e2e
- as: gke-upgrade-tests
optional: true
steps:
Expand Down Expand Up @@ -115,6 +120,11 @@ tests:
steps:
test:
- ref: stackrox-e2e
- as: merge-gke-sensor-integration-tests
postsubmit: true
steps:
test:
- ref: stackrox-e2e
- as: merge-gke-kernel-qa-e2e-tests
postsubmit: true
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,58 @@ postsubmits:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
always_run: true
branches:
- ^master$
cluster: build01
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-stackrox-stackrox-master-merge-gke-sensor-integration-tests
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
- --secret-dir=/secrets/ci-pull-credentials
- --target=merge-gke-sensor-integration-tests
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- 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: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
always_run: true
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,64 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )gke-scale-tests,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^master$
- ^master-
cluster: build02
context: ci/prow/gke-sensor-integration-tests
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-stackrox-stackrox-master-gke-sensor-integration-tests
optional: true
rerun_command: /test gke-sensor-integration-tests
skip_if_only_changed: ^ui/
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
- --secret-dir=/secrets/ci-pull-credentials
- --target=gke-sensor-integration-tests
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- 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: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )gke-sensor-integration-tests,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down Expand Up @@ -797,7 +855,7 @@ presubmits:
secretName: result-aggregator
trigger: (?m)^/test( | .* )ocp-4-10-qa-e2e-tests,?($|\s.*)
- agent: kubernetes
always_run: true
always_run: false
branches:
- ^master$
- ^master-
Expand All @@ -816,6 +874,7 @@ presubmits:
name: pull-ci-stackrox-stackrox-master-ocp-4-10-sensor-integration-tests
optional: true
rerun_command: /test ocp-4-10-sensor-integration-tests
run_if_changed: ^((generated|sensor|image|operator|pkg|make|deploy|scripts)/.*|Makefile|status\.sh|COLLECTOR_VERSION|EXPECTED_GO_VERSION)
spec:
containers:
- args:
Expand Down Expand Up @@ -1285,7 +1344,7 @@ presubmits:
secretName: result-aggregator
trigger: (?m)^/test( | .* )ocp-4-12-qa-e2e-tests,?($|\s.*)
- agent: kubernetes
always_run: true
always_run: false
branches:
- ^master$
- ^master-
Expand All @@ -1304,6 +1363,7 @@ presubmits:
name: pull-ci-stackrox-stackrox-master-ocp-4-12-sensor-integration-tests
optional: true
rerun_command: /test ocp-4-12-sensor-integration-tests
run_if_changed: ^((generated|sensor|image|operator|pkg|make|deploy|scripts)/.*|Makefile|status\.sh|COLLECTOR_VERSION|EXPECTED_GO_VERSION)
spec:
containers:
- args:
Expand Down Expand Up @@ -1604,7 +1664,7 @@ presubmits:
secretName: result-aggregator
trigger: (?m)^/test( | .* )ocp-4-13-qa-e2e-tests,?($|\s.*)
- agent: kubernetes
always_run: true
always_run: false
branches:
- ^master$
- ^master-
Expand All @@ -1623,6 +1683,7 @@ presubmits:
name: pull-ci-stackrox-stackrox-master-ocp-4-13-sensor-integration-tests
optional: true
rerun_command: /test ocp-4-13-sensor-integration-tests
run_if_changed: ^((generated|sensor|image|operator|pkg|make|deploy|scripts)/.*|Makefile|status\.sh|COLLECTOR_VERSION|EXPECTED_GO_VERSION)
spec:
containers:
- args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,51 @@ postsubmits:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
always_run: true
branches:
- ^nightlies$
cluster: build01
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-stackrox-stackrox-nightlies-gke-sensor-integration-tests
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=gke-sensor-integration-tests
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
- agent: kubernetes
always_run: true
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,51 @@ postsubmits:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
always_run: true
branches:
- ^release-x\.y$
cluster: build02
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-stackrox-stackrox-release-x.y-merge-gke-sensor-integration-tests
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=merge-gke-sensor-integration-tests
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
- agent: kubernetes
always_run: true
branches:
Expand Down
Loading