Browse Source

HPCC-24195 Publish helm charts automatically when tagging platform

Additional fixes found when using for second time

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 5 năm trước cách đây
mục cha
commit
2ccc3b6f8a
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 2 1
      cmake_modules/go_gold.sh
  2. 1 1
      cmake_modules/go_rc.sh

+ 2 - 1
cmake_modules/go_gold.sh

@@ -82,12 +82,13 @@ if [ -e helm/hpcc/Chart.yaml ] ; then
   if [[ "$HPCC_MAJOR" == "7" ]] && [[ "$HPCC_MINOR" == "8" ]] ; then
     doit "rm -rf ./helm"
     doit "cp -rf $HPCC_DIR/helm ./helm" 
+    doit "rm ./helm/hpcc/*.bak" 
     doit "git add -A ./helm"
   fi
   cd docs
   doit "helm package ${HPCC_DIR}/helm/hpcc/"
   doit "helm repo index . --url https://hpcc-systems.github.io/helm-chart"
-  doit "git add docs/*.tgz"
+  doit "git add *.tgz"
   
   doit "git commit -a -s -m \"$HPCC_NAME Helm Charts $HPCC_SHORT_TAG Release Candidate $HPCC_SEQUENCE\""
   doit "git push $REMOTE master $FORCE"

+ 1 - 1
cmake_modules/go_rc.sh

@@ -100,7 +100,7 @@ if [ -e helm/hpcc/Chart.yaml ] ; then
   cd docs
   doit "helm package ${HPCC_DIR}/helm/hpcc/"
   doit "helm repo index . --url https://hpcc-systems.github.io/helm-chart"
-  doit "git add docs/*.tgz"
+  doit "git add *.tgz"
   
   doit "git commit -a -s -m \"$HPCC_NAME Helm Charts $HPCC_SHORT_TAG Release Candidate $HPCC_SEQUENCE\""
   doit "git push $REMOTE master $FORCE"