@leverege/build-tools 2.1.6 → 2.1.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/helmup +5 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/helmup CHANGED
@@ -21,7 +21,6 @@ PLATFORM=(
21
21
 
22
22
  SYSTEM=(
23
23
  coredns
24
- disks
25
24
  elastic
26
25
  monitoring
27
26
  polaris
@@ -348,12 +347,11 @@ helm repo update &> /dev/null # && helm search leverege
348
347
  # If a helmup.plugin file exists and is executable helmup assumes it is
349
348
  # an installation specific script that should be executed instead of one
350
349
  # of the standard setup scripts.
351
- #
352
350
  function ifPluggedIn() {
353
351
  PLUGIN="$1/helmup.plugin"
354
352
  [ ! -x $PLUGIN ] && return 1
355
353
  printf "\n***Executing local plugin code => `color y $PLUGIN`\n\n" && sleep 2
356
- "$PLUGIN"
354
+ . $PLUGIN # executing with . allows the plugin to use functions like color
357
355
  return 0
358
356
  }
359
357
 
@@ -381,10 +379,10 @@ function doInstall() {
381
379
  printf "\nGithub repo is here => https://github.com/helm/charts/tree/master/stable/coredns\n\n"
382
380
  ;;
383
381
 
384
- "disks")
385
- checkSSDStorageClass
386
- helm upgrade --install disks ./disks
387
- ;;
382
+ # "disks") DEPRECATED
383
+ # checkSSDStorageClass
384
+ # helm upgrade --install disks ./disks
385
+ # ;;
388
386
 
389
387
  "elastic"|"elasticsearch")
390
388
  checkSSDStorageClass