From ee03c7c55a75ac8044466cdc65ac4b2effb713c3 Mon Sep 17 00:00:00 2001 From: Jian Zhu Date: Mon, 9 Dec 2024 10:58:02 +0800 Subject: [PATCH] :seedling: [main] update konflux files (#803) * Formatting all tekton files Signed-off-by: zhujian * Update konflux CEL from backplane-2.8 to main Signed-off-by: zhujian * Formatting all tekton files Signed-off-by: zhujian --------- Signed-off-by: zhujian --- .../multicloud-manager-mce-28-pull-request.yaml | 17 ++++++----------- .tekton/multicloud-manager-mce-28-push.yaml | 17 ++++++----------- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/.tekton/multicloud-manager-mce-28-pull-request.yaml b/.tekton/multicloud-manager-mce-28-pull-request.yaml index 98db9f1aa..a672cf6b2 100644 --- a/.tekton/multicloud-manager-mce-28-pull-request.yaml +++ b/.tekton/multicloud-manager-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: multicloud-manager-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/multicloud-manager-mce-28-push.yaml b/.tekton/multicloud-manager-mce-28-push.yaml index f035b84aa..f5723c7e9 100644 --- a/.tekton/multicloud-manager-mce-28-push.yaml +++ b/.tekton/multicloud-manager-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: multicloud-manager-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: