@leverege/build-tools 1.12.1 → 1.12.3
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/lib/server/circleate +4 -2
- package/lib/server/helmup +4 -2
- package/package.json +1 -1
- package/src/circleate +4 -2
- package/src/helmup +4 -2
package/lib/server/circleate
CHANGED
|
@@ -142,6 +142,8 @@ jobs:
|
|
|
142
142
|
|
|
143
143
|
coverage:
|
|
144
144
|
# coverage runs tests, generates coverage, and saves docs
|
|
145
|
+
environment:
|
|
146
|
+
TZ: 'America/New_York'
|
|
145
147
|
docker:
|
|
146
148
|
- image: circleci/node:10.14.1
|
|
147
149
|
# IF YOU NEED ANY OF THESE, UNCOMMENT TO USE
|
|
@@ -185,7 +187,7 @@ jobs:
|
|
|
185
187
|
|
|
186
188
|
- run:
|
|
187
189
|
name: Check if coverage meets at least 70%
|
|
188
|
-
command: ./node_modules/.bin/nyc check-coverage --
|
|
190
|
+
command: ./node_modules/.bin/nyc check-coverage --functions 70 --lines 70 --statements 70
|
|
189
191
|
|
|
190
192
|
- run:
|
|
191
193
|
name: Generate docs
|
|
@@ -558,4 +560,4 @@ EOCIRCLE
|
|
|
558
560
|
}
|
|
559
561
|
|
|
560
562
|
check_circle_config
|
|
561
|
-
create_circle_config
|
|
563
|
+
create_circle_config
|
package/lib/server/helmup
CHANGED
|
@@ -266,7 +266,8 @@ function doInstall() {
|
|
|
266
266
|
|
|
267
267
|
for PARAM in "$@";
|
|
268
268
|
do
|
|
269
|
-
|
|
269
|
+
IFS="/" read SERVICE CHARTVER <<< "$PARAM"
|
|
270
|
+
[ ! -z "$CHARTVER" ] && CHARTVER="--version $CHARTVER"
|
|
270
271
|
|
|
271
272
|
case "$SERVICE" in
|
|
272
273
|
"platform")
|
|
@@ -352,7 +353,8 @@ function doInstall() {
|
|
|
352
353
|
MUSEUM=$(<${OVERRIDE})
|
|
353
354
|
printf "\n$YELO_WARN Local chartmuseum name override from ${SERVICE} to ${MUSEUM}\n"
|
|
354
355
|
fi
|
|
355
|
-
helm upgrade --install $SERVICE chartmuseum/$MUSEUM -f $SERVICE/values.yaml
|
|
356
|
+
HELMUP="helm upgrade --install $SERVICE chartmuseum/$MUSEUM -f $SERVICE/values.yaml $CHARTVER"
|
|
357
|
+
printf "Helming => `color g \"$HELMUP\"`\n" && $HELMUP
|
|
356
358
|
if [ $? -ne 0 ];
|
|
357
359
|
then
|
|
358
360
|
cat<<NOTRUNNING
|
package/package.json
CHANGED
package/src/circleate
CHANGED
|
@@ -142,6 +142,8 @@ jobs:
|
|
|
142
142
|
|
|
143
143
|
coverage:
|
|
144
144
|
# coverage runs tests, generates coverage, and saves docs
|
|
145
|
+
environment:
|
|
146
|
+
TZ: 'America/New_York'
|
|
145
147
|
docker:
|
|
146
148
|
- image: circleci/node:10.14.1
|
|
147
149
|
# IF YOU NEED ANY OF THESE, UNCOMMENT TO USE
|
|
@@ -185,7 +187,7 @@ jobs:
|
|
|
185
187
|
|
|
186
188
|
- run:
|
|
187
189
|
name: Check if coverage meets at least 70%
|
|
188
|
-
command: ./node_modules/.bin/nyc check-coverage --
|
|
190
|
+
command: ./node_modules/.bin/nyc check-coverage --functions 70 --lines 70 --statements 70
|
|
189
191
|
|
|
190
192
|
- run:
|
|
191
193
|
name: Generate docs
|
|
@@ -558,4 +560,4 @@ EOCIRCLE
|
|
|
558
560
|
}
|
|
559
561
|
|
|
560
562
|
check_circle_config
|
|
561
|
-
create_circle_config
|
|
563
|
+
create_circle_config
|
package/src/helmup
CHANGED
|
@@ -266,7 +266,8 @@ function doInstall() {
|
|
|
266
266
|
|
|
267
267
|
for PARAM in "$@";
|
|
268
268
|
do
|
|
269
|
-
|
|
269
|
+
IFS="/" read SERVICE CHARTVER <<< "$PARAM"
|
|
270
|
+
[ ! -z "$CHARTVER" ] && CHARTVER="--version $CHARTVER"
|
|
270
271
|
|
|
271
272
|
case "$SERVICE" in
|
|
272
273
|
"platform")
|
|
@@ -352,7 +353,8 @@ function doInstall() {
|
|
|
352
353
|
MUSEUM=$(<${OVERRIDE})
|
|
353
354
|
printf "\n$YELO_WARN Local chartmuseum name override from ${SERVICE} to ${MUSEUM}\n"
|
|
354
355
|
fi
|
|
355
|
-
helm upgrade --install $SERVICE chartmuseum/$MUSEUM -f $SERVICE/values.yaml
|
|
356
|
+
HELMUP="helm upgrade --install $SERVICE chartmuseum/$MUSEUM -f $SERVICE/values.yaml $CHARTVER"
|
|
357
|
+
printf "Helming => `color g \"$HELMUP\"`\n" && $HELMUP
|
|
356
358
|
if [ $? -ne 0 ];
|
|
357
359
|
then
|
|
358
360
|
cat<<NOTRUNNING
|