Skip to content

Commit

Permalink
[bot] update konflux configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
openshift-pipelines-bot authored and vdemeester committed Dec 10, 2024
1 parent 38c8166 commit 6519506
Show file tree
Hide file tree
Showing 13 changed files with 800 additions and 3 deletions.
497 changes: 497 additions & 0 deletions .konflux/tekton/next/.tekton/docker-build-ta.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-hub?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" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/db-migration.Dockerfile".pathChanged() ||
".tekton/tektoncd-hub-next-db-migration-pull-request.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: tektoncd-hub-next
appstudio.openshift.io/component: tektoncd-hub-next-db-migration
pipelines.appstudio.openshift.io/type: build
name: tektoncd-hub-next-db-migration-on-pull-request
namespace: tekton-ecosystem-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-hub-next/db-migration:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: dockerfile
value: .konflux/dockerfiles/db-migration.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-hub?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" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/db-migration.Dockerfile".pathChanged() ||
".tekton/tektoncd-hub-next-db-migration-push.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: tektoncd-hub-next
appstudio.openshift.io/component: tektoncd-hub-next-db-migration
pipelines.appstudio.openshift.io/type: build
name: tektoncd-hub-next-db-migration-on-push
namespace: tekton-ecosystem-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-hub-next/db-migration:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/db-migration.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-hub?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" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/hub-api.Dockerfile".pathChanged() ||
".tekton/tektoncd-hub-next-hub-api-pull-request.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: tektoncd-hub-next
appstudio.openshift.io/component: tektoncd-hub-next-hub-api
pipelines.appstudio.openshift.io/type: build
name: tektoncd-hub-next-hub-api-on-pull-request
namespace: tekton-ecosystem-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-hub-next/hub-api:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: dockerfile
value: .konflux/dockerfiles/hub-api.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
46 changes: 46 additions & 0 deletions .konflux/tekton/next/.tekton/tektoncd-hub-next-hub-api-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-hub?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" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/hub-api.Dockerfile".pathChanged() ||
".tekton/tektoncd-hub-next-hub-api-push.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: tektoncd-hub-next
appstudio.openshift.io/component: tektoncd-hub-next-hub-api
pipelines.appstudio.openshift.io/type: build
name: tektoncd-hub-next-hub-api-on-push
namespace: tekton-ecosystem-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-hub-next/hub-api:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/hub-api.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-hub?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" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/hub-ui.Dockerfile".pathChanged() ||
".tekton/tektoncd-hub-next-hub-ui-pull-request.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: tektoncd-hub-next
appstudio.openshift.io/component: tektoncd-hub-next-hub-ui
pipelines.appstudio.openshift.io/type: build
name: tektoncd-hub-next-hub-ui-on-pull-request
namespace: tekton-ecosystem-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-hub-next/hub-ui:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: dockerfile
value: .konflux/dockerfiles/hub-ui.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "npm", "path": "upstream/ui"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
46 changes: 46 additions & 0 deletions .konflux/tekton/next/.tekton/tektoncd-hub-next-hub-ui-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Generated by openshift-pipelines/hack. DO NOT EDIT.
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/openshift-pipelines/tektoncd-hub?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" &&
("upstream/***".pathChanged() || ".konflux/patches/***".pathChanged() || ".konflux/rpms/***".pathChanged() ||
".konflux/dockerfiles/hub-ui.Dockerfile".pathChanged() ||
".tekton/tektoncd-hub-next-hub-ui-push.yaml".pathChanged() ||
".tekton/docker-build-ta.yaml".pathChanged())
creationTimestamp: null
labels:
appstudio.openshift.io/application: tektoncd-hub-next
appstudio.openshift.io/component: tektoncd-hub-next-hub-ui
pipelines.appstudio.openshift.io/type: build
name: tektoncd-hub-next-hub-ui-on-push
namespace: tekton-ecosystem-tenant
spec:
params:
- name: git-url
value: '{{source_url}}'
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-hub-next/hub-ui:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/hub-ui.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "npm", "path": "upstream/ui"}
pipelineRef:
name: docker-build-ta
workspaces:
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'
status: {}
3 changes: 2 additions & 1 deletion .tekton/tektoncd-hub-main-db-migration-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ spec:
value: .konflux/dockerfiles/db-migration.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
Expand Down
4 changes: 4 additions & 0 deletions .tekton/tektoncd-hub-main-db-migration-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-hub-main/db-migration:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/db-migration.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
Expand Down
3 changes: 2 additions & 1 deletion .tekton/tektoncd-hub-main-hub-api-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ spec:
value: .konflux/dockerfiles/hub-api.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
Expand Down
4 changes: 4 additions & 0 deletions .tekton/tektoncd-hub-main-hub-api-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-hub-main/hub-api:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/hub-api.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "rpm", "path": ".konflux/rpms"}
Expand Down
3 changes: 2 additions & 1 deletion .tekton/tektoncd-hub-main-hub-ui-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ spec:
value: .konflux/dockerfiles/hub-ui.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "npm", "path": "upstream/ui"}
Expand Down
4 changes: 4 additions & 0 deletions .tekton/tektoncd-hub-main-hub-ui-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
value: quay.io/redhat-user-workloads/tekton-ecosystem-tenant/tektoncd-hub-main/hub-ui:{{revision}}
- name: dockerfile
value: .konflux/dockerfiles/hub-ui.Dockerfile
- name: build-platforms
value:
- linux/x86_64
- linux/arm64
- name: prefetch-input
value: |
{"type": "npm", "path": "upstream/ui"}
Expand Down

0 comments on commit 6519506

Please sign in to comment.