@leverege/build-tools 2.9.0 → 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.0",
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
@@ -39,13 +39,6 @@ SYSTEM=(
39
39
  )
40
40
 
41
41
  function checkTimescalePassword(){
42
- if [ -f values-databases.yaml ] || [ -d timescale-db ];
43
- then
44
- printf "\n\n`color r '*** Deleting old timescale files ***'`\n\n"
45
- rm -rf values-databases.yaml timescale-db
46
- git add -A
47
- fi
48
-
49
42
  kubectl get secret postgresql-password
50
43
  if [[ $? -eq 1 ]]; then
51
44
  printf "\n*** Autogenerating Timescale password ***\n\n"
@@ -76,28 +69,6 @@ function createNamespaceIfNeeded(){
76
69
  fi
77
70
  }
78
71
 
79
- function showInstalling() {
80
- cat<<INSTALLING
81
-
82
- $(color y '======================================================================')
83
-
84
- Installing => $(color g "$1")
85
-
86
- INSTALLING
87
- }
88
-
89
- function addHelmRepo() {
90
- local chart=$1
91
- local url=$2
92
-
93
- cat<<REPOADD
94
- Adding helm repo => $(color g "$chart") from $(color g "$url")
95
-
96
- REPOADD
97
- helm repo add $chart $url &> /dev/null
98
- helm repo update &> /dev/null
99
- }
100
-
101
72
  function installMonitoringCharts(){
102
73
  showInstalling "Grafana Monitoring"
103
74
  createNamespaceIfNeeded monitoring
@@ -391,15 +362,10 @@ additionalArguments:
391
362
  - "--accesslog.format=json"
392
363
  - "--log.level=WARN"
393
364
  - "--metrics.prometheus=true"
394
- - "--metrics.prometheus.entryPoint=metrics"
395
- - "--entryPoints.metrics.address=:8082"
396
365
  - "--api.dashboard=true"
397
366
 
398
367
  deployment:
399
368
  replicas: 3
400
- podAnnotations:
401
- prometheus.io/port: '8082'
402
- prometheus.io/scrape: 'true'
403
369
 
404
370
  #service:
405
371
  # spec: