Skip to content

Commit 02d848f

Browse files
serverless-qeserverless-qe
andauthored
[release-1.36] Sync Konflux configurations (#3720)
Co-authored-by: serverless-qe <[email protected]>
1 parent 17a7115 commit 02d848f

File tree

2 files changed

+109
-0
lines changed

2 files changed

+109
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/openshift-knative/serverless-operator?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
8+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
9+
pipelinesascode.tekton.dev/max-keep-runs: "3"
10+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "release-1.36" && ( files.all.exists(x, x.matches('^olm-catalog/serverless-operator-index/v4.19/')) || files.all.exists(x, x.matches('^.tekton/')) )
11+
creationTimestamp: null
12+
labels:
13+
appstudio.openshift.io/application: serverless-operator-136-fbc-419
14+
appstudio.openshift.io/component: serverless-index-136-fbc-419
15+
pipelines.appstudio.openshift.io/type: build
16+
name: serverless-index-136-fbc-419-on-pull-request
17+
namespace: ocp-serverless-tenant
18+
spec:
19+
params:
20+
- name: dockerfile
21+
value: Dockerfile
22+
- name: path-context
23+
value: ./olm-catalog/serverless-operator-index/v4.19
24+
- name: build-args
25+
value:
26+
- VERSION=1.36.0
27+
- CLI_ARTIFACTS=registry.redhat.io/openshift4/ose-cli-artifacts:v4.14
28+
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23
29+
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
30+
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
31+
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
32+
- NODE_BUILDER=registry.access.redhat.com/ubi8/nodejs-20
33+
- NODE_RUNTIME=registry.access.redhat.com/ubi8/nodejs-20
34+
- OPM_IMAGE=brew.registry.redhat.io/rh-osbs/openshift-ose-operator-registry-rhel9:v4.19
35+
- name: git-url
36+
value: '{{source_url}}'
37+
- name: hermetic
38+
value: "true"
39+
- name: image-expires-after
40+
value: 5d
41+
- name: output-image
42+
value: quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-136-fbc-419/serverless-index-136-fbc-419:on-pr-{{revision}}
43+
- name: build-platforms
44+
value:
45+
- linux/x86_64
46+
- name: revision
47+
value: '{{revision}}'
48+
pipelineRef:
49+
name: fbc-builder
50+
taskRunTemplate:
51+
serviceAccountName: build-pipeline-serverless-index-136-fbc-419
52+
workspaces:
53+
- name: git-auth
54+
secret:
55+
secretName: '{{ git_auth_secret }}'
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/openshift-knative/serverless-operator?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
pipelinesascode.tekton.dev/max-keep-runs: "3"
9+
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "release-1.36" && ( files.all.exists(x, x.matches('^olm-catalog/serverless-operator-index/v4.19/')) || files.all.exists(x, x.matches('^.tekton/')) )
10+
creationTimestamp: null
11+
labels:
12+
appstudio.openshift.io/application: serverless-operator-136-fbc-419
13+
appstudio.openshift.io/component: serverless-index-136-fbc-419
14+
pipelines.appstudio.openshift.io/type: build
15+
name: serverless-index-136-fbc-419-on-push
16+
namespace: ocp-serverless-tenant
17+
spec:
18+
params:
19+
- name: dockerfile
20+
value: Dockerfile
21+
- name: path-context
22+
value: ./olm-catalog/serverless-operator-index/v4.19
23+
- name: build-args
24+
value:
25+
- VERSION=1.36.0
26+
- CLI_ARTIFACTS=registry.redhat.io/openshift4/ose-cli-artifacts:v4.14
27+
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23
28+
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
29+
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
30+
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
31+
- NODE_BUILDER=registry.access.redhat.com/ubi8/nodejs-20
32+
- NODE_RUNTIME=registry.access.redhat.com/ubi8/nodejs-20
33+
- OPM_IMAGE=brew.registry.redhat.io/rh-osbs/openshift-ose-operator-registry-rhel9:v4.19
34+
- name: git-url
35+
value: '{{source_url}}'
36+
- name: hermetic
37+
value: "true"
38+
- name: output-image
39+
value: quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-136-fbc-419/serverless-index-136-fbc-419:{{revision}}
40+
- name: revision
41+
value: '{{revision}}'
42+
- name: additional-tags
43+
value:
44+
- $(context.pipelineRun.uid)-{{revision}}
45+
- 1.36.0
46+
- latest
47+
pipelineRef:
48+
name: fbc-builder
49+
taskRunTemplate:
50+
serviceAccountName: build-pipeline-serverless-index-136-fbc-419
51+
workspaces:
52+
- name: git-auth
53+
secret:
54+
secretName: '{{ git_auth_secret }}'

0 commit comments

Comments
 (0)