Skip to content
Open
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
7 changes: 7 additions & 0 deletions pipelines/docker-build-oci-ta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ spec:
value: pipelines/docker-build-oci-ta/pipeline.yaml
```

Optional PipelineRun params (in addition to the Konflux catalog defaults):

| Param | Default | When to set `true` |
|---|---|---|
| `skip-preflight-cert-check` | `false` | Scratch / PKO images that fail ecosystem cert preflight |
| `skip-roxctl-scan` | `false` | Scratch / PKO images that fail ACS `roxctl-scan` (no OS). Does **not** skip clamav, SAST, or RPM signature scans. Prefer this over `skip-checks`. |

### References

- https://konflux.pages.redhat.com/docs/users/patterns/centralize-pipeline-definitions.html
8 changes: 8 additions & 0 deletions pipelines/docker-build-oci-ta/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ spec:
default: "false"
type: string
description: Skip the preflight cert-check. This can required for scratch images. Valid values are false and true.
- name: skip-roxctl-scan
default: "false"
type: string
description: Skip ACS/roxctl-scan only (keep clamav, SAST, RPM signature, etc.). Use for FROM-scratch PKO/package images that have no OS for ACS to scan. Valid values are false and true.

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.

Shouldn't ACS/roxctl just gracefully handle when there is an inability to scan?

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.

Looks like it's being solved with https://redhat.atlassian.net/browse/KONFLUX-15651

- name: enable-package-registry-proxy
default: 'true'
description: Use the package registry proxy when prefetching dependencies
Expand Down Expand Up @@ -305,6 +309,10 @@ spec:
operator: in
values:
- "false"
- input: $(params.skip-roxctl-scan)
operator: in
values:
- "false"
- name: ecosystem-cert-preflight-checks
params:
- name: image-url
Expand Down