Skip to content

Commit

Permalink
Merge branch 'main' into STONEBLD-2269
Browse files Browse the repository at this point in the history
  • Loading branch information
skabashnyuk authored Mar 28, 2024
2 parents 6ed2ec5 + 0010322 commit 992256f
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions pipelines/fbc-builder/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,35 @@
value: "$(params.image-expires-after)"
- name: COMMIT_SHA
value: "$(tasks.clone-repository.results.commit)"
# Remove tasks
# Example - yq .spec.tasks.[].name ../build-definitions/pipelines/template-build/template-build.yaml | nl -v 0
# to compute offsets
# 0 init
# 1 clone-repository
# 2 prefetch-dependencies
# 3 build-container
# 4 build-source-image
# 5 deprecated-base-image-check
# 6 clair-scan
# 7 ecosystem-cert-preflight-checks
# 8 sast-snyk-check
# 9 clamav-scan
# 10 sbom-json-check
- op: replace
path: /spec/tasks/3/runAfter/0
value: clone-repository
- op: remove
path: /spec/tasks/9 # clamav-scan
- op: remove
path: /spec/tasks/8 # sast-snyk-check
- op: remove
path: /spec/tasks/7 # ecosystem-cert-preflight-checks
- op: remove
path: /spec/tasks/6 # clair-scan
- op: remove
path: /spec/tasks/4 # build-source-image
- op: remove
path: /spec/tasks/2 # prefetch-dependencies
- op: add
path: /spec/tasks/-
value:
Expand Down Expand Up @@ -88,6 +117,3 @@
workspaces:
- name: workspace
workspace: workspace
# - op: remove
# # build-source-image as source images are not needed for FBC components
# path: /spec/tasks/4

0 comments on commit 992256f

Please sign in to comment.