@leverege/build-tools 2.113.5-pedro.1 → 2.113.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.113.5-pedro.1",
3
+ "version": "2.113.5",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/bash-funcs CHANGED
@@ -120,18 +120,6 @@ function getManagedSecret() {
120
120
  echo "$SECRET"
121
121
  }
122
122
 
123
- # Fail fast when gcloud cannot mint tokens. Downstream tools capture gcloud
124
- # output, so reauthentication cannot prompt there; surfacing it here lets
125
- # gcloud reauth interactively on the TTY when policy allows. stdout goes to a
126
- # literal /dev/null (NOT $DEVNULL, which is /dev/stderr in debug mode) so the
127
- # access tokens are never printed.
128
- function errorIfStaleGcloudAuth() {
129
- gcloud auth print-access-token > /dev/null
130
- exitOnError $? "GCP credentials expired. Please run: `color g 'gcloud auth login'`"
131
- gcloud auth application-default print-access-token > /dev/null
132
- exitOnError $? "GCP application-default credentials expired. Please run: `color g 'gcloud auth application-default login'`"
133
- }
134
-
135
123
  function getProjectIdFromK8sContext() {
136
124
  local currContext=`kubectl config current-context`
137
125
 
@@ -6,12 +6,8 @@ orbs:
6
6
  workflows:
7
7
  build-and-verify:
8
8
  jobs:
9
- - leverege/install-dependencies:
10
- context: npm
11
9
  - leverege/code-analysis:
12
10
  context: npm
13
- requires:
14
- - leverege/install-dependencies
15
11
  - leverege/code-coverage:
16
12
  context:
17
13
  - npm
@@ -19,12 +15,8 @@ workflows:
19
15
  coverage-threshold: 70 # percentage threshold for functions, lines, and statements
20
16
  enable-redis: false # set to true if tests require a live Redis connection
21
17
  cache-config: '{"type":"inMemory"}' # sets CACHE_CONFIG env var - options: inMemory, redis
22
- requires:
23
- - leverege/install-dependencies
24
18
  - leverege/generate-docs:
25
19
  context: npm
26
- requires:
27
- - leverege/install-dependencies
28
20
  - leverege/mirror-to-github:
29
21
  context: github-mirror
30
22
  # github-team: platform # available teams: platform, utilities, pitcrew, recovr
package/src/helmup.sh CHANGED
@@ -85,9 +85,6 @@ BAD_IDEA
85
85
  exit 1
86
86
  fi
87
87
 
88
- # stop here rather than half way through a deploy if the creds cannot mint tokens
89
- errorIfStaleGcloudAuth
90
-
91
88
  # artifact-registry => https://console.cloud.google.com/artifacts?project=leverege-registry
92
89
  REGISTRY_DOMAIN="us-docker.pkg.dev"
93
90
  # open container initiative (oci) => https://opencontainers.org/
@@ -98,7 +95,6 @@ gcloud auth application-default print-access-token | helm registry login \
98
95
 
99
96
  # make sure we have a current npmrc file
100
97
  refresh-npm-token
101
- exitOnError $? "refresh-npm-token failed - the rc files were not refreshed"
102
98
 
103
99
  # removed geotile-server from standard platform 3/20/22 - low usage
104
100
  PLATFORM=(