@leverege/build-tools 2.16.0 → 2.16.1

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.
@@ -110,6 +110,14 @@ if (!fs.existsSync('overwhelm.yaml')) {
110
110
 
111
111
  const yaml = YAML.load(fs.readFileSync('overwhelm.yaml', 'utf-8'));
112
112
  const over = yaml.default;
113
+
114
+ if (process.env.OVERWHELM_DEBUG) {
115
+ console.log({
116
+ over,
117
+ yaml
118
+ }, '<==Contents of the over and yaml structs');
119
+ }
120
+
113
121
  let cfgs = yaml[context]; // If we just need to check context return 0 if cfgs exists, else error.
114
122
 
115
123
  if (args.checkctx) {
@@ -347,7 +355,6 @@ if (over.PROJECT_NAME === 'minikube') {
347
355
  process.exit(0);
348
356
  }
349
357
 
350
- console.log(over, `XXXXX=>[${clusterName}]`);
351
358
  const projectId = over.PROJECT_ID;
352
359
  let zone = over['GCE_REGION'] + (over['GCE_ZONE'] ? `-${over['GCE_ZONE']}` : '');
353
360
 
Binary file
@@ -110,6 +110,14 @@ if (!fs.existsSync('overwhelm.yaml')) {
110
110
 
111
111
  const yaml = YAML.load(fs.readFileSync('overwhelm.yaml', 'utf-8'));
112
112
  const over = yaml.default;
113
+
114
+ if (process.env.OVERWHELM_DEBUG) {
115
+ console.log({
116
+ over,
117
+ yaml
118
+ }, '<==Contents of the over and yaml structs');
119
+ }
120
+
113
121
  let cfgs = yaml[context]; // If we just need to check context return 0 if cfgs exists, else error.
114
122
 
115
123
  if (args.checkctx) {
@@ -347,7 +355,6 @@ if (over.PROJECT_NAME === 'minikube') {
347
355
  process.exit(0);
348
356
  }
349
357
 
350
- console.log(over, `XXXXX=>[${clusterName}]`);
351
358
  const projectId = over.PROJECT_ID;
352
359
  let zone = over['GCE_REGION'] + (over['GCE_ZONE'] ? `-${over['GCE_ZONE']}` : '');
353
360
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.16.0",
3
+ "version": "2.16.1",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
package/src/overwhelm.js CHANGED
@@ -64,6 +64,10 @@ if ( !fs.existsSync( 'overwhelm.yaml' ) ) {
64
64
  //
65
65
  const yaml = YAML.load( fs.readFileSync( 'overwhelm.yaml', 'utf-8' ) )
66
66
  const over = yaml.default
67
+ if ( process.env.OVERWHELM_DEBUG ) {
68
+ console.log( { over, yaml }, '<==Contents of the over and yaml structs' )
69
+ }
70
+
67
71
  let cfgs = yaml[context]
68
72
 
69
73
  // If we just need to check context return 0 if cfgs exists, else error.
@@ -289,7 +293,6 @@ const clusterName = over.CLUSTER_NAME
289
293
  if ( over.PROJECT_NAME === 'minikube' ) {
290
294
  process.exit(0)
291
295
  }
292
- console.log( over, `XXXXX=>[${clusterName}]` )
293
296
  const projectId = over.PROJECT_ID
294
297
  let zone = over['GCE_REGION'] + ( over['GCE_ZONE'] ? `-${over['GCE_ZONE']}` : '' )
295
298