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
61 changes: 61 additions & 0 deletions .tekton/glo-grafana-globalhub-1-6-pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/stolostron/glo-grafana?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/cancel-in-progress: "true"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "release-1.6"
creationTimestamp: null
labels:
appstudio.openshift.io/application: release-globalhub-1-6
appstudio.openshift.io/component: glo-grafana-globalhub-1-6
pipelines.appstudio.openshift.io/type: build
name: glo-grafana-globalhub-1-6-on-pull-request
namespace: acm-multicluster-glo-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/acm-multicluster-glo-tenant/glo-grafana-globalhub-1-6:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: build-platforms
value:
- linux/x86_64
- linux/ppc64le
- linux/s390x
- linux/arm64
- name: dockerfile
value: Containerfile.konflux
- name: path-context
value: .
- name: build-source-image
value: "true"
- name: hermetic
value: "true"
- name: prefetch-input
value: '[ {"type": "gomod", "path": "."} ]'
pipelineRef:
resolver: git
params:
- name: url
value: "https://github.com/stolostron/konflux-build-catalog.git"
- name: revision
value: main
- name: pathInRepo
value: pipelines/common.yaml
taskRunTemplate:
serviceAccountName: build-pipeline-glo-grafana-globalhub-1-6
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
58 changes: 58 additions & 0 deletions .tekton/glo-grafana-globalhub-1-6-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/stolostron/glo-grafana?rev={{revision}}
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/cancel-in-progress: "false"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "release-1.6"
creationTimestamp: null
labels:
appstudio.openshift.io/application: release-globalhub-1-6
appstudio.openshift.io/component: glo-grafana-globalhub-1-6
pipelines.appstudio.openshift.io/type: build
name: glo-grafana-globalhub-1-6-on-push
namespace: acm-multicluster-glo-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/acm-multicluster-glo-tenant/glo-grafana-globalhub-1-6:{{revision}}
- name: build-platforms
value:
- linux/x86_64
- linux/ppc64le
- linux/s390x
- linux/arm64
- name: dockerfile
value: Containerfile.konflux
- name: path-context
value: .
- name: build-source-image
value: "true"
- name: hermetic
value: "true"
- name: prefetch-input
value: '[ {"type": "gomod", "path": "."} ]'
pipelineRef:
resolver: git
params:
- name: url
value: "https://github.com/stolostron/konflux-build-catalog.git"
- name: revision
value: main
- name: pathInRepo
value: pipelines/common.yaml
taskRunTemplate:
serviceAccountName: build-pipeline-glo-grafana-globalhub-1-6
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}