@leverege/build-tools 2.21.5 → 2.21.7
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 +2 -2
- package/src/dockreate +5 -5
- package/src/helmup +21 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.21.
|
|
3
|
+
"version": "2.21.7",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"parse-gitignore": "^2.0.0",
|
|
63
63
|
"readline-sync": "^1.4.10",
|
|
64
64
|
"semver": "^7.3.7",
|
|
65
|
-
"simple-git": "^3.14.
|
|
65
|
+
"simple-git": "^3.14.1",
|
|
66
66
|
"zx": "^7.0.8"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
package/src/dockreate
CHANGED
|
@@ -6,8 +6,8 @@ fi
|
|
|
6
6
|
|
|
7
7
|
# Load common bash functions
|
|
8
8
|
. `build-tools --bashfun`
|
|
9
|
-
|
|
10
|
-
cd $
|
|
9
|
+
PKGTOP="$npm_config_local_prefix"
|
|
10
|
+
cd $PKGTOP/docker
|
|
11
11
|
|
|
12
12
|
if [ ! -x "$(command -v jq)" ];
|
|
13
13
|
then
|
|
@@ -19,7 +19,7 @@ NO_JQ
|
|
|
19
19
|
exit 1
|
|
20
20
|
fi
|
|
21
21
|
|
|
22
|
-
if [ ! -d "$
|
|
22
|
+
if [ ! -d "$PKGTOP/dist" ];
|
|
23
23
|
then
|
|
24
24
|
cat<<NO_DIST
|
|
25
25
|
|
|
@@ -30,7 +30,7 @@ NO_DIST
|
|
|
30
30
|
fi
|
|
31
31
|
|
|
32
32
|
function packageJson() {
|
|
33
|
-
result=$(jq -r $1 $
|
|
33
|
+
result=$(jq -r $1 $PKGTOP/package.json)
|
|
34
34
|
if [ "$result" != "null" ]
|
|
35
35
|
then
|
|
36
36
|
echo $result
|
|
@@ -372,7 +372,7 @@ create_Dockerfile "$version" "$nodeimg" "$apkadds"
|
|
|
372
372
|
create_bashrc "$version" "$nodeimg"
|
|
373
373
|
|
|
374
374
|
rm -rf ./workspace && mkdir -p ./workspace
|
|
375
|
-
cp -rfp ${
|
|
375
|
+
cp -rfp ${PKGTOP}/package*json ${PKGTOP}/dist/* ./workspace
|
|
376
376
|
|
|
377
377
|
# grab the read only npmrc token for the image
|
|
378
378
|
cp -f $NPMRC .npmrc
|
package/src/helmup
CHANGED
|
@@ -188,6 +188,26 @@ master:
|
|
|
188
188
|
persistence:
|
|
189
189
|
size: 8Gi # 8Gi is default
|
|
190
190
|
|
|
191
|
+
replica:
|
|
192
|
+
affinity:
|
|
193
|
+
nodeAffinity:
|
|
194
|
+
requiredDuringSchedulingIgnoredDuringExecution:
|
|
195
|
+
nodeSelectorTerms:
|
|
196
|
+
- matchExpressions:
|
|
197
|
+
- key: target-env
|
|
198
|
+
operator: In
|
|
199
|
+
values:
|
|
200
|
+
- database
|
|
201
|
+
|
|
202
|
+
tolerations:
|
|
203
|
+
- key: "database"
|
|
204
|
+
operator: "Equal"
|
|
205
|
+
value: "true"
|
|
206
|
+
effect: "NoSchedule"
|
|
207
|
+
|
|
208
|
+
persistence:
|
|
209
|
+
size: 8Gi # 8Gi is default
|
|
210
|
+
|
|
191
211
|
architecture: replication
|
|
192
212
|
|
|
193
213
|
sentinel:
|
|
@@ -471,7 +491,7 @@ metadata:
|
|
|
471
491
|
name: cron-zombie-killer
|
|
472
492
|
spec:
|
|
473
493
|
schedule: "*/4 * * * *"
|
|
474
|
-
successfulJobsHistoryLimit:
|
|
494
|
+
successfulJobsHistoryLimit: 0
|
|
475
495
|
jobTemplate:
|
|
476
496
|
spec:
|
|
477
497
|
template:
|