From e4183ac67d3fe1a2eed78d8ad64197aa8ad88ded Mon Sep 17 00:00:00 2001 From: John Dietz Date: Mon, 5 Aug 2024 16:04:14 -0400 Subject: [PATCH] adjust publish and release to new chart source in cwfts (#495) * adjusting chart version details * correcting the release source of the chart version as well * leveraging new get-current-macro-chart-version-from-charts variation * adjustments to release job for chart version source --- .argo/publish.yaml | 13 +++++++++++++ .argo/release.yaml | 15 +++++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/.argo/publish.yaml b/.argo/publish.yaml index 9d6e91ac..d56aed7a 100644 --- a/.argo/publish.yaml +++ b/.argo/publish.yaml @@ -127,6 +127,19 @@ spec: - name: chartDir value: 'charts/kubefirst' + - - name: get-current-macro-chart-version + templateRef: + name: cwft-helm + template: get-macro-chart-version-from-charts + clusterScope: true + arguments: + artifacts: + - name: repo-source + from: '{{steps.set-app-version-and-bump-macro-chartz.outputs.artifacts.repo-source}}' + parameters: + - name: chartDir + value: "charts/kubefirst" + - - name: pull-commit-push-tag-charts templateRef: name: cwft-git diff --git a/.argo/release.yaml b/.argo/release.yaml index d5b176d6..0a1944a1 100644 --- a/.argo/release.yaml +++ b/.argo/release.yaml @@ -178,6 +178,18 @@ spec: - name: chartDir value: 'charts/kubefirst' + - - name: get-current-macro-chart-version + templateRef: + name: cwft-helm + template: get-macro-chart-version-from-charts + clusterScope: true + arguments: + artifacts: + - name: repo-source + from: '{{steps.set-app-version-and-bump-macro-chartz.outputs.artifacts.repo-source}}' + parameters: + - name: chartDir + value: "charts/kubefirst" - - name: pull-commit-push-tag-charts templateRef: @@ -196,5 +208,4 @@ spec: - name: repoName value: 'charts' - name: tag - value: 'kubefirst-v{{steps.get-initial-chart-version.outputs.result}}' - + value: 'kubefirst-v{{steps.get-current-macro-chart-version.outputs.result}}'