gdbm/.tekton/rhel-10-gdbm-push.yaml
Tomas Kopecek fdd6d4921b Introduce rpmbuild tekton pipeline
Resolves: RHEL-79677
2025-02-17 17:52:22 +01:00

43 lines
1.3 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/target_branch: '{{ target_branch }}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "{{ target_branch }}"
creationTimestamp: null
labels:
appstudio.openshift.io/application: rhel-10-workload-embedded
appstudio.openshift.io/component: rhel-10-gdbm
pipelines.appstudio.openshift.io/type: build
name: rhel-10-gdbm-on-push
namespace: rhel-sst-cs-database-tenant
spec:
params:
- name: application
value: rhel-10-workload-embedded
- name: package-name
value: gdbm
- 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 }}'