@leverege/build-tools 2.9.1 → 2.9.2

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.1",
3
+ "version": "2.9.2",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -76,11 +76,11 @@
76
76
  "simple-git": "^2.48.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@babel/cli": "^7.16.8",
80
- "@babel/core": "^7.16.12",
79
+ "@babel/cli": "^7.17.0",
80
+ "@babel/core": "^7.17.2",
81
81
  "@babel/node": "^7.16.8",
82
82
  "@leverege/babel-preset-leverege-node": "^2.0.0",
83
83
  "@leverege/eslint-config-leverege": "^3.0.1",
84
- "npm": "^8.4.0"
84
+ "npm": "^8.5.0"
85
85
  }
86
86
  }
package/src/bash-funcs CHANGED
@@ -83,3 +83,25 @@ function getManagedSecret() {
83
83
  fi
84
84
  echo $SECRET
85
85
  }
86
+
87
+ function showInstalling() {
88
+ cat<<INSTALLING
89
+
90
+ $(color y '======================================================================')
91
+
92
+ Installing => $(color g "$1")
93
+
94
+ INSTALLING
95
+ }
96
+
97
+ function addHelmRepo() {
98
+ local chart=$1
99
+ local url=$2
100
+
101
+ cat<<REPOADD
102
+ Adding helm repo => $(color g "$chart") from $(color g "$url")
103
+
104
+ REPOADD
105
+ helm repo add $chart $url &> /dev/null
106
+ helm repo update &> /dev/null
107
+ }
package/src/helmdn CHANGED
@@ -124,7 +124,7 @@ function doNuking() {
124
124
  helm uninstall elasticsearch
125
125
  ;;
126
126
 
127
- "estafette"|"estafette-gke-preemptible-killer")
127
+ "estafette"|"preemptible-killer")
128
128
  helm uninstall -n estafette estafette-gke-preemptible-killer
129
129
  ;;
130
130
 
package/src/helmup CHANGED
@@ -69,28 +69,6 @@ function createNamespaceIfNeeded(){
69
69
  fi
70
70
  }
71
71
 
72
- function showInstalling() {
73
- cat<<INSTALLING
74
-
75
- $(color y '======================================================================')
76
-
77
- Installing => $(color g "$1")
78
-
79
- INSTALLING
80
- }
81
-
82
- function addHelmRepo() {
83
- local chart=$1
84
- local url=$2
85
-
86
- cat<<REPOADD
87
- Adding helm repo => $(color g "$chart") from $(color g "$url")
88
-
89
- REPOADD
90
- helm repo add $chart $url &> /dev/null
91
- helm repo update &> /dev/null
92
- }
93
-
94
72
  function installMonitoringCharts(){
95
73
  showInstalling "Grafana Monitoring"
96
74
  createNamespaceIfNeeded monitoring