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 @@ -8,6 +8,13 @@ images:
items:
- dockerfile_path: Containerfile
to: lightspeed-service-api
- dockerfile_literal: |
FROM quay.io/openshift-lightspeed/ols-qe:tls-scanner AS scanner
FROM src
COPY --from=scanner /usr/local/bin/tls-scanner /usr/local/bin/tls-scanner
COPY --from=scanner /opt/testssl /opt/testssl
from: src
to: tls-scan-src
Comment thread
coderabbitai[bot] marked this conversation as resolved.
promotion:
to:
- namespace: ols
Expand All @@ -31,6 +38,12 @@ tests:
container:
from: src
skip_if_only_changed: ^docs/|\.md$|^\.tekton/|^\.github/|^hack/|^(?:.*/)?(?:\.gitignore|\.snyk|\.dockerignore|OWNERS|PROJECT|LICENSE)$
- as: tls-scan
commands: unset KUBERNETES_SERVICE_HOST KUBERNETES_SERVICE_PORT && make install-deps
&& make tls-scan
container:
from: tls-scan-src
skip_if_only_changed: ^docs/|\.md$|^\.tekton/|^\.github/|^hack/|^(?:.*/)?(?:\.gitignore|\.snyk|\.dockerignore|OWNERS|PROJECT|LICENSE)$
- as: unit
commands: |
export CODECOV_TOKEN=$(cat /tmp/secret/CODECOV_TOKEN)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,71 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )security,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
- ^main$
- ^main-
cluster: build12
context: ci/prow/tls-scan
decorate: true
decoration_config:
sparse_checkout_files:
- Containerfile
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-lightspeed-service-main-tls-scan
rerun_command: /test tls-scan
skip_if_only_changed: ^docs/|\.md$|^\.tekton/|^\.github/|^hack/|^(?:.*/)?(?:\.gitignore|\.snyk|\.dockerignore|OWNERS|PROJECT|LICENSE)$
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=tls-scan
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
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( | .* )tls-scan,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down