Skip to content

Commit

Permalink
Test computeResources at the task level
Browse files Browse the repository at this point in the history
Signed-off-by: Hugo Arès <[email protected]>
  • Loading branch information
hugares committed Aug 9, 2024
1 parent 2680275 commit 1bb434e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions task/buildah/0.2/buildah.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ metadata:
tekton.dev/tags: "image-build, konflux"
name: buildah
spec:
computeResources:
limits:
memory: 4Gi
cpu: 4
requests:
memory: 2Gi
cpu: 1
description: |-
Buildah task builds source code into a container image and pushes the image into container registry using buildah tool.
In addition it generates a SBOM file, injects the SBOM file into final container image and pushes the SBOM file as separate image using cosign tool.
Expand Down Expand Up @@ -166,12 +173,6 @@ spec:
steps:
- image: quay.io/konflux-ci/buildah:latest@sha256:7cb5a35b7fe44e397fbf3b834f3bd8dcd9403a7c0a0b51469e6ec75b107d0846
name: build
computeResources:
limits:
memory: 4Gi
requests:
memory: 512Mi
cpu: 250m
env:
- name: COMMIT_SHA
value: $(params.COMMIT_SHA)
Expand Down Expand Up @@ -484,7 +485,6 @@ spec:

- name: inject-sbom-and-push
image: quay.io/konflux-ci/buildah:latest@sha256:7cb5a35b7fe44e397fbf3b834f3bd8dcd9403a7c0a0b51469e6ec75b107d0846
computeResources: {}
script: |
#!/bin/bash
set -e
Expand Down

0 comments on commit 1bb434e

Please sign in to comment.