Skip to content
Merged
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
44 changes: 44 additions & 0 deletions .tekton/fbc-v4-18-pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/netobserv/network-observability-operator?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
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
== "main"
creationTimestamp: null
labels:
appstudio.openshift.io/application: fbc-v4-18
appstudio.openshift.io/component: fbc-v4-18
pipelines.appstudio.openshift.io/type: build
name: fbc-v4-18-on-pull-request
namespace: ocp-network-observab-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/ocp-network-observab-tenant/fbc-v4-18:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: build-platforms
value:
- linux/x86_64
- name: dockerfile
value: catalog.Dockerfile.downstream
- name: opm-image
value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.18
- name: build-platforms
value: ["linux/x86_64"]
pipelineRef:
name: build-fbc-pipeline
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
46 changes: 46 additions & 0 deletions .tekton/fbc-v4-18-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/netobserv/network-observability-operator?rev={{revision}}
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
== "main" &&
(".tekton/***".pathChanged() ||
"catalog.Dockerfile.downstream".pathChanged() ||
"catalog/***".pathChanged() ||
"hack/update-build.sh".pathChanged() ||
"hack/bundle_digest.sh".pathChanged() ||
"hack/patch_catalog.py".pathChanged() ||
"hack/patch_csv.py".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: fbc-v4-18
appstudio.openshift.io/component: fbc-v4-18
pipelines.appstudio.openshift.io/type: build
name: fbc-v4-18-on-push
namespace: ocp-network-observab-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/ocp-network-observab-tenant/fbc-v4-18:{{revision}}
- name: build-platforms
value:
- linux/x86_64
- name: dockerfile
value: catalog.Dockerfile.downstream
- name: opm-image
value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.18
pipelineRef:
name: build-fbc-pipeline
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}