Skip to content

Commit 937c4d1

Browse files
authored
Merge pull request #1407 from yash2189/pull_request_template
Added PipelineRun Configuration for odh-model-controller for rhoai-2.16
2 parents fcf8304 + 60f2f4e commit 937c4d1

1 file changed

Lines changed: 68 additions & 0 deletions

File tree

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/odh-model-controller?rev={{revision}}
6+
build.appstudio.redhat.com/commit_sha: '{{revision}}'
7+
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
8+
build.appstudio.redhat.com/pull_request_number: "{{pull_request_number}}"
9+
pipelinesascode.tekton.dev/max-keep-runs: "3"
10+
pipelinesascode.tekton.dev/on-comment: "^/build-konflux"
11+
pipelinesascode.tekton.dev/on-event: "[pull_request]"
12+
pipelinesascode.tekton.dev/cancel-in-progress: "true"
13+
labels:
14+
appstudio.openshift.io/application: automation
15+
appstudio.openshift.io/component: pull-request-pipelines-odh-model-controller-v2-16
16+
pipelines.appstudio.openshift.io/type: build
17+
name: odh-model-controller-v2-16-on-pull-request
18+
namespace: rhoai-tenant
19+
spec:
20+
params:
21+
- name: git-url
22+
value: '{{source_url}}'
23+
- name: revision
24+
value: '{{revision}}'
25+
- name: additional-tags
26+
value:
27+
- '{{target_branch}}-{{revision}}'
28+
- 'pr-{{pull_request_number}}-into-{{target_branch}}'
29+
- name: additional-labels
30+
value:
31+
- version=on-pr-{{revision}}
32+
- io.openshift.tags=odh-model-controller-v2-16
33+
- name: output-image
34+
value: quay.io/rhoai/pull-request-pipelines:odh-model-controller-v2-16-{{revision}}
35+
- name: dockerfile
36+
value: Dockerfile.konflux
37+
- name: path-context
38+
value: .
39+
- name: hermetic
40+
value: "true"
41+
- name: prefetch-input
42+
value: '{"type": "gomod", "path": "."}'
43+
- name: build-source-image
44+
value: "true"
45+
- name: build-image-index
46+
value: "false"
47+
- name: enable-slack-failure-notification
48+
value: "false"
49+
- name: image-expires-after
50+
value: 5d
51+
- name: rhoai-version
52+
value: 2.16.0
53+
pipelineRef:
54+
resolver: git
55+
params:
56+
- name: url
57+
value: https://github.com/red-hat-data-services/konflux-central.git
58+
- name: revision
59+
value: '{{ target_branch }}'
60+
- name: pathInRepo
61+
value: pipelines/container-build.yaml
62+
taskRunTemplate:
63+
serviceAccountName: build-pipeline-pull-request-pipelines
64+
workspaces:
65+
- name: git-auth
66+
secret:
67+
secretName: '{{ git_auth_secret }}'
68+
status: {}

0 commit comments

Comments
 (0)