Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions .tekton/openshift-gitops-operator-bundle-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,9 @@ metadata:
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "pull_request" &&
target_branch == "master" &&
(
files.all.exists(x, x.matches('bundle/')) ||
files.all.exists(x, x.matches('bundle.Dockerfile')) ||
files.all.exists(x, x.matches('.tekton/openshift-gitops-operator-bundle-pull-request.yaml'))
)
pipelinesascode.tekton.dev/on-cel-expression: "event == \"pull_request\" && \ntarget_branch
== \"master\" &&\n(\n files.all.exists(x, x.matches('bundle/')) ||\n files.all.exists(x,
x.matches('bundle.Dockerfile')) ||\n files.all.exists(x, x.matches('.tekton/openshift-gitops-operator-bundle-pull-request.yaml'))\n)\n"
creationTimestamp: null
labels:
appstudio.openshift.io/application: openshift-gitops-operator
Expand All @@ -35,10 +30,10 @@ spec:
- name: dockerfile
value: bundle.Dockerfile
- name: hermetic
value: true
value: "true"
- name: build-platforms
value:
- linux/x86_64
- linux/x86_64
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down Expand Up @@ -469,7 +464,8 @@ spec:
optional: true
- name: netrc
optional: true
taskRunTemplate: {}
taskRunTemplate:
serviceAccountName: build-pipeline-openshift-gitops-operator-bundle
workspaces:
- name: git-auth
secret:
Expand Down
24 changes: 10 additions & 14 deletions .tekton/openshift-gitops-operator-bundle-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,9 @@ metadata:
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: |
event == "push" &&
target_branch == "master" &&
(
files.all.exists(x, x.matches('bundle/')) ||
files.all.exists(x, x.matches('bundle.Dockerfile')) ||
files.all.exists(x, x.matches('.tekton/openshift-gitops-operator-bundle-push.yaml'))
)
pipelinesascode.tekton.dev/on-cel-expression: "event == \"push\" && \ntarget_branch
== \"master\" &&\n(\n files.all.exists(x, x.matches('bundle/')) ||\n files.all.exists(x,
x.matches('bundle.Dockerfile')) ||\n files.all.exists(x, x.matches('.tekton/openshift-gitops-operator-bundle-push.yaml'))\n)\n"
creationTimestamp: null
labels:
appstudio.openshift.io/application: openshift-gitops-operator
Expand All @@ -32,13 +27,13 @@ spec:
- name: dockerfile
value: bundle.Dockerfile
- name: hermetic
value: true
value: "true"
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- linux/ppc64le
- linux/s390x
- linux/x86_64
- linux/arm64
- linux/ppc64le
- linux/s390x
pipelineSpec:
description: |
This pipeline is ideal for building multi-arch container images from a Containerfile while maintaining trust after pipeline customization.
Expand Down Expand Up @@ -469,7 +464,8 @@ spec:
optional: true
- name: netrc
optional: true
taskRunTemplate: {}
taskRunTemplate:
serviceAccountName: build-pipeline-openshift-gitops-operator-bundle
workspaces:
- name: git-auth
secret:
Expand Down
Loading