Skip to content

Commit 8ddd32b

Browse files
MohammadiIramsutaakar
authored andcommitted
add pipelineruns for odh ci builds (kubeflow#104)
1 parent 60c3f0c commit 8ddd32b

File tree

2 files changed

+65
-627
lines changed

2 files changed

+65
-627
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
apiVersion: tekton.dev/v1
2+
kind: PipelineRun
3+
metadata:
4+
annotations:
5+
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/training-operator?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/cancel-in-progress: "false"
10+
pipelinesascode.tekton.dev/max-keep-runs: "3"
11+
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
12+
== "stable"
13+
creationTimestamp: null
14+
labels:
15+
appstudio.openshift.io/application: opendatahub-builds
16+
appstudio.openshift.io/component: odh-training-operator-ci
17+
pipelines.appstudio.openshift.io/type: build
18+
name: odh-training-operator-on-pull-request
19+
namespace: open-data-hub-tenant
20+
spec:
21+
params:
22+
- name: git-url
23+
value: '{{source_url}}'
24+
- name: revision
25+
value: '{{revision}}'
26+
- name: output-image
27+
value: quay.io/opendatahub/training-operator:odh-pr
28+
- name: dockerfile
29+
value: build/images/training-operator/Dockerfile.rhoai
30+
- name: path-context
31+
value: .
32+
- name: additional-tags
33+
value:
34+
- 'odh-pr-{{revision}}'
35+
- name: pipeline-type
36+
value: pull-request
37+
pipelineRef:
38+
resolver: git
39+
params:
40+
- name: url
41+
value: https://github.com/opendatahub-io/odh-konflux-central.git
42+
- name: revision
43+
value: main
44+
- name: pathInRepo
45+
value: pipeline/multi-arch-container-build.yaml
46+
taskRunTemplate:
47+
serviceAccountName: build-pipeline-odh-training-operator
48+
workspaces:
49+
- name: git-auth
50+
secret:
51+
secretName: '{{ git_auth_secret }}'
52+
status: {}

0 commit comments

Comments
 (0)