Skip to content

Commit

Permalink
Update tekton payload from main
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Dec 13, 2024
1 parent f9810fe commit fd92c81
Show file tree
Hide file tree
Showing 4 changed files with 188 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .tekton/tektoncd-pruner-next-controller-pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-pruner?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
== "main" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/controller.Dockerfile".pathChanged() ||
".tekton/tektoncd-pruner-next-controller-pull-request.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: tektoncd-pruner-next
appstudio.openshift.io/component: tektoncd-pruner-next-controller
pipelines.appstudio.openshift.io/type: build
name: tektoncd-pruner-next-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/tektoncd-pruner-next/controller: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
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
46 changes: 46 additions & 0 deletions .tekton/tektoncd-pruner-next-controller-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-pruner?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
== "main" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/controller.Dockerfile".pathChanged() ||
".tekton/tektoncd-pruner-next-controller-push.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: tektoncd-pruner-next
appstudio.openshift.io/component: tektoncd-pruner-next-controller
pipelines.appstudio.openshift.io/type: build
name: tektoncd-pruner-next-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/tektoncd-pruner-next/controller:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/controller.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux-m2xlarge/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
48 changes: 48 additions & 0 deletions .tekton/tektoncd-pruner-next-webhook-pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-pruner?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
== "main" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/webhook.Dockerfile".pathChanged() ||
".tekton/tektoncd-pruner-next-webhook-pull-request.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: tektoncd-pruner-next
appstudio.openshift.io/component: tektoncd-pruner-next-webhook
pipelines.appstudio.openshift.io/type: build
name: tektoncd-pruner-next-webhook-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/tektoncd-pruner-next/webhook:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: dockerfile
value: .konflux/dockerfiles/webhook.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
46 changes: 46 additions & 0 deletions .tekton/tektoncd-pruner-next-webhook-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-pruner?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
== "main" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/webhook.Dockerfile".pathChanged() ||
".tekton/tektoncd-pruner-next-webhook-push.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: tektoncd-pruner-next
appstudio.openshift.io/component: tektoncd-pruner-next-webhook
pipelines.appstudio.openshift.io/type: build
name: tektoncd-pruner-next-webhook-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/tektoncd-pruner-next/webhook:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/webhook.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux-m2xlarge/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}

0 comments on commit fd92c81

Please sign in to comment.