@leverege/build-tools 2.5.0-beta.40 → 2.5.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.
package/README.md CHANGED
@@ -13,16 +13,18 @@ npm install -g @leverege/build-tools
13
13
  ## Tool Descriptions
14
14
 
15
15
  ### General Tools:
16
+ * **build-tools**: A command to get the root of this repo, a latest version check, or bash functions to source
16
17
  * **circleate**: bootstrap .circleci config repo
17
18
  * **decrypt-secrets**: decrypts secrets (env, service accounts)
18
19
  * **dockreate**: bootstrap docker repo
19
20
  * **encrypt-secrets**: encrypts secrets (env, service accounts)
21
+ * **repo-init**: A repository bootstrapping tool
20
22
 
21
23
  ### Helm Helpers:
22
24
  * **overwhelm**: A k8s context helper and yaml replacer *OVH:<REPLACE_ME>*
23
25
  * **helmify**: DESCRIPTION
24
- * **helmup**: A context safe helm deployment tool.
25
- * **helmdn**: A destroyer of helm deplotments (danger zone).
26
+ * **helmup**: A context safe helm deployment tool
27
+ * **helmdn**: A destroyer of helm deplotments (danger zone)
26
28
 
27
29
  ### Kubernetes Helpers:
28
30
  * **k8x**: A script to help run commands on active pods in a k8s cluster.
@@ -24,20 +24,20 @@ const optionList = [// Use optionList to tie into the Usage statements
24
24
  default: false,
25
25
  description: 'returns the root of the build-tools installation'
26
26
  }, {
27
- name: 'bashfun',
27
+ name: 'latest',
28
28
  type: Boolean,
29
29
  default: false,
30
- descriptions: 'returns path to a script to source for common bash functions'
30
+ description: 'verifies the latest build-tools are installed'
31
31
  }, {
32
- name: 'help',
32
+ name: 'bashfun',
33
33
  type: Boolean,
34
34
  default: false,
35
- description: 'display this help screen'
35
+ description: 'source the output to define common bash helper functions'
36
36
  }, {
37
- name: 'latest',
37
+ name: 'help',
38
38
  type: Boolean,
39
39
  default: false,
40
- description: 'verifies the latest build-tools are installed'
40
+ description: 'display this help screen'
41
41
  }, {
42
42
  name: 'version',
43
43
  type: Boolean,
@@ -51,8 +51,9 @@ const optionList = [// Use optionList to tie into the Usage statements
51
51
  description: 'emit additional info at run time'
52
52
  }];
53
53
  const sections = [{
54
- header: 'Something to go in the Header',
55
- content: 'Generate something {italic very} important.'
54
+ header: 'A collection of build / support tools for all Leverege code',
55
+ content: `README: {green https://bitbucket.org/leverege/build-tools/src/development}
56
+ `
56
57
  }, {
57
58
  header: 'Options',
58
59
  optionList
@@ -234,7 +234,8 @@ module.exports = {
234
234
 
235
235
  const enableFirebase = cloudServices.includes('firebase');
236
236
  const enableBigQuery = cloudServices.includes('bigquery');
237
- await createDeploymentYAML(name, enableFirebase, enableBigQuery, protocol);
237
+ const tcpOrUdp = protocol == 'none' ? 'TCP' : protocol;
238
+ await createDeploymentYAML(name, enableFirebase, enableBigQuery, tcpOrUdp);
238
239
  await createValuesYAML(chartSafeName, appVersion, redisAccess, securityContext, preemptible, protocol, scaler, cloud);
239
240
  console.log(chalk.green.bold(`\n\n Helm chart for ${name} is now ready \n`));
240
241
  console.log(chalk.yellow.bold('Add any additional env vars to value.yaml and deployment.yaml prior to deployment'));
Binary file
@@ -24,20 +24,20 @@ const optionList = [// Use optionList to tie into the Usage statements
24
24
  default: false,
25
25
  description: 'returns the root of the build-tools installation'
26
26
  }, {
27
- name: 'bashfun',
27
+ name: 'latest',
28
28
  type: Boolean,
29
29
  default: false,
30
- descriptions: 'returns path to a script to source for common bash functions'
30
+ description: 'verifies the latest build-tools are installed'
31
31
  }, {
32
- name: 'help',
32
+ name: 'bashfun',
33
33
  type: Boolean,
34
34
  default: false,
35
- description: 'display this help screen'
35
+ description: 'source the output to define common bash helper functions'
36
36
  }, {
37
- name: 'latest',
37
+ name: 'help',
38
38
  type: Boolean,
39
39
  default: false,
40
- description: 'verifies the latest build-tools are installed'
40
+ description: 'display this help screen'
41
41
  }, {
42
42
  name: 'version',
43
43
  type: Boolean,
@@ -51,8 +51,9 @@ const optionList = [// Use optionList to tie into the Usage statements
51
51
  description: 'emit additional info at run time'
52
52
  }];
53
53
  const sections = [{
54
- header: 'Something to go in the Header',
55
- content: 'Generate something {italic very} important.'
54
+ header: 'A collection of build / support tools for all Leverege code',
55
+ content: `README: {green https://bitbucket.org/leverege/build-tools/src/development}
56
+ `
56
57
  }, {
57
58
  header: 'Options',
58
59
  optionList
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.5.0-beta.40",
3
+ "version": "2.5.1",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,10 +16,15 @@ const optionList = [ // Use optionList to tie into the Usage statements
16
16
  default : false,
17
17
  description : 'returns the root of the build-tools installation',
18
18
  },
19
+ { name : 'latest',
20
+ type : Boolean,
21
+ default : false,
22
+ description : 'verifies the latest build-tools are installed',
23
+ },
19
24
  { name : 'bashfun',
20
25
  type : Boolean,
21
26
  default : false,
22
- descriptions : 'returns path to a script to source for common bash functions',
27
+ description : 'source the output to define common bash helper functions',
23
28
  },
24
29
  {
25
30
  name : 'help',
@@ -27,11 +32,6 @@ const optionList = [ // Use optionList to tie into the Usage statements
27
32
  default : false,
28
33
  description : 'display this help screen',
29
34
  },
30
- { name : 'latest',
31
- type : Boolean,
32
- default : false,
33
- description : 'verifies the latest build-tools are installed',
34
- },
35
35
  { name : 'version',
36
36
  type : Boolean,
37
37
  default : false,
@@ -47,8 +47,10 @@ const optionList = [ // Use optionList to tie into the Usage statements
47
47
 
48
48
  const sections = [
49
49
  {
50
- header : 'Something to go in the Header',
51
- content : 'Generate something {italic very} important.',
50
+ header : 'A collection of build / support tools for all Leverege code',
51
+ content :
52
+ `README: {green https://bitbucket.org/leverege/build-tools/src/development}
53
+ `,
52
54
  },
53
55
  { header : 'Options',
54
56
  optionList,