@leverege/build-tools 2.43.8 → 2.43.9

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.43.8",
3
+ "version": "2.43.9",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -10,7 +10,7 @@ fi
10
10
  #
11
11
  # BASE_NODE_IMAGE="gallium-alpine" npm run dockerize <version>
12
12
  #
13
- BASE_NODE_IMAGE="${BASE_NODE_IMAGE:-hydrogen-alpine}" # node 18, hydrogen
13
+ BASE_NODE_IMAGE="${BASE_NODE_IMAGE:-iron-alpine}" # node 20, iron
14
14
 
15
15
  # Load common bash functions
16
16
  . `build-tools --bashfun`
@@ -122,7 +122,7 @@ COPY ./.npmrc /usr/src/app/.npmrc
122
122
  RUN apk --no-cache add openssh-client && \
123
123
  apk --update add --no-cache --virtual build-dep g++ gcc libgcc \\
124
124
  libstdc++ linux-headers make ${apkadds} && \
125
- npm install -g npm@9 && \
125
+ npm install -g npm@10 && \
126
126
  npm ci --only=production --ignore-scripts --no-optional ${npmlogging} && \
127
127
  rm -f /usr/src/app/.npmrc /root/.ssh/*
128
128
 
@@ -135,7 +135,7 @@ FROM node:${BASE_NODE_IMAGE}
135
135
  # Install tini for PID 1 and replace shell with bash so we can source files
136
136
  RUN apk update && \
137
137
  apk add --no-cache bash curl tini vim ${apkadds} && \
138
- npm install -g npm@9 && \
138
+ npm install -g npm@10 && \
139
139
  rm /bin/sh && ln -s /bin/bash /bin/sh && \
140
140
  mkdir -p /usr/src/app /tmp/levlog && \
141
141
  chown node:node /usr/src/app
@@ -1,5 +1,5 @@
1
1
  image:
2
- tag: # v3.5.0
2
+ tag: # v3.6.0
3
3
 
4
4
  config:
5
5
  LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -1,3 +1,4 @@
1
+ # Needs OVERDOSE_API_KEY and OVERDOSE_API_SECRET api-ui keys
1
2
  image:
2
3
  tag: # 1.2.1
3
4
 
@@ -149,15 +149,15 @@ serverFiles:
149
149
  dashboard: "Check GKE or EKS node status"
150
150
 
151
151
  - alert: KubernetesVolumeOutOfDiskSpace
152
- expr: kubelet_volume_stats_available_bytes / kubelet_volume_stats_capacity_bytes * 100 < 20
152
+ expr: kubelet_volume_stats_available_bytes / kubelet_volume_stats_capacity_bytes * 100 < 10
153
153
  for: 5m
154
154
  labels:
155
- severity: page
155
+ severity: error
156
156
  priority: P2
157
157
  annotations:
158
- summary: "Kubernetes Volume out of disk space"
159
- description: "Volume is almost full (< 10% left)"
160
- dashboard: "OVH:<MONITORING>/pvc"
158
+ summary: "Kubernetes PVC Free Space < 10%"
159
+ description: "PVC volume {{ $labels.persistentvolumeclaim }} is almost full - down to {{ $value | humanize }}% available"
160
+ dashboard: "OVH:<MONITORING>/k8s-pvc/pvc-usage?var-volume={{ $labels.persistentvolumeclaim }}"
161
161
 
162
162
  # - alert: KubernetesVolumeFullInFourDays
163
163
  # expr: predict_linear(kubelet_volume_stats_available_bytes[6h], 4 * 24 * 3600) < 0
@@ -0,0 +1,25 @@
1
+ image:
2
+ tag: # v1.1.0
3
+
4
+ config:
5
+ # server configs
6
+ LOG_CONFIG: '{"type":"pino","level":"info"}'
7
+
8
+ # message rates = stopId/(frequency/1000) Hz
9
+ # default-test RX is 1K objects at 33Hz
10
+ INITIAL_RX : |
11
+ {
12
+ "devices" : {
13
+ "default-test" : {
14
+ "projectId" : "set-in-values-local",
15
+ "blueprintId" : "set-in-values-local",
16
+ "systemId" : "set-in-values-local",
17
+ "networkId" : "set-in-values-local",
18
+ "startId" : 0,
19
+ "stopId" : 1000,
20
+ "bucketSize" : 100,
21
+ "frequency" : 30000, # default RX is 1K objects at 33Hz
22
+ "messageSizeLimit" : 100
23
+ }
24
+ }
25
+ }
@@ -4,7 +4,7 @@ showInstalling "Redis"
4
4
 
5
5
  OCI_CHART="oci://registry-1.docker.io/bitnamicharts/redis"
6
6
 
7
- [ -z "$REDIS_CHART_VERSION" ] && REDIS_CHART_VERSION="18.3.1"
7
+ [ -z "$REDIS_CHART_VERSION" ] && REDIS_CHART_VERSION="18.4.0"
8
8
 
9
9
  helm upgrade --install redis $OCI_CHART \
10
10
  --values redis/redis-local.yaml \
@@ -1,5 +1,5 @@
1
1
  image:
2
- tag: # v2.3.0
2
+ tag: # v3.0.1
3
3
 
4
4
  config:
5
5
  LOG_CONFIG: '{"type":"pino","level":"warn"}'
@@ -2,6 +2,8 @@
2
2
  # to force a reinstall of this service simply remove or rename this
3
3
  # stackdriver-exporter subdirectory and rerun helmup stackdriver-exporter
4
4
  #
5
+ fullnameOverride: "prometheus-stackdriver-exporter"
6
+
5
7
  stackdriver:
6
8
  projectId: "OVH:<PROJECT_NAME>"
7
9
  metrics: