@leverege/build-tools 2.9.5 → 2.9.6

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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.9.5",
3
+ "version": "2.9.6",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -80,6 +80,6 @@
80
80
  "@babel/node": "^7.16.8",
81
81
  "@leverege/babel-preset-leverege-node": "^2.0.0",
82
82
  "@leverege/eslint-config-leverege": "^3.0.1",
83
- "npm": "^8.5.2"
83
+ "npm": "^8.5.3"
84
84
  }
85
85
  }
package/src/circleate CHANGED
@@ -53,7 +53,7 @@ executors:
53
53
  jobs:
54
54
  install:
55
55
  docker:
56
- - image: circleci/node:fermium
56
+ - image: circleci/node:gallium
57
57
  steps:
58
58
  - checkout
59
59
  - restore_cache:
@@ -79,7 +79,7 @@ jobs:
79
79
 
80
80
  security-check:
81
81
  docker:
82
- - image: circleci/node:fermium
82
+ - image: circleci/node:gallium
83
83
  steps:
84
84
  - checkout
85
85
  - attach_workspace:
@@ -90,7 +90,7 @@ jobs:
90
90
 
91
91
  license-check:
92
92
  docker:
93
- - image: circleci/node:fermium
93
+ - image: circleci/node:gallium
94
94
  steps:
95
95
  - checkout
96
96
  - attach_workspace:
@@ -105,7 +105,7 @@ jobs:
105
105
 
106
106
  lint:
107
107
  docker:
108
- - image: circleci/node:fermium
108
+ - image: circleci/node:gallium
109
109
  steps:
110
110
  - checkout
111
111
  - attach_workspace:
@@ -119,7 +119,7 @@ jobs:
119
119
 
120
120
  docs:
121
121
  docker:
122
- - image: circleci/node:fermium
122
+ - image: circleci/node:gallium
123
123
  steps:
124
124
  - checkout
125
125
  - attach_workspace:
@@ -136,7 +136,7 @@ jobs:
136
136
  environment:
137
137
  TZ: 'America/New_York'
138
138
  docker:
139
- - image: circleci/node:fermium
139
+ - image: circleci/node:gallium
140
140
  # IF YOU NEED ANY OF THESE, UNCOMMENT TO USE
141
141
  # - image: redis
142
142
  # - image: circleci/mysql:5.7
@@ -172,7 +172,7 @@ jobs:
172
172
 
173
173
  - run:
174
174
  name: Check if coverage meets at least 70%
175
- command: ./node_modules/.bin/nyc check-coverage --functions 70 --lines 70 --statements 70
175
+ command: npx c8 check-coverage --functions 70 --lines 70 --statements 70
176
176
 
177
177
  - store_artifacts:
178
178
  path: coverage
@@ -181,7 +181,7 @@ jobs:
181
181
  build:
182
182
  # build should make dist image and prepare docker file
183
183
  docker:
184
- - image: circleci/node:fermium
184
+ - image: circleci/node:gallium
185
185
 
186
186
  steps:
187
187
  - checkout
@@ -476,7 +476,7 @@ jobs:
476
476
 
477
477
  build:
478
478
  docker:
479
- - image: circleci/node:fermium
479
+ - image: circleci/node:gallium
480
480
  steps:
481
481
  - checkout
482
482
  - restore_cache:
@@ -510,7 +510,7 @@ jobs:
510
510
 
511
511
  deploy-dev:
512
512
  docker:
513
- - image: circleci/node:fermium
513
+ - image: circleci/node:gallium
514
514
  steps:
515
515
  - attach_workspace:
516
516
  at: ~/project
@@ -521,7 +521,7 @@ jobs:
521
521
 
522
522
  deploy-prod:
523
523
  docker:
524
- - image: circleci/node:fermium
524
+ - image: circleci/node:gallium
525
525
  steps:
526
526
  - attach_workspace:
527
527
  at: ~/project
package/src/helmup CHANGED
@@ -516,6 +516,8 @@ PLUGIN_NOEXEC
516
516
 
517
517
  function getServiceAndChartVersion() {
518
518
 
519
+ SERVICE=
520
+ CHARTVER=
519
521
  # Allows chart version from command line via <deployment>/<x.y.z>
520
522
  IFS="/" read SERVICE CHARTVER <<< "$1"
521
523
 
@@ -544,7 +546,7 @@ DEPRECATED_CHART
544
546
  local VERSIONS="./Versions.json"
545
547
  if [ -f "$VERSIONS" ];
546
548
  then
547
- CHARTVER=`node -e "charts=require('$VERSIONS');console.log( charts['$SERVICE'].chart || '' )"&>/dev/null`
549
+ CHARTVER=`node -e "charts=require('$VERSIONS');console.log( charts['$SERVICE']?.chart || '' )"`
548
550
  fi
549
551
  }
550
552
 
@@ -642,8 +644,8 @@ function doInstall() {
642
644
 
643
645
  transponder-*)
644
646
  # transponders use the same chart but different deployment name
645
- helm upgrade --install $SERVICE leverege/transponder \
646
- --values $SERVICE/values.yaml $CHARTVER $WHAT
647
+ HELMUP="helm upgrade --install $SERVICE leverege/transponder --values $SERVICE/values.yaml $CHARTVER $WHAT"
648
+ printf "Helming => `color g \"$HELMUP\"`\n\n" && $HELMUP
647
649
  ;;
648
650
 
649
651
  "traefik")