Skip to content

Commit

Permalink
adjust publish and release to new chart source in cwfts (#495)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
johndietz authored Aug 5, 2024
1 parent 2a704f6 commit e4183ac
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .argo/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 13 additions & 2 deletions .argo/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}}'

0 comments on commit e4183ac

Please sign in to comment.