-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathocm-container-minimal-push.yaml
More file actions
49 lines (49 loc) · 1.64 KB
/
ocm-container-minimal-push.yaml
File metadata and controls
49 lines (49 loc) · 1.64 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
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift/ocm-container?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
== "master" && (
"Containerfile".pathChanged() ||
"utils/*".pathChanged() ||
".tekton/ocm-container-minimal-push.yaml".pathChanged() ||
".tekton/ocm-container-minimal-pull-request.yaml".pathChanged() ||
".tekton/pipeline-pull-request-build-image.yaml".pathChanged()
)
creationTimestamp: null
labels:
appstudio.openshift.io/application: ocm-container
appstudio.openshift.io/component: ocm-container-minimal
pipelines.appstudio.openshift.io/type: build
name: ocm-container-minimal-on-push
namespace: ocm-container-tenant
spec:
pipelineRef:
name: pull-request-build-image
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/ocm-container-tenant/ocm-container-minimal:latest
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- name: dockerfile
value: Containerfile
- name: target
value: ocm-container-minimal
taskRunTemplate:
serviceAccountName: build-pipeline-ocm-container-minimal
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}