forked from opendatahub-io/models-as-a-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathodh-maas-controller-pull-request.yaml
More file actions
60 lines (60 loc) · 1.93 KB
/
odh-maas-controller-pull-request.yaml
File metadata and controls
60 lines (60 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/opendatahub-io/models-as-a-service?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main" && !files.all.all(x, x.matches('^docs/') || x.matches('\\.md$')
|| x.matches('^(.*/)?(\\.gitignore|OWNERS|PROJECT|LICENSE)$')
|| x.matches('^\\.github/'))
creationTimestamp: null
labels:
appstudio.openshift.io/application: opendatahub-builds
appstudio.openshift.io/component: odh-maas-controller-ci
pipelines.appstudio.openshift.io/type: build
name: odh-maas-controller-on-pull-request
namespace: open-data-hub-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/opendatahub/maas-controller:odh-pr
- name: dockerfile
value: Dockerfile
- name: path-context
value: maas-controller
- name: additional-tags
value:
- 'odh-pr-{{revision}}'
- name: pipeline-type
value: pull-request
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- linux/ppc64le
- linux/s390x
pipelineRef:
resolver: git
params:
- name: url
value: https://github.com/opendatahub-io/odh-konflux-central.git
- name: revision
value: main
- name: pathInRepo
value: pipeline/multi-arch-container-build.yaml
taskRunTemplate:
serviceAccountName: build-pipeline-odh-maas-controller-ci
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}