Skip to content

Commit

Permalink
Some minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Stringy committed Jul 25, 2024
1 parent 679c56c commit 5fc75cb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .tekton/scanner-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ spec:
secretName: '{{ git_auth_secret }}'

taskRunSpecs:
# For all build-container-* tasks:
# Provision more CPU to speed up build compared to the defaults.
# https://github.com/redhat-appstudio/build-definitions/blob/main/task/buildah/0.1/buildah.yaml#L126
- pipelineTaskName: build-container-amd64
stepSpecs:
# Provision more CPU to speed up build compared to the defaults.
# https://github.com/redhat-appstudio/build-definitions/blob/main/task/buildah/0.1/buildah.yaml#L126
#
# This is not required for multi-arch builds, because they are performed off cluster
- name: build
computeResources:
requests:
Expand Down
6 changes: 3 additions & 3 deletions .tekton/scanner-component-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
- name: show-sbom
params:
- name: IMAGE_URL
value: $(tasks.build-image-manifest.results.IMAGE_URL)
value: $(tasks.build-container-amd64.results.IMAGE_URL)
taskRef:
params:
- name: name
Expand Down Expand Up @@ -243,7 +243,7 @@ spec:
- name: name
value: buildah-oci-ta
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-buildah-oci-ta:0.2
value: quay.io/redhat-appstudio-tekton-catalog/task-buildah-oci-ta:0.2@sha256:1911dc8ec67b3f8ae365b4cbe8d61a56ed69e4b46658b01caee486cfdfd38e89
- name: kind
value: task
resolver: bundles
Expand Down Expand Up @@ -300,7 +300,7 @@ spec:
- name: name
value: buildah-oci-ta
- name: bundle
value: quay.io/redhat-appstudio-tekton-catalog/task-buildah-oci-ta:0.2
value: quay.io/redhat-appstudio-tekton-catalog/task-buildah-remote-oci-ta:0.2@sha256:b62eadffad6737b237cbfa3e78114daba18da17e5028fe71707388cf8a102f31
- name: kind
value: task
resolver: bundles
Expand Down
7 changes: 4 additions & 3 deletions .tekton/scanner-slim-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,12 @@ spec:
secretName: '{{ git_auth_secret }}'

taskRunSpecs:
# For all build-container-* tasks:
# Provision more CPU to speed up build compared to the defaults.
# https://github.com/redhat-appstudio/build-definitions/blob/main/task/buildah/0.1/buildah.yaml#L126
- pipelineTaskName: build-container-amd64
stepSpecs:
# Provision more CPU to speed up build compared to the defaults.
# https://github.com/redhat-appstudio/build-definitions/blob/main/task/buildah/0.1/buildah.yaml#L126
#
# This is not required for multi-arch builds, because they are performed off cluster
- name: build
computeResources:
requests:
Expand Down

0 comments on commit 5fc75cb

Please sign in to comment.