@leverege/build-tools 2.40.2 → 2.41.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.40.2",
3
+ "version": "2.41.0",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -70,6 +70,6 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@leverege/eslint-config-leverege": "^4.2.0",
73
- "npm": "^10.1.0"
73
+ "npm": "^10.2.0"
74
74
  }
75
75
  }
@@ -0,0 +1,13 @@
1
+ image:
2
+ tag: # v5.4.4
3
+
4
+ config:
5
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
6
+
7
+ autoscaling:
8
+ minReplicas: 3
9
+ maxReplicas: 12
10
+ maxCPU: 80
11
+
12
+ ingressRoute:
13
+ host: OVH:<PROJECT_ID>-imagine-api.OVH:<HOST>.com
@@ -0,0 +1,5 @@
1
+ image:
2
+ tag: # v1.3.1
3
+
4
+ config:
5
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -0,0 +1,7 @@
1
+ image:
2
+ tag: # v4.1.0
3
+
4
+ config:
5
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
6
+ TSDB_CLEANUP_ENABLED: "true"
7
+ FIREBASE_CLEANUP_ENABLED: "true"
@@ -0,0 +1,9 @@
1
+ image:
2
+ tag: # v3.3.1
3
+
4
+ config:
5
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
6
+
7
+ API_UI_URL: "OVH:<PROJECT_ID>.web.app"
8
+ MAIL_GUN_DOMAIN: "OVH:<MAIL_GUN_DOMAIN>"
9
+ MAIL_GUN_DEFAULT_SENDER: "no-reply@OVH:<MAIL_GUN_DOMAIN>"
@@ -0,0 +1,8 @@
1
+ image:
2
+ tag: # v1.1.0
3
+
4
+ config:
5
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
6
+ PROJECT_ID: 'set-me-in-values-local'
7
+ SYSTEM_ID: 'set-me-in-values-local'
8
+ NETWORK_ID: 'set-me-in-values-local'
@@ -0,0 +1,7 @@
1
+ image:
2
+ tag: # v2.3.0
3
+
4
+ config:
5
+ UPLOADER_TYPE: "OVH:<BUCKET_TYPE>"
6
+ UPLOADER_PROJECT_ID: "OVH:<PROJECT_ID>"
7
+ UPLOADER_BUCKET: "OVH:<PROJECT_ID>-geotiles"
@@ -0,0 +1,5 @@
1
+ mage:
2
+ tag: # v2.2.0
3
+
4
+ config:
5
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -0,0 +1,5 @@
1
+ image:
2
+ tag: # v3.5.0
3
+
4
+ config:
5
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -0,0 +1,14 @@
1
+ image:
2
+ tag: # v2.2.0
3
+
4
+ config:
5
+ CF_TRANSPORT_CONFIG: '{
6
+ "type": "pubsub",
7
+ "projectId": "OVH:<PROJECT_NAME>" ,
8
+ "keyFilename": "/home/node/unused/key.json" ,
9
+ "publisher": {
10
+ "batching": {
11
+ "maxMilliseconds": 0
12
+ }
13
+ }
14
+ }'
@@ -0,0 +1,9 @@
1
+ image:
2
+ tag: # v1.0.1
3
+
4
+ config:
5
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
6
+
7
+ UPLOADER_PROJECT_ID: "OVH:<PROJECT_ID>"
8
+ UPLOADER_BUCKET: "OVH:<PROJECT_ID>-resource-server"
9
+ UPLOADER_LOCATION: "OVH:<GCE_REGION>"
@@ -0,0 +1,5 @@
1
+ image:
2
+ tag: # v2.0.0
3
+
4
+ config:
5
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -0,0 +1,5 @@
1
+ image:
2
+ tag: # v2.3.0
3
+
4
+ config:
5
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -0,0 +1,29 @@
1
+ nameOverride: transponder-bq
2
+
3
+ image:
4
+ tag: # v5.0.1
5
+
6
+ config:
7
+ TRANSPONDER_RUN_MODE: "bigQueryJson"
8
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
9
+
10
+ TRANSPORT_CONFIG: '{
11
+ "type": "pubsub",
12
+ "projectId": "OVH:<PROJECT_ID>",
13
+ "publisher": {
14
+ "batching": {
15
+ "maxMilliseconds": 0,
16
+ "maxMessages": 999
17
+ }
18
+ },
19
+ "subscriptionOptions": {
20
+ "flowControl": {
21
+ "allowExcessMessages": false,
22
+ "maxMessages": 50
23
+ },
24
+ "streamingOptions": {
25
+ "maxStreams": 5
26
+ }
27
+ },
28
+ "channel": "writer-bq"
29
+ }'
@@ -0,0 +1,30 @@
1
+ nameOverride: transponder-rt
2
+
3
+ image:
4
+ tag: v5.0.1
5
+
6
+ config:
7
+ TRANSPONDER_RUN_MODE: "rt"
8
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
9
+
10
+ ELASTICSEARCH_DATA_METADATA_ENABLED: "false"
11
+ TRANSPORT_CONFIG: '{
12
+ "type": "pubsub",
13
+ "projectId": "OVH:<PROJECT_ID>",
14
+ "publisher": {
15
+ "batching": {
16
+ "maxMilliseconds": 0,
17
+ "maxMessages": 999
18
+ }
19
+ },
20
+ "subscriptionOptions": {
21
+ "flowControl": {
22
+ "allowExcessMessages": false,
23
+ "maxMessages": 10
24
+ },
25
+ "streamingOptions": {
26
+ "maxStreams": 5
27
+ }
28
+ },
29
+ "channel": "writer-rt"
30
+ }'
@@ -0,0 +1,35 @@
1
+ # in order to add workload id to existing SA:
2
+ #
3
+ # gcloud iam service-accounts add-iam-policy-binding --project=prd-recovr-auto \
4
+ # --member 'serviceAccount:prd-recovr-auto.svc.id.goog[default/transponder-tsdb]' \
5
+ # --role 'roles/iam.workloadIdentityUser' transponder@prd-recovr-auto.iam.gserviceaccount.com
6
+ #
7
+ nameOverride: transponder-tsdb
8
+
9
+ image:
10
+ tag: # v5.0.1
11
+
12
+ config:
13
+ TRANSPONDER_RUN_MODE: "timescale"
14
+ LOG_CONFIG: '{"type":"pino","level":"warn"}'
15
+
16
+ TRANSPORT_CONFIG: '{
17
+ "type": "pubsub",
18
+ "projectId": "OVH:<PROJECT_NAME>",
19
+ "publisher": {
20
+ "batching": {
21
+ "maxMilliseconds": 0,
22
+ "maxMessages": 999
23
+ }
24
+ },
25
+ "subscriptionOptions": {
26
+ "flowControl": {
27
+ "allowExcessMessages": false,
28
+ "maxMessages": 25
29
+ },
30
+ "streamingOptions": {
31
+ "maxStreams": 5
32
+ }
33
+ },
34
+ "channel": "writer-tsdb"
35
+ }'
package/src/helmup.sh CHANGED
@@ -769,6 +769,10 @@ CATBACKUP
769
769
  ;;
770
770
 
771
771
  *)
772
+ # if the service dir is missing then check to see if it's a platform
773
+ # service and if it is then try to bootstrap from charts in build-tools
774
+ [[ ! -d $SERVICE && ${PLATFORM[@]} =~ $SERVICE ]] && bootstrapLocalSetup $SERVICE
775
+
772
776
  if [ ! -d $SERVICE ] || [ ! -f $SERVICE/values-local.yaml ];
773
777
  then
774
778
  printf "\n$YELO_WARN Skipping unknown service => $SERVICE - missing `color r $SERVICE/values-local.yaml`\n\n"