Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .tekton/central-db-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ spec:
- name: build
computeResources:
limits:
cpu: 1
memory: 3Gi
requests:
cpu: 1
memory: 3Gi
- pipelineTaskName: rpms-signature-scan
stepSpecs:
Expand Down
1 change: 1 addition & 0 deletions .tekton/create-custom-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ spec:
steps:
- name: determine
image: registry.redhat.io/ubi9-minimal:latest@sha256:ae09ecc3d754bc1726cbda3e2599cc7839e09fe1cc547ce173cf669b645be3cc
imagePullPolicy: IfNotPresent
# The script expresses the same condition as pipelinesascode.tekton.dev/on-cel-expression in other pipelines
# but in a more verbose way because, as it turns out, both syntax and fields of CEL expressions are slightly
# different.
Expand Down
10 changes: 6 additions & 4 deletions .tekton/main-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,17 @@ spec:
- name: prefetch-dependencies
computeResources:
limits:
memory: 5Gi
memory: 6Gi
requests:
memory: 5Gi
memory: 6Gi
- name: create-trusted-artifact
computeResources: &ta-resources
limits:
cpu: 2
memory: 5Gi
memory: 7Gi
requests:
cpu: 2
memory: 5Gi
memory: 7Gi
- pipelineTaskName: build-images
podTemplate: *go-memlimit
stepSpecs:
Expand All @@ -111,8 +111,10 @@ spec:
- name: build
computeResources:
limits:
cpu: 1
memory: 3Gi
requests:
cpu: 1
memory: 3Gi
- pipelineTaskName: sast-shell-check
podTemplate: *go-memlimit
Expand Down
10 changes: 6 additions & 4 deletions .tekton/operator-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ spec:
- name: prefetch-dependencies
computeResources:
limits:
memory: 5Gi
memory: 6Gi
requests:
memory: 5Gi
memory: 6Gi
- name: create-trusted-artifact
computeResources: &ta-resources
limits:
cpu: 2
memory: 5Gi
memory: 7Gi
requests:
cpu: 2
memory: 5Gi
memory: 7Gi
- pipelineTaskName: build-images
podTemplate: *go-memlimit
stepSpecs:
Expand All @@ -104,8 +104,10 @@ spec:
- name: build
computeResources:
limits:
cpu: 1
memory: 3Gi
requests:
cpu: 1
memory: 3Gi
- pipelineTaskName: sast-shell-check
podTemplate: *go-memlimit
Expand Down
10 changes: 6 additions & 4 deletions .tekton/operator-bundle-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@ spec:
- name: prefetch-dependencies
computeResources:
limits:
memory: 5Gi
memory: 6Gi
requests:
memory: 5Gi
memory: 6Gi
- name: create-trusted-artifact
computeResources: &ta-resources
limits:
cpu: 2
memory: 5Gi
memory: 7Gi
requests:
cpu: 2
memory: 5Gi
memory: 7Gi
- pipelineTaskName: build-container
podTemplate: *go-memlimit
stepSpecs:
Expand All @@ -101,8 +101,10 @@ spec:
- name: build
computeResources:
limits:
cpu: 1
memory: 3Gi
requests:
cpu: 1
memory: 3Gi
- pipelineTaskName: sast-shell-check
podTemplate: *go-memlimit
Expand Down
4 changes: 4 additions & 0 deletions .tekton/operator-index-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ spec:
steps:
- name: compute-index-tag
image: registry.access.redhat.com/ubi9-minimal:latest@sha256:ae09ecc3d754bc1726cbda3e2599cc7839e09fe1cc547ce173cf669b645be3cc
imagePullPolicy: IfNotPresent
script: |
#!/bin/bash
set -euo pipefail
Expand Down Expand Up @@ -348,11 +349,13 @@ spec:
steps:
- name: use-trusted-artifact
image: quay.io/redhat-appstudio/build-trusted-artifacts:latest@sha256:9b180776a41d9a22a1c51539f1647c60defbbd55b44bbebdd4130e33512d8b0d
imagePullPolicy: IfNotPresent
args:
- use
- $(params.SOURCE_ARTIFACT)=/var/workdir/source
- name: build-index-content
image: brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.25@sha256:977bd041377a1367c8b102a460ae8e63f89905f7cf9d8235484ae658c9b47646
imagePullPolicy: IfNotPresent
workingDir: /var/workdir/source/operator
securityContext:
runAsUser: 0
Expand Down Expand Up @@ -383,6 +386,7 @@ spec:
echo "Index content generated successfully"
- name: create-trusted-artifact
image: quay.io/redhat-appstudio/build-trusted-artifacts:latest@sha256:9b180776a41d9a22a1c51539f1647c60defbbd55b44bbebdd4130e33512d8b0d
imagePullPolicy: IfNotPresent
args:
- create
- --store
Expand Down
10 changes: 6 additions & 4 deletions .tekton/roxctl-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ spec:
- name: prefetch-dependencies
computeResources:
limits:
memory: 5Gi
memory: 6Gi
requests:
memory: 5Gi
memory: 6Gi
- name: create-trusted-artifact
computeResources: &ta-resources
limits:
cpu: 2
memory: 5Gi
memory: 7Gi
requests:
cpu: 2
memory: 5Gi
memory: 7Gi
- pipelineTaskName: build-images
podTemplate: *go-memlimit
stepSpecs:
Expand All @@ -104,8 +104,10 @@ spec:
- name: build
computeResources:
limits:
cpu: 1
memory: 3Gi
requests:
cpu: 1
memory: 3Gi
- pipelineTaskName: sast-shell-check
podTemplate: *go-memlimit
Expand Down
10 changes: 6 additions & 4 deletions .tekton/scanner-v4-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ spec:
- name: prefetch-dependencies
computeResources:
limits:
memory: 5Gi
memory: 6Gi
requests:
memory: 5Gi
memory: 6Gi
- name: create-trusted-artifact
computeResources: &ta-resources
limits:
cpu: 2
memory: 5Gi
memory: 7Gi
requests:
cpu: 2
memory: 5Gi
memory: 7Gi
- pipelineTaskName: build-images
podTemplate: *go-memlimit
stepSpecs:
Expand All @@ -104,8 +104,10 @@ spec:
- name: build
computeResources:
limits:
cpu: 1
memory: 3Gi
requests:
cpu: 1
memory: 3Gi
- pipelineTaskName: sast-shell-check
podTemplate: *go-memlimit
Expand Down
2 changes: 2 additions & 0 deletions .tekton/scanner-v4-db-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ spec:
- name: build
computeResources:
limits:
cpu: 1
memory: 3Gi
requests:
cpu: 1
memory: 3Gi
- pipelineTaskName: rpms-signature-scan
stepSpecs:
Expand Down
Loading