Skip to content

Commit

Permalink
docker-build-rhtap: drop unwanted things
Browse files Browse the repository at this point in the history
As usual, the docker-build-rhtap pipeline has inherited unwanted things
from template-build.yaml because the approach of using kustomization to
strip out tasks is fragile.

* Remove unwanted tasks: apply-tags, push-dockerfile
* Remove unused workspace: netrc

Signed-off-by: Adam Cmiel <[email protected]>
  • Loading branch information
chmeliik committed Jul 25, 2024
1 parent f8ad065 commit 0a431a1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pipelines/docker-build-rhtap/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@
path: /spec/tasks/3/runAfter/0
value: clone-repository
- op: remove
path: /spec/tasks/10 # sbom-json-check
path: /spec/tasks/12 # push-dockerfile
- op: remove
path: /spec/tasks/11 # apply-tags
- op: remove
path: /spec/tasks/10 # sbom-json-check
- op: remove
path: /spec/tasks/9 # clamav-scan
- op: remove
Expand All @@ -105,6 +109,8 @@
path: /spec/tasks/4 # build-source-image
- op: remove
path: /spec/tasks/2 # prefetch-dependencies
- op: remove
path: /spec/workspaces/2 # netrc (only used for prefetch-dependencies)
- op: add
path: /spec/tasks/-
value:
Expand Down

0 comments on commit 0a431a1

Please sign in to comment.