@leverege/build-tools 2.48.5 → 2.49.0
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.
- package/package.json +6 -5
- package/registry-compass.yaml +20 -0
- package/src/chart-compass.mjs +96 -0
- package/src/cnpg-snapshot.mjs +4 -29
- package/src/docker-to-registry.sh +611 -0
- package/src/helm-charts/api-server/values-local.yaml +7 -0
- package/src/helm-charts/authz-server/values-local.yaml +3 -0
- package/src/helm-charts/cnpg-db-pgbench/cnpg-db-pgbench.yaml.ovh +100 -0
- package/src/helm-charts/cnpg-db-pgbench/gitignore +2 -0
- package/src/helm-charts/cnpg-db-pgbench/helmdn.plugin +12 -0
- package/src/helm-charts/cnpg-db-pgbench/helmup.plugin +3 -0
- package/src/helm-charts/cnpg-db-pgbench/pooler.yaml +16 -0
- package/src/helm-charts/{db-postgres-stack/db-postgres-stack.yaml.ovh → cnpg-db-psql-stack/cnpg-db-psql-stack.yaml.ovh} +6 -24
- package/src/helm-charts/cnpg-db-psql-stack/gitignore +2 -0
- package/src/helm-charts/cnpg-db-psql-stack/helmdn.plugin +12 -0
- package/src/helm-charts/cnpg-db-psql-stack/helmup.plugin +3 -0
- package/src/helm-charts/cnpg-db-psql-stack/pooler.yaml +16 -0
- package/src/helm-charts/{db-timescale-plain/db-timescale-plain.yaml.ovh → cnpg-db-tsdb-basic/cnpg-db-tsdb-basic.yaml.ovh} +8 -28
- package/src/helm-charts/cnpg-db-tsdb-basic/gitignore +2 -0
- package/src/helm-charts/cnpg-db-tsdb-basic/helmdn.plugin +12 -0
- package/src/helm-charts/cnpg-db-tsdb-basic/helmup.plugin +3 -0
- package/src/helm-charts/cnpg-db-tsdb-basic/pooler.yaml +16 -0
- package/src/helm-charts/cnpg-db-tsdb-dense/.nohelm +0 -0
- package/src/helm-charts/cnpg-db-tsdb-dense/.nohelmdn +0 -0
- package/src/helm-charts/{db-timescale-dense/db-timescale-dense.yaml.ovh → cnpg-db-tsdb-dense/cnpg-db-tsdb-dense.yaml.ovh} +7 -27
- package/src/helm-charts/cnpg-db-tsdb-dense/gitignore +2 -0
- package/src/helm-charts/cnpg-db-tsdb-dense/helmdn.plugin +12 -0
- package/src/helm-charts/cnpg-db-tsdb-dense/helmup.plugin +5 -0
- package/src/helm-charts/cnpg-db-tsdb-dense/pooler.yaml +16 -0
- package/src/helm-charts/cnpg-operator/helmup.plugin +1 -1
- package/src/helm-charts/elasticsearch8/helmup.plugin +4 -5
- package/src/helm-charts/fota-server/values-local.yaml +3 -0
- package/src/helm-charts/kube-prometheus-stack/helmup.plugin +13 -0
- package/src/helm-charts/kube-prometheus-stack/old-values-local.yaml +764 -0
- package/src/helm-charts/pusher/values-local.yaml +2 -2
- package/src/helm-charts/resource-server/values-local.yaml +3 -0
- package/src/helm-charts/rule-engine/values-local.yaml +3 -0
- package/src/helm-charts/scheduler/values-local.yaml +3 -0
- package/src/helm-charts/transponder-tsdb/values-local.yaml +3 -0
- package/src/helm-charts/velero/helmup.plugin +1 -1
- package/src/helm-charts/velero/velero-local.yaml +1 -1
- package/src/helmup.sh +15 -26
- package/src/helm-charts/db-postgres-stack/gitignore +0 -1
- package/src/helm-charts/db-postgres-stack/helmdn.plugin +0 -3
- package/src/helm-charts/db-postgres-stack/helmup.plugin +0 -3
- package/src/helm-charts/db-timescale-dense/gitignore +0 -1
- package/src/helm-charts/db-timescale-dense/helmdn.plugin +0 -9
- package/src/helm-charts/db-timescale-dense/helmup.plugin +0 -5
- package/src/helm-charts/db-timescale-plain/gitignore +0 -1
- package/src/helm-charts/db-timescale-plain/helmdn.plugin +0 -3
- package/src/helm-charts/db-timescale-plain/helmup.plugin +0 -3
- /package/src/helm-charts/{db-postgres-stack → cnpg-db-pgbench}/.nohelm +0 -0
- /package/src/helm-charts/{db-postgres-stack → cnpg-db-pgbench}/.nohelmdn +0 -0
- /package/src/helm-charts/{db-timescale-dense → cnpg-db-psql-stack}/.nohelm +0 -0
- /package/src/helm-charts/{db-timescale-dense → cnpg-db-psql-stack}/.nohelmdn +0 -0
- /package/src/helm-charts/{db-timescale-plain → cnpg-db-tsdb-basic}/.nohelm +0 -0
- /package/src/helm-charts/{db-timescale-plain → cnpg-db-tsdb-basic}/.nohelmdn +0 -0
|
@@ -5,7 +5,7 @@ config:
|
|
|
5
5
|
# server configs
|
|
6
6
|
LOG_CONFIG: '{"type":"pino","level":"info"}'
|
|
7
7
|
|
|
8
|
-
# message rates = stopId/(frequency/1000) Hz
|
|
8
|
+
# message rates = (stopId-startId)/(frequency/1000) Hz
|
|
9
9
|
# default-test RX is 1K objects at 33Hz
|
|
10
10
|
INITIAL_RX : |
|
|
11
11
|
{
|
|
@@ -18,7 +18,7 @@ config:
|
|
|
18
18
|
"startId" : 0,
|
|
19
19
|
"stopId" : 1000,
|
|
20
20
|
"bucketSize" : 100,
|
|
21
|
-
"frequency" : 30000,
|
|
21
|
+
"frequency" : 30000,
|
|
22
22
|
"messageSizeLimit" : 100
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -4,7 +4,7 @@ showInstalling "Velero Backup System"
|
|
|
4
4
|
|
|
5
5
|
addHelmRepo vmware-tanzu https://vmware-tanzu.github.io/helm-charts
|
|
6
6
|
|
|
7
|
-
[ -z "$VELERO_CHART_VERSION" ] && VELERO_CHART_VERSION="
|
|
7
|
+
[ -z "$VELERO_CHART_VERSION" ] && VELERO_CHART_VERSION="6"
|
|
8
8
|
#
|
|
9
9
|
# Build the bucket, region and SA email variables and use --set to mod the
|
|
10
10
|
# chart values as opposed to using an OVH:<label> approach. This eliminates
|
package/src/helmup.sh
CHANGED
|
@@ -297,21 +297,6 @@ function installMonitoringEnvironment() {
|
|
|
297
297
|
# Add necessary helm repositories - note that stable is deprecated
|
|
298
298
|
addHelmRepo prometheus-community https://prometheus-community.github.io/helm-charts
|
|
299
299
|
|
|
300
|
-
## Installing ES exporter
|
|
301
|
-
helm upgrade --install elasticsearch-exporter prometheus-community/prometheus-elasticsearch-exporter \
|
|
302
|
-
--namespace monitoring \
|
|
303
|
-
--version 5 \
|
|
304
|
-
-f - <<ELASTIC_EXPORTER_CHART_MOD
|
|
305
|
-
fullnameOverride: elasticsearch8-exporter
|
|
306
|
-
|
|
307
|
-
service:
|
|
308
|
-
annotations:
|
|
309
|
-
prometheus.io/port: "9108"
|
|
310
|
-
prometheus.io/scrape: "true"
|
|
311
|
-
es:
|
|
312
|
-
uri: http://elasticsearch-master.default.svc.cluster.local:9200
|
|
313
|
-
ELASTIC_EXPORTER_CHART_MOD
|
|
314
|
-
|
|
315
300
|
## Install Prometheus
|
|
316
301
|
bootstrapLocalSetup prometheus
|
|
317
302
|
|
|
@@ -650,7 +635,7 @@ function installVeleroEnvironment() {
|
|
|
650
635
|
gcloud config set project $GCP_PROJECT_ID
|
|
651
636
|
|
|
652
637
|
## The major chart version will determine the bucket suffix
|
|
653
|
-
[ -z "$VELERO_HELM_CHART" ] && VELERO_HELM_CHART="
|
|
638
|
+
[ -z "$VELERO_HELM_CHART" ] && VELERO_HELM_CHART="6"
|
|
654
639
|
|
|
655
640
|
## Create a bucket
|
|
656
641
|
BUCKET="$GCP_PROJECT_ID-velero-$VELERO_HELM_CHART"
|
|
@@ -845,6 +830,16 @@ CATBACKUP
|
|
|
845
830
|
bootstrapLocalSetup $SERVICE
|
|
846
831
|
;;
|
|
847
832
|
|
|
833
|
+
cnpg-db-*)
|
|
834
|
+
if [ ! -d $SERVICE ];
|
|
835
|
+
then
|
|
836
|
+
# this code only executes on the first deployment
|
|
837
|
+
initializeCnpgOperand $SERVICE
|
|
838
|
+
bootstrapLocalSetup $SERVICE
|
|
839
|
+
kubectl apply -f $SERVICE/$SERVICE.yaml $K8S_WHAT
|
|
840
|
+
fi
|
|
841
|
+
;;
|
|
842
|
+
|
|
848
843
|
"cnpg-operator")
|
|
849
844
|
installCnpgOperatorEnvironment
|
|
850
845
|
bootstrapLocalSetup $SERVICE
|
|
@@ -862,16 +857,6 @@ CATBACKUP
|
|
|
862
857
|
installDefaultConfigs
|
|
863
858
|
;;
|
|
864
859
|
|
|
865
|
-
db-postgres-*|db-timescale-*)
|
|
866
|
-
if [ ! -d $SERVICE ];
|
|
867
|
-
then
|
|
868
|
-
# this code only executes on the first deployment
|
|
869
|
-
initializeCnpgOperand $SERVICE
|
|
870
|
-
bootstrapLocalSetup $SERVICE
|
|
871
|
-
kubectl apply -f $SERVICE/$SERVICE.yaml $K8S_WHAT
|
|
872
|
-
fi
|
|
873
|
-
;;
|
|
874
|
-
|
|
875
860
|
db-curator-dh)
|
|
876
861
|
# db-curator-dh is a variant of db-curator with diff controlled in values-local.yaml
|
|
877
862
|
HELMUP="helm upgrade --install $SERVICE leverege/db-curator --values $SERVICE/values.yaml $CHARTVER $HELM_WHAT"
|
|
@@ -903,6 +888,10 @@ CATBACKUP
|
|
|
903
888
|
bootstrapLocalSetup $SERVICE
|
|
904
889
|
;;
|
|
905
890
|
|
|
891
|
+
"kube-prometheus-stack")
|
|
892
|
+
bootstrapLocalSetup $SERVICE
|
|
893
|
+
;;
|
|
894
|
+
|
|
906
895
|
"monitoring")
|
|
907
896
|
installMonitoringEnvironment
|
|
908
897
|
monitoringHelp
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
db-timescale-dense.yaml
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
db-timescale-dense.yaml
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
printf "\nHibernating the db-timescale-dense cluster...\n"
|
|
4
|
-
kubectl cnpg hibernate on -n cnpg-operands db-timescale-dense
|
|
5
|
-
|
|
6
|
-
# *** DANGER ***
|
|
7
|
-
# kubectl delete will destroy the cluster
|
|
8
|
-
# *** DANGER ***
|
|
9
|
-
# kubectl delete -f db-timescale-dense/db-timescale-dense.yaml $K8S_WHAT
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
db-timescale-plain.yaml
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|