@leverege/build-tools 2.64.0 → 2.64.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.
@@ -0,0 +1,18 @@
1
+ {
2
+ "workbench.colorCustomizations": {
3
+ "commandCenter.border": "#e7e7e799",
4
+ "sash.hoverBorder": "#065782",
5
+ "statusBar.background": "#0877b3",
6
+ "statusBar.border": "#0877b3",
7
+ "statusBar.foreground": "#e7e7e7",
8
+ "statusBarItem.hoverBackground": "#0a97e4",
9
+ "statusBarItem.remoteBackground": "#0877b3",
10
+ "statusBarItem.remoteForeground": "#e7e7e7",
11
+ "titleBar.activeBackground": "#0877b3",
12
+ "titleBar.activeForeground": "#e7e7e7",
13
+ "titleBar.border": "#0877b3",
14
+ "titleBar.inactiveBackground": "#0877b399",
15
+ "titleBar.inactiveForeground": "#e7e7e799"
16
+ },
17
+ "peacock.color": "#0877b3"
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.64.0",
3
+ "version": "2.64.1",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/k8cryo.sh ADDED
@@ -0,0 +1,25 @@
1
+ #!/bin/bash
2
+ #
3
+ # Usage: k8cryo <expiry days>
4
+ #
5
+ # Simple script for performing a full cluster backup with a specific expiry
6
+ # period. The default is 60 days.
7
+ #
8
+ . `build-tools --bashfun`
9
+
10
+ daysToKeep=${1:-60}
11
+ let hoursToKeep="$daysToKeep*24"
12
+ printf "\ncryo backup set to keep for $daysToKeep days / $hoursToKeep hours\n"
13
+
14
+ if [ "`basename $0`" == "k8thaw" ];
15
+ then
16
+ errorExit "k8thaw - UNDER CONSTRUCTION"
17
+ fi
18
+
19
+ # Gets the UTC time in the same format that velero schedules use for
20
+ # generating the Date Time Stamp for scheduled backups.
21
+ DTS="`date -u +\"%Y%m%d%H%M%S\"`"
22
+
23
+ printf "\nExecuting = > velero backup create velero-cryo-$DTS --ttl ${hoursToKeep}h\n"
24
+
25
+ velero backup create velero-cryo-$DTS --ttl ${hoursToKeep}h
@@ -9,13 +9,11 @@ RUN useradd -ms /bin/bash {{runuser}} && \
9
9
  mkdir -p /usr/src/app && \
10
10
  chown {{runuser}} /usr/src/app && \
11
11
  apt-get update && apt-get install -y \
12
- wget git \
12
+ wget git libgl1 libglib2.0-0 \
13
13
  && rm -rf /var/lib/apt/lists/*
14
14
 
15
15
  # gcc \
16
16
  # git \
17
- # libgl1 \
18
- # libglib2.0-0 \
19
17
  # && rm -rf /var/lib/apt/lists/*
20
18
 
21
19
  # Copy uv binary from the official distroless Docker image.