File tree 2 files changed +30
-5
lines changed
2 files changed +30
-5
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,14 @@ metadata:
7
7
build.appstudio.redhat.com/pull_request_number : ' {{pull_request_number}}'
8
8
build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
9
9
pipelinesascode.tekton.dev/max-keep-runs : " 3"
10
- pipelinesascode.tekton.dev/on-cel-expression : event == "pull_request" && target_branch
11
- == "master"
10
+ pipelinesascode.tekton.dev/on-cel-expression : |
11
+ event == "pull_request" &&
12
+ target_branch == "master" &&
13
+ (
14
+ files.all.exists(x, x.matches('bundle/')) ||
15
+ files.all.exists(x, x.matches('bundle.Dockerfile')) ||
16
+ files.all.exists(x, x.matches('.tekton/openshift-gitops-operator-bundle-pull-request.yaml'))
17
+ )
12
18
creationTimestamp : null
13
19
labels :
14
20
appstudio.openshift.io/application : openshift-gitops-operator
28
34
value : 5d
29
35
- name : dockerfile
30
36
value : bundle.Dockerfile
37
+ - name : hermetic
38
+ value : true
39
+ - name : build-platforms
40
+ value :
41
+ - linux/x86_64
31
42
pipelineSpec :
32
43
description : |
33
44
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Original file line number Diff line number Diff line change @@ -6,8 +6,14 @@ metadata:
6
6
build.appstudio.redhat.com/commit_sha : ' {{revision}}'
7
7
build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
8
8
pipelinesascode.tekton.dev/max-keep-runs : " 3"
9
- pipelinesascode.tekton.dev/on-cel-expression : event == "push" && target_branch
10
- == "master"
9
+ pipelinesascode.tekton.dev/on-cel-expression : |
10
+ event == "push" &&
11
+ target_branch == "master" &&
12
+ (
13
+ files.all.exists(x, x.matches('bundle/')) ||
14
+ files.all.exists(x, x.matches('bundle.Dockerfile')) ||
15
+ files.all.exists(x, x.matches('.tekton/openshift-gitops-operator-bundle-push-request.yaml'))
16
+ )
11
17
creationTimestamp : null
12
18
labels :
13
19
appstudio.openshift.io/application : openshift-gitops-operator
24
30
- name : output-image
25
31
value : quay.io/redhat-user-workloads/rh-openshift-gitops-tenant/openshift-gitops-operator/openshift-gitops-operator-bundle:{{revision}}
26
32
- name : dockerfile
27
- value : bundle/bundle.Dockerfile
33
+ value : bundle.Dockerfile
34
+ - name : hermetic
35
+ value : true
36
+ - name : build-platforms
37
+ value :
38
+ - linux/x86_64
39
+ - linux/arm64
40
+ - linux/ppc64le
41
+ - linux/s390x
28
42
pipelineSpec :
29
43
description : |
30
44
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
You can’t perform that action at this time.
0 commit comments