-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathodh-maas-api-push.yaml
More file actions
52 lines (52 loc) · 1.54 KB
/
odh-maas-api-push.yaml
File metadata and controls
52 lines (52 loc) · 1.54 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
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}}'
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: opendatahub-builds
appstudio.openshift.io/component: odh-maas-api-ci
pipelines.appstudio.openshift.io/type: build
name: odh-maas-api-on-push
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-api:odh-stable
- name: dockerfile
value: maas-api/Dockerfile
- name: path-context
value: maas-api
- 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-maas-api-poc
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}