filter only cma namespace for scan#74671
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: miyadav The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse pull-ci-openshift-cluster-machine-approver-release-4.22-tls13-conformance-cma |
|
@miyadav: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
| - dockerfile_literal: | | ||
| FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.22 AS builder | ||
| WORKDIR /app | ||
| RUN git clone --depth=1 --branch=main https://github.com/openshift/tls-scanner.git . && \ | ||
| make | ||
|
|
||
| FROM registry.ci.openshift.org/ocp/4.22:base-rhel9 | ||
| ARG OC_VERSION=latest | ||
| ARG UMOCI_VERSION=latest | ||
| RUN dnf -y update && \ | ||
| dnf install -y binutils file go podman runc jq skopeo nmap tar lsof && \ | ||
| dnf clean all | ||
| RUN wget -O "openshift-client-linux-${OC_VERSION}.tar.gz" "https://mirror.openshift.com/pub/openshift-v4/amd64/clients/ocp/${OC_VERSION}/openshift-client-linux.tar.gz" && \ | ||
| tar -C /usr/local/bin -xzvf "openshift-client-linux-$OC_VERSION.tar.gz" oc && \ | ||
| rm -f "openshift-client-linux-$OC_VERSION.tar.gz" | ||
| RUN curl --fail --retry 3 -LJO https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest-4.14/opm-linux.tar.gz && \ | ||
| tar -xzf opm-linux.tar.gz && \ | ||
| mv ./opm /usr/local/bin/ && \ | ||
| rm -f opm-linux.tar.gz | ||
| RUN wget -O /usr/local/bin/umoci "https://github.com/opencontainers/umoci/releases/$UMOCI_VERSION/download/umoci.linux.amd64" && \ | ||
| chmod +x /usr/local/bin/umoci | ||
| COPY --from=builder /app/bin/tls-scanner /usr/local/bin/tls-scanner | ||
| ENTRYPOINT ["/usr/local/bin/tls-scanner -namespace-filter openshift-cluster-machine-approver -all-pods"] | ||
| LABEL com.redhat.component="tls-scanner" | ||
| to: tls-scanner-tool |
There was a problem hiding this comment.
Do you think we could try and use this step from the registry : https://github.com/openshift/release/tree/0a352ddeb78172b9e2853774fef8b99e62869c5f/ci-operator/step-registry/tls/scanner/run ?
I think we need to investigate how to set the -namespace-filter and -all-pods flags with it though, or propose a modification to it.
|
/pj-rehearse pull-ci-openshift-cluster-machine-approver-release-4.22-tls13-conformance-cma |
|
@miyadav: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse pull-ci-openshift-cluster-machine-approver-release-4.22-tls13-conformance-cma |
|
@miyadav: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@miyadav: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Issues in openshift/release go stale after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issue in openshift/release rot after 15d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Rotten issues in openshift/release close after 15d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/hold