File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,14 @@ metadata:
77 build.appstudio.redhat.com/pull_request_number : ' {{pull_request_number}}'
88 build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
99 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+ )
1218 creationTimestamp : null
1319 labels :
1420 appstudio.openshift.io/application : openshift-gitops-operator
2834 value : 5d
2935 - name : dockerfile
3036 value : bundle.Dockerfile
37+ - name : hermetic
38+ value : true
39+ - name : build-platforms
40+ value :
41+ - linux/x86_64
3142 pipelineSpec :
3243 description : |
3344 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:
66 build.appstudio.redhat.com/commit_sha : ' {{revision}}'
77 build.appstudio.redhat.com/target_branch : ' {{target_branch}}'
88 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+ )
1117 creationTimestamp : null
1218 labels :
1319 appstudio.openshift.io/application : openshift-gitops-operator
2430 - name : output-image
2531 value : quay.io/redhat-user-workloads/rh-openshift-gitops-tenant/openshift-gitops-operator/openshift-gitops-operator-bundle:{{revision}}
2632 - 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
2842 pipelineSpec :
2943 description : |
3044 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