Skip to content

[release-1.36] Update Konflux configurations #3720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
55 changes: 55 additions & 0 deletions .tekton/serverless-index-136-fbc-419-pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-knative/serverless-operator?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
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/')) )
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-136-fbc-419
appstudio.openshift.io/component: serverless-index-136-fbc-419
pipelines.appstudio.openshift.io/type: build
name: serverless-index-136-fbc-419-on-pull-request
namespace: ocp-serverless-tenant
spec:
params:
- name: dockerfile
value: Dockerfile
- name: path-context
value: ./olm-catalog/serverless-operator-index/v4.19
- name: build-args
value:
- VERSION=1.36.0
- CLI_ARTIFACTS=registry.redhat.io/openshift4/ose-cli-artifacts:v4.14
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi8/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi8/nodejs-20
- OPM_IMAGE=brew.registry.redhat.io/rh-osbs/openshift-ose-operator-registry-rhel9:v4.19
- name: git-url
value: '{{source_url}}'
- name: hermetic
value: "true"
- name: image-expires-after
value: 5d
- name: output-image
value: quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-136-fbc-419/serverless-index-136-fbc-419:on-pr-{{revision}}
- name: build-platforms
value:
- linux/x86_64
- name: revision
value: '{{revision}}'
pipelineRef:
name: fbc-builder
taskRunTemplate:
serviceAccountName: build-pipeline-serverless-index-136-fbc-419
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
54 changes: 54 additions & 0 deletions .tekton/serverless-index-136-fbc-419-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-knative/serverless-operator?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
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/')) )
creationTimestamp: null
labels:
appstudio.openshift.io/application: serverless-operator-136-fbc-419
appstudio.openshift.io/component: serverless-index-136-fbc-419
pipelines.appstudio.openshift.io/type: build
name: serverless-index-136-fbc-419-on-push
namespace: ocp-serverless-tenant
spec:
params:
- name: dockerfile
value: Dockerfile
- name: path-context
value: ./olm-catalog/serverless-operator-index/v4.19
- name: build-args
value:
- VERSION=1.36.0
- CLI_ARTIFACTS=registry.redhat.io/openshift4/ose-cli-artifacts:v4.14
- GO_BUILDER=brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_golang_1.23
- GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
- JAVA_BUILDER=registry.access.redhat.com/ubi8/openjdk-21
- JAVA_RUNTIME=registry.access.redhat.com/ubi8/openjdk-21-runtime
- NODE_BUILDER=registry.access.redhat.com/ubi8/nodejs-20
- NODE_RUNTIME=registry.access.redhat.com/ubi8/nodejs-20
- OPM_IMAGE=brew.registry.redhat.io/rh-osbs/openshift-ose-operator-registry-rhel9:v4.19
- name: git-url
value: '{{source_url}}'
- name: hermetic
value: "true"
- name: output-image
value: quay.io/redhat-user-workloads/ocp-serverless-tenant/serverless-operator-136-fbc-419/serverless-index-136-fbc-419:{{revision}}
- name: revision
value: '{{revision}}'
- name: additional-tags
value:
- $(context.pipelineRun.uid)-{{revision}}
- 1.36.0
- latest
pipelineRef:
name: fbc-builder
taskRunTemplate:
serviceAccountName: build-pipeline-serverless-index-136-fbc-419
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
Loading