From fbc6585888950f28eb7f5ed7a93c32bee4a175ea Mon Sep 17 00:00:00 2001 From: Jian Zhu Date: Wed, 4 Dec 2024 13:58:22 +0800 Subject: [PATCH] :seedling: [main] update konflux files (#169) * Formatting all tekton files Signed-off-by: zhujian * Update konflux CEL from backplane-2.8 to main Signed-off-by: zhujian --------- Signed-off-by: zhujian --- .tekton/OWNERS | 15 +++++++++++++++ ...aged-serviceaccount-mce-28-pull-request.yaml | 17 ++++++----------- .tekton/managed-serviceaccount-mce-28-push.yaml | 17 ++++++----------- 3 files changed, 27 insertions(+), 22 deletions(-) create mode 100644 .tekton/OWNERS diff --git a/.tekton/OWNERS b/.tekton/OWNERS new file mode 100644 index 0000000..3496e10 --- /dev/null +++ b/.tekton/OWNERS @@ -0,0 +1,15 @@ +approvers: +- zhujian7 +- zhiweiyin318 +- haoqing0110 +- elgnay +- xuezhaojun +- qiujian16 + +reviewers: +- zhujian7 +- zhiweiyin318 +- haoqing0110 +- elgnay +- xuezhaojun +- qiujian16 diff --git a/.tekton/managed-serviceaccount-mce-28-pull-request.yaml b/.tekton/managed-serviceaccount-mce-28-pull-request.yaml index 075d28e..8002ea9 100644 --- a/.tekton/managed-serviceaccount-mce-28-pull-request.yaml +++ b/.tekton/managed-serviceaccount-mce-28-pull-request.yaml @@ -7,9 +7,8 @@ metadata: 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 - == "backplane-2.8" - creationTimestamp: null + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" + creationTimestamp: labels: appstudio.openshift.io/application: release-mce-28 appstudio.openshift.io/component: managed-serviceaccount-mce-28 @@ -65,13 +64,11 @@ spec: name: output-image type: string - default: . - description: Path to the source code of an application's component from where - to build image. + description: Path to the source code of an application's component from where to build image. name: path-context type: string - default: Dockerfile - description: Path to the Dockerfile inside the context specified by parameter - path-context + description: Path to the Dockerfile inside the context specified by parameter path-context name: dockerfile type: string - default: "false" @@ -91,8 +88,7 @@ spec: name: prefetch-input type: string - default: "" - description: Image tag expiration time, time values could be something like - 1h, 2d, 3w for hours, days, and weeks, respectively. + description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively. name: image-expires-after - default: "false" description: Build a source image. @@ -112,8 +108,7 @@ spec: type: string - default: - linux/x86_64 - description: List of platforms to build the container images on. The available - set of values is determined by the configuration of the multi-platform-controller. + description: List of platforms to build the container images on. The available set of values is determined by the configuration of the multi-platform-controller. name: build-platforms type: array results: diff --git a/.tekton/managed-serviceaccount-mce-28-push.yaml b/.tekton/managed-serviceaccount-mce-28-push.yaml index 3c011bd..cf053f0 100644 --- a/.tekton/managed-serviceaccount-mce-28-push.yaml +++ b/.tekton/managed-serviceaccount-mce-28-push.yaml @@ -6,9 +6,8 @@ metadata: 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 - == "backplane-2.8" - creationTimestamp: null + pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" + creationTimestamp: labels: appstudio.openshift.io/application: release-mce-28 appstudio.openshift.io/component: managed-serviceaccount-mce-28 @@ -62,13 +61,11 @@ spec: name: output-image type: string - default: . - description: Path to the source code of an application's component from where - to build image. + description: Path to the source code of an application's component from where to build image. name: path-context type: string - default: Dockerfile - description: Path to the Dockerfile inside the context specified by parameter - path-context + description: Path to the Dockerfile inside the context specified by parameter path-context name: dockerfile type: string - default: "false" @@ -88,8 +85,7 @@ spec: name: prefetch-input type: string - default: "" - description: Image tag expiration time, time values could be something like - 1h, 2d, 3w for hours, days, and weeks, respectively. + description: Image tag expiration time, time values could be something like 1h, 2d, 3w for hours, days, and weeks, respectively. name: image-expires-after - default: "false" description: Build a source image. @@ -109,8 +105,7 @@ spec: type: string - default: - linux/x86_64 - description: List of platforms to build the container images on. The available - set of values is determined by the configuration of the multi-platform-controller. + description: List of platforms to build the container images on. The available set of values is determined by the configuration of the multi-platform-controller. name: build-platforms type: array results: