-
Notifications
You must be signed in to change notification settings - Fork 26
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 network-observability-operator-fbc-1-8 (#1079)
* Red Hat Konflux update network-observability-operator-fbc-1-8 Signed-off-by: red-hat-konflux <[email protected]> * Update network-observability-operator-fbc-1-8-pull-request.yaml * Update network-observability-operator-fbc-1-8-push.yaml --------- Co-authored-by: red-hat-konflux <[email protected]> Co-authored-by: Olivier Cazade <[email protected]>
- Loading branch information
1 parent
37d1027
commit 54a06c1
Showing
2 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
57 changes: 57 additions & 0 deletions
57
.tekton/network-observability-operator-fbc-1-8-pull-request.yaml
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 | ||
== "release-1.8" && | ||
(".tekton/***".pathChanged() || | ||
"catalog.Dockerfile.downstream".pathChanged() || | ||
"catalog/***".pathChanged() || | ||
"./requirements.txt".pathChanged() || | ||
"hack/update-build.sh".pathChanged() || | ||
"hack/patch_catalog.py".pathChanged() || | ||
"hack/patch_csv.py".pathChanged()) | ||
creationTimestamp: null | ||
labels: | ||
appstudio.openshift.io/application: netobserv-operator-1-8 | ||
appstudio.openshift.io/component: network-observability-operator-fbc-1-8 | ||
pipelines.appstudio.openshift.io/type: build | ||
name: network-observability-operator-fbc-1-8-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/netobserv-operator/network-observability-operator-fbc:on-pr-{{revision}} | ||
- name: image-expires-after | ||
value: 5d | ||
- name: dockerfile | ||
value: ./catalog.Dockerfile.downstream | ||
- name: build-platforms | ||
value: ["linux/x86_64"] | ||
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,52 @@ | ||
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 | ||
== "release-1.8" && | ||
(".tekton/***".pathChanged() || | ||
"catalog.Dockerfile.downstream".pathChanged() || | ||
"catalog/***".pathChanged() || | ||
"./requirements.txt".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: netobserv-operator-1-8 | ||
appstudio.openshift.io/component: network-observability-operator-fbc-1-8 | ||
pipelines.appstudio.openshift.io/type: build | ||
name: network-observability-operator-fbc-1-8-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/netobserv-operator/network-observability-operator-fbc:latest | ||
- name: dockerfile | ||
value: ./catalog.Dockerfile.downstream | ||
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 }}' |