Skip to content

Commit

Permalink
Red Hat Konflux update flowlogs-pipeline-1-7 (#750)
Browse files Browse the repository at this point in the history
* Red Hat Konflux update flowlogs-pipeline-1-7
Signed-off-by: red-hat-konflux <[email protected]>

* Update flowlogs-pipeline-1-7-pull-request.yaml

* Update flowlogs-pipeline-1-7-push.yaml

* Update flowlogs-pipeline-1-7-push.yaml

---------

Co-authored-by: red-hat-konflux <[email protected]>
Co-authored-by: Olivier Cazade <[email protected]>
  • Loading branch information
3 people authored Nov 8, 2024
1 parent 4a76f1d commit 39bc6c7
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .tekton/flowlogs-pipeline-1-7-pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/netobserv/flowlogs-pipeline?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.7"
creationTimestamp: null
labels:
appstudio.openshift.io/application: netobserv-operator-1-7
appstudio.openshift.io/component: flowlogs-pipeline-1-7
pipelines.appstudio.openshift.io/type: build
name: flowlogs-pipeline-1-7-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/flowlogs-pipeline-1-7:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: dockerfile
value: contrib/docker/Dockerfile.downstream
pipelineRef:
name: build-pipeline
taskRunTemplate: {}
workspaces:
- name: workspace
volumeClaimTemplate:
metadata:
creationTimestamp: null
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
status: {}
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
46 changes: 46 additions & 0 deletions .tekton/flowlogs-pipeline-1-7-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/flowlogs-pipeline?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.7"
creationTimestamp: null
labels:
appstudio.openshift.io/application: netobserv-operator-1-7
appstudio.openshift.io/component: flowlogs-pipeline-1-7
pipelines.appstudio.openshift.io/type: build
name: flowlogs-pipeline-1-7-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/flowlogs-pipeline-1-7:{{revision}}
- name: dockerfile
value: contrib/docker/Dockerfile.downstream
pipelineRef:
name: build-pipeline
taskRunTemplate: {}
workspaces:
- name: workspace
volumeClaimTemplate:
metadata:
creationTimestamp: null
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
status: {}
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}

0 comments on commit 39bc6c7

Please sign in to comment.