-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Red Hat Konflux update fbc-v4-16 (#926)
* Red Hat Konflux update fbc-v4-16 Signed-off-by: red-hat-konflux <[email protected]> * Update fbc-v4-16-pull-request.yaml * Update fbc-v4-16-push.yaml * Update fbc-v4-16-pull-request.yaml --------- Co-authored-by: red-hat-konflux <[email protected]> Co-authored-by: Olivier Cazade <[email protected]>
- Loading branch information
1 parent
a90be9d
commit bfeb22a
Showing
2 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
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" && | ||
(".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-16 | ||
appstudio.openshift.io/component: fbc-v4-16 | ||
pipelines.appstudio.openshift.io/type: build | ||
name: fbc-v4-16-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-16:on-pr-{{revision}} | ||
- name: image-expires-after | ||
value: 5d | ||
- name: dockerfile | ||
value: catalog.Dockerfile.downstream | ||
- name: opm-image | ||
value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.16 | ||
pipelineRef: | ||
name: build-fbc-pipeline | ||
workspaces: | ||
- name: workspace | ||
volumeClaimTemplate: | ||
metadata: | ||
creationTimestamp: null | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
status: {} | ||
- name: git-auth | ||
secret: | ||
secretName: '{{ git_auth_secret }}' | ||
status: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
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-16 | ||
appstudio.openshift.io/component: fbc-v4-16 | ||
pipelines.appstudio.openshift.io/type: build | ||
name: fbc-v4-16-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-16:latest | ||
- name: dockerfile | ||
value: catalog.Dockerfile.downstream | ||
- name: opm-image | ||
value: registry.redhat.io/openshift4/ose-operator-registry-rhel9:v4.16 | ||
pipelineRef: | ||
name: build-fbc-pipeline | ||
workspaces: | ||
- name: workspace | ||
volumeClaimTemplate: | ||
metadata: | ||
creationTimestamp: null | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
status: {} | ||
- name: git-auth | ||
secret: | ||
secretName: '{{ git_auth_secret }}' | ||
status: {} |