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

stackrox scanner 2.36 #61481

Merged
merged 1 commit into from
Feb 11, 2025
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
@@ -0,0 +1,85 @@
base_images:
ubi-minimal:
name: ubi-minimal
namespace: ocp
tag: "8"
build_root:
image_stream_tag:
name: apollo-ci
namespace: stackrox
tag: scanner-test-0.4.5
resources:
'*':
requests:
cpu: 2000m
memory: 4000Mi
test_binary_build_commands: .openshift-ci/dispatch.sh noop
tests:
- as: e2e-tests
optional: true
steps:
test:
- as: e2e-tests
commands: .openshift-ci/dispatch.sh e2e-tests
credentials:
- mount_path: /tmp/secret/stackrox-scanner-secrets
name: stackrox-scanner-secrets
namespace: test-credentials
from: src
resources:
requests:
cpu: 2000m
memory: 4000Mi
timeout: 3h0m0s
- as: slim-e2e-tests
optional: true
steps:
test:
- as: e2e-tests
commands: .openshift-ci/dispatch.sh slim-e2e-tests
credentials:
- mount_path: /tmp/secret/stackrox-scanner-secrets
name: stackrox-scanner-secrets
namespace: test-credentials
from: src
resources:
requests:
cpu: 2000m
memory: 4000Mi
timeout: 3h0m0s
- as: merge-e2e-tests
postsubmit: true
steps:
test:
- as: e2e-tests
commands: .openshift-ci/dispatch.sh e2e-tests
credentials:
- mount_path: /tmp/secret/stackrox-scanner-secrets
name: stackrox-scanner-secrets
namespace: test-credentials
from: src
resources:
requests:
cpu: 2000m
memory: 4000Mi
timeout: 3h0m0s
- as: merge-slim-e2e-tests
postsubmit: true
steps:
test:
- as: e2e-tests
commands: .openshift-ci/dispatch.sh slim-e2e-tests
credentials:
- mount_path: /tmp/secret/stackrox-scanner-secrets
name: stackrox-scanner-secrets
namespace: test-credentials
from: src
resources:
requests:
cpu: 2000m
memory: 4000Mi
timeout: 3h0m0s
zz_generated_metadata:
branch: release-2.36
org: stackrox
repo: scanner
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
postsubmits:
stackrox/scanner:
- agent: kubernetes
always_run: true
branches:
- ^release-2\.36$
cluster: build03
decorate: true
decoration_config:
skip_cloning: true
timeout: 3h0m0s
labels:
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-stackrox-scanner-release-2.36-merge-e2e-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-e2e-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: /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: 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
- agent: kubernetes
always_run: true
branches:
- ^release-2\.36$
cluster: build03
decorate: true
decoration_config:
skip_cloning: true
timeout: 3h0m0s
labels:
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-stackrox-scanner-release-2.36-merge-slim-e2e-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-slim-e2e-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: /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: 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
presubmits:
stackrox/scanner:
- agent: kubernetes
always_run: true
branches:
- ^release-2\.36$
- ^release-2\.36-
cluster: build03
context: ci/prow/e2e-tests
decorate: true
decoration_config:
skip_cloning: true
timeout: 3h0m0s
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-stackrox-scanner-release-2.36-e2e-tests
optional: true
rerun_command: /test e2e-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=e2e-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: /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: 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( | .* )e2e-tests,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^release-2\.36$
- ^release-2\.36-
cluster: build03
context: ci/prow/slim-e2e-tests
decorate: true
decoration_config:
skip_cloning: true
timeout: 3h0m0s
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-stackrox-scanner-release-2.36-slim-e2e-tests
optional: true
rerun_command: /test slim-e2e-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=slim-e2e-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: /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: 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( | .* )slim-e2e-tests,?($|\s.*)