@leverege/build-tools 2.19.0 → 2.19.1

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.19.0",
3
+ "version": "2.19.1",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -74,9 +74,9 @@
74
74
  "zx": "^7.0.7"
75
75
  },
76
76
  "devDependencies": {
77
- "@babel/cli": "^7.18.6",
78
- "@babel/core": "^7.18.6",
79
- "@babel/node": "^7.18.6",
77
+ "@babel/cli": "^7.18.9",
78
+ "@babel/core": "^7.18.9",
79
+ "@babel/node": "^7.18.9",
80
80
  "@leverege/babel-preset-leverege-node": "^2.0.0",
81
81
  "@leverege/eslint-config-leverege": "^3.0.1",
82
82
  "npm": "^8.14.0"
package/src/helmup CHANGED
@@ -145,10 +145,19 @@ function installPrometheus() {
145
145
  --namespace monitoring \
146
146
  --values prometheus/values.yaml \
147
147
  --version $PROMETHEUS_HELM_CHART
148
-
149
148
  removeHelmRepo prometheus-community
150
149
  }
151
150
 
151
+ function installGrafana() {
152
+ ## Install Grafana
153
+ addHelmRepo grafana https://grafana.github.io/helm-charts
154
+ helm upgrade --install grafana grafana/grafana \
155
+ --namespace monitoring \
156
+ --values grafana/values-grafana.yaml \
157
+ --version 6 # latest v8 grafana
158
+ removeHelmRepo grafana
159
+ }
160
+
152
161
  function installRedis() {
153
162
  showInstalling "Redis Network Cache"
154
163
  addBitnamiRepo latest
@@ -314,15 +323,10 @@ SA_EXISTS
314
323
  --version 4.13
315
324
 
316
325
  ## Install Grafana
317
- addHelmRepo grafana https://grafana.github.io/helm-charts
318
- helm upgrade --install grafana grafana/grafana \
319
- --namespace monitoring \
320
- --values grafana/values-grafana.yaml \
321
- --version 6 # latest v8 grafana
326
+ installGrafana
322
327
 
323
328
  ## Clean up
324
329
  removeHelmRepo prometheus-community
325
- removeHelmRepo grafana
326
330
  }
327
331
 
328
332
  function monitoringHelp(){
@@ -891,6 +895,10 @@ function doInstall() {
891
895
  installPreemptibleKiller # the gke preemptible node spreader outer
892
896
  ;;
893
897
 
898
+ "grafana")
899
+ installGrafana
900
+ ;;
901
+
894
902
  "monitoring")
895
903
  installMonitoringCharts
896
904
  monitoringHelp