From d0e4f004de7d4c60ed78b1744bcca5e8839f8570 Mon Sep 17 00:00:00 2001 From: Max batleforc Date: Sat, 24 Aug 2024 03:27:45 +0200 Subject: [PATCH] fix: task param --- cicd/Chart.yaml | 2 +- cicd/templates/push/pipelinePush.yaml | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/cicd/Chart.yaml b/cicd/Chart.yaml index c3741f8..f49e60b 100644 --- a/cicd/Chart.yaml +++ b/cicd/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.5 +version: 0.1.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/cicd/templates/push/pipelinePush.yaml b/cicd/templates/push/pipelinePush.yaml index 883744d..8ecfe78 100644 --- a/cicd/templates/push/pipelinePush.yaml +++ b/cicd/templates/push/pipelinePush.yaml @@ -18,6 +18,10 @@ spec: type: string default: main description: The git repo revision to clone from. + - name: repo-small-path + type: string + default: batleforc/monofolio + description: The git repo small path to clone from. - name: conteneurfile-path type: string default: . @@ -62,7 +66,7 @@ spec: - name: SHA value: $(params.repo-revision) - name: DESCRIPTION - value: Monofolio build and push $(params.image-name) + value: Monofolio build and push $(params.conteneurfile-path) - name: STATE value: pending - name: CONTEXT @@ -137,7 +141,7 @@ spec: - name: SHA value: $(params.repo-revision) - name: DESCRIPTION - value: Monofolio build and push $(params.image-name) + value: Monofolio build and push $(params.conteneurfile-path) - name: CONTEXT value: monofolio-ci - name: GITHUB_TOKEN_SECRET_NAME @@ -160,7 +164,7 @@ spec: - name: SHA value: $(params.repo-revision) - name: DESCRIPTION - value: Monofolio build and push $(params.image-name) + value: Monofolio build and push $(params.conteneurfile-path) - name: CONTEXT value: monofolio-ci - name: GITHUB_TOKEN_SECRET_NAME @@ -183,7 +187,7 @@ spec: - name: SHA value: $(params.repo-revision) - name: DESCRIPTION - value: Monofolio build and push $(params.image-name) + value: Monofolio build and push $(params.conteneurfile-path) - name: CONTEXT value: monofolio-ci - name: GITHUB_TOKEN_SECRET_NAME