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
51 changes: 51 additions & 0 deletions .tekton/tektoncd-chains-1-21-controller-pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Generated for Konflux Application openshift-pipelines-core-1.21 by openshift-pipelines/hack. DO NOT EDIT
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
pipelinesascode.tekton.dev/cancel-in-progress: "true" # Cancel in-progress pipelines
pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/operator/refs/heads/main/.tekton/docker-build-ta.yaml"
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-chains.git?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-v1.21.x" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/controller.Dockerfile".pathChanged() ||
".tekton/tektoncd-chains-1-21-controller-pull-request.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: openshift-pipelines-core-1-21
appstudio.openshift.io/component: tektoncd-chains-1-21-controller
pipelines.appstudio.openshift.io/type: build
name: tektoncd-chains-1-21-controller-on-pull-request
namespace: tekton-ecosystem-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/1-21/chains-controller-rhel9:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: dockerfile
value: .konflux/dockerfiles/controller.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
taskRunTemplate:
serviceAccountName: build-pipeline-tektoncd-chains-1-21-controller
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
45 changes: 45 additions & 0 deletions .tekton/tektoncd-chains-1-21-controller-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Generated for Konflux Application openshift-pipelines-core-1.21 by openshift-pipelines/hack. DO NOT EDIT
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
pipelinesascode.tekton.dev/cancel-in-progress: "true" # Cancel in-progress pipelines
pipelinesascode.tekton.dev/pipeline: "https://raw.githubusercontent.com/openshift-pipelines/operator/refs/heads/main/.tekton/docker-build-ta.yaml"
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-chains.git?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-v1.21.x" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/controller.Dockerfile".pathChanged() ||
".tekton/tektoncd-chains-1-21-controller-push.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: openshift-pipelines-core-1-21
appstudio.openshift.io/component: tektoncd-chains-1-21-controller
pipelines.appstudio.openshift.io/type: build
name: tektoncd-chains-1-21-controller-on-push
namespace: tekton-ecosystem-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/1-21/chains-controller-rhel9:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/controller.Dockerfile
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
taskRunTemplate:
serviceAccountName: build-pipeline-tektoncd-chains-1-21-controller
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}