star/.tekton/rhel-10-star-pull-request.yaml
Tomas Kopecek 9d59c210c9 Introduce rpmbuild tekton pipeline
Resolves: RHEL-79677

Co-Authored-By: Pavel Raiskup <praiskup@redhat.com>
2025-02-14 17:36:15 +01:00

44 lines
1.4 KiB
YAML

---
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: '{{ source_url }}/-/tree/{{ 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"
creationTimestamp: null
labels:
appstudio.openshift.io/application: rhel-10-workload-apps-unsorted
appstudio.openshift.io/component: rhel-10-star
pipelines.appstudio.openshift.io/type: build
name: rhel-10-star-on-pull-request
namespace: rhel-sst-cs-database-tenant
spec:
params:
- name: application
value: rhel-10-workload-apps-unsorted
- name: package-name
value: star
- name: git-url
value: "{{ source_url }}"
- name: revision
value: "{{ revision }}"
- name: target-branch
value: "{{ target_branch }}"
pipelineRef:
resolver: git
params:
- name: url
value: "https://gitlab.cee.redhat.com/rhel-on-konflux/rpmbuild-pipeline.git"
- name: revision
value: main
- name: pathInRepo
value: pipeline/build-rhel-package.yaml
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'