@leverege/build-tools 2.6.4 → 2.6.5

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.6.4",
3
+ "version": "2.6.5",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/helmdn CHANGED
@@ -50,16 +50,17 @@ PLATFORM=(
50
50
  resource-server
51
51
  scheduler
52
52
  transponder-bq
53
- transponder-fb
54
53
  transponder-postgres
55
54
  transponder-rt
56
55
  )
57
56
 
58
57
  SYSTEM=(
59
58
  elastic
60
- monitoring
61
- polaris
62
59
  redis
60
+ postgres
61
+ timescale-db
62
+ monitoring
63
+ reloader
63
64
  traefik
64
65
  velero
65
66
  )
@@ -116,7 +117,7 @@ function doNuking() {
116
117
  annihilateMonitoring && continue
117
118
  fi
118
119
 
119
- if [ "$SERVICE" == "velero" ];
120
+ if [ "$SERVICE" == "velero-nuke" ];
120
121
  then
121
122
  annihilateVelero && continue
122
123
  fi
package/src/helmup CHANGED
@@ -442,22 +442,22 @@ function doInstall() {
442
442
  # Allows chart version from command line via <deployment>/<x.y.z>
443
443
  IFS="/" read SERVICE CHARTVER <<< "$PARAM"
444
444
 
445
- # Allows chart version as <deployment>/.chart-x.y.z>
445
+ # Allows chart version as <deployment>/Chart-x.y.z*>
446
446
  if [ -z "$CHARTVER" ];
447
447
  then
448
- for PARAM in $SERVICE/.chart-?.?.?; do
449
- IFS="-" read -ra ARY <<< "$PARAM"
450
- VERSION="${ARY[*]: -1}"
451
- [ $VERSION != "?.?.?" ] && CHARTVER=$VERSION
452
- #printf "PARAM=[$PARAM] SVC=[$SERVICE] CHT=[$CHARTVER]\n"
453
- break
454
- done
448
+ LCL_CHART=`compgen -G $SERVICE/Chart-?.?.?*` &>/dev/null
449
+ if [ ! -z "$LCL_CHART" ];
450
+ then
451
+ CHARTVER=${LCL_CHART#*/Chart-}
452
+ printf "\n$YELO_WARN Chart version controlled by => `color y $LCL_CHART`\n"
453
+ fi
455
454
  fi
455
+ #printf "SVC=[$SERVICE] CHT=[$CHARTVER]\n"
456
456
 
457
457
  # slap additional helm syntax in there if the version is set
458
458
  [ ! -z "$CHARTVER" ] && CHARTVER="--version $CHARTVER"
459
459
 
460
- # If we're referencing a plugin the execute it and continue
460
+ # If we're referencing a plugin then execute it and continue
461
461
  ifPluggedIn $SERVICE && continue
462
462
 
463
463
  case "$SERVICE" in
@@ -469,11 +469,6 @@ function doInstall() {
469
469
  doInstall "${SYSTEM[@]}"
470
470
  ;;
471
471
 
472
- "coredns")
473
- helm install --name coredns --namespace=kube-system stable/coredns
474
- printf "\nGithub repo is here => https://github.com/helm/charts/tree/master/stable/coredns\n\n"
475
- ;;
476
-
477
472
  "custom-metrics")
478
473
  kubectl create -f https://raw.githubusercontent.com/GoogleCloudPlatform/k8s-stackdriver/master/custom-metrics-stackdriver-adapter/deploy/production/adapter.yaml
479
474
  ;;
@@ -497,12 +492,6 @@ function doInstall() {
497
492
  monitoringHelp && exit 0
498
493
  ;;
499
494
 
500
- "polaris")
501
- helm repo add reactiveops-stable https://charts.reactiveops.com/stable
502
- helm upgrade --install polaris reactiveops-stable/polaris --namespace polaris
503
- printf "\n***Proxy 8081 with this=> kubectl port-forward --namespace polaris svc/polaris-dashboard 8081:80\n\n"
504
- ;;
505
-
506
495
  "postgres"|"postgresql")
507
496
  helm repo add bitnami https://charts.bitnami.com/bitnami
508
497
  helm upgrade --install postgres bitnami/postgresql -f postgres/postgres-values.yaml --version 8.9.6