@leverege/build-tools 2.9.2 → 2.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.9.2",
3
+ "version": "2.9.3",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/helmup CHANGED
@@ -539,6 +539,9 @@ function doInstall() {
539
539
  # slap additional helm syntax in there if the version is set
540
540
  [ ! -z "$CHARTVER" ] && CHARTVER="--version $CHARTVER"
541
541
 
542
+ # set the dry-run flag on what
543
+ [ "`basename $0`" == "helmwhat" ] && WHAT="--dry-run --debug"
544
+
542
545
  # If we're referencing a plugin then execute it and continue
543
546
  ifPluggedIn $SERVICE && continue
544
547
 
@@ -614,7 +617,7 @@ function doInstall() {
614
617
  transponder-*)
615
618
  # transponders use the same chart but different deployment name
616
619
  helm upgrade --install $SERVICE leverege/transponder \
617
- --values $SERVICE/values.yaml
620
+ --values $SERVICE/values.yaml $CHARTVER $WHAT
618
621
  ;;
619
622
 
620
623
  "traefik")
@@ -651,7 +654,6 @@ function doInstall() {
651
654
  MUSEUM=$(<${OVERRIDE})
652
655
  printf "\n$YELO_WARN Local chartmuseum name override from ${SERVICE} to ${MUSEUM}\n"
653
656
  fi
654
- [ "`basename $0`" == "helmwhat" ] && WHAT="--dry-run --debug"
655
657
  HELMUP="helm upgrade --install $SERVICE leverege/$MUSEUM -f $SERVICE/values.yaml $CHARTVER $WHAT"
656
658
  printf "Helming => `color g \"$HELMUP\"`\n" && $HELMUP
657
659
  SAVERR=$?