Compare commits

...

1 Commits

Author SHA1 Message Date
4e6a8d6046 script for helm upload to cloudsmith 2022-12-05 11:53:49 -05:00
2 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,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.0
version: 0.0.1
# 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

View File

@ -0,0 +1,11 @@
export CLOUDSMITH_API_KEY=f5cf077b879c2ab46a49c6f1ec4199e6fba0fc0b
## Loop through each helm chart directoy and build each into helm package
for d in */ ; do
helm package $d
done
## Upload each packaged helm chart
for i in *.tgz; do
[ -f "$i" ] || break
cloudsmith push helm --republish infisical/helm-charts $i
done