@leverege/build-tools 1.12.1 → 1.12.2

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.
@@ -185,7 +185,7 @@ jobs:
185
185
 
186
186
  - run:
187
187
  name: Check if coverage meets at least 70%
188
- command: ./node_modules/.bin/nyc check-coverage --branches 70 --functions 70 --lines 70 --statements 70
188
+ command: ./node_modules/.bin/nyc check-coverage --functions 70 --lines 70 --statements 70
189
189
 
190
190
  - run:
191
191
  name: Generate docs
@@ -558,4 +558,4 @@ EOCIRCLE
558
558
  }
559
559
 
560
560
  check_circle_config
561
- create_circle_config
561
+ 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
- SERVICE=${PARAM%/} # strip trailing / if it's there
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "1.12.1",
3
+ "version": "1.12.2",
4
4
  "description": "A package for development build tools.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/circleate CHANGED
@@ -185,7 +185,7 @@ jobs:
185
185
 
186
186
  - run:
187
187
  name: Check if coverage meets at least 70%
188
- command: ./node_modules/.bin/nyc check-coverage --branches 70 --functions 70 --lines 70 --statements 70
188
+ command: ./node_modules/.bin/nyc check-coverage --functions 70 --lines 70 --statements 70
189
189
 
190
190
  - run:
191
191
  name: Generate docs
@@ -558,4 +558,4 @@ EOCIRCLE
558
558
  }
559
559
 
560
560
  check_circle_config
561
- create_circle_config
561
+ create_circle_config
package/src/helmup CHANGED
@@ -266,7 +266,8 @@ function doInstall() {
266
266
 
267
267
  for PARAM in "$@";
268
268
  do
269
- SERVICE=${PARAM%/} # strip trailing / if it's there
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