@leverege/build-tools 2.5.20 → 2.5.22
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.
|
@@ -76,7 +76,7 @@ async function createValuesYAML(name, version, redisAccess, securityContext, pre
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
try {
|
|
79
|
-
await fsp.writeFile('helm/values.yaml', yaml.
|
|
79
|
+
await fsp.writeFile('helm/values.yaml', yaml.dump(values), 'utf8');
|
|
80
80
|
} catch (err) {
|
|
81
81
|
console.error('Failed to create values.yaml file', chalk.red.bold('ERROR'));
|
|
82
82
|
process.exit(1);
|
|
@@ -85,9 +85,9 @@ async function createValuesYAML(name, version, redisAccess, securityContext, pre
|
|
|
85
85
|
|
|
86
86
|
async function createChartYAML(chart) {
|
|
87
87
|
try {
|
|
88
|
-
await fsp.writeFile('helm/Chart.yaml', yaml.
|
|
88
|
+
await fsp.writeFile('helm/Chart.yaml', yaml.dump(chart), 'utf8');
|
|
89
89
|
} catch (err) {
|
|
90
|
-
console.error('Failed to create Chart.yaml file
|
|
90
|
+
console.error(`${chalk.red.bold('ERROR')} Failed to create Chart.yaml file\n`, err);
|
|
91
91
|
process.exit(1);
|
|
92
92
|
}
|
|
93
93
|
}
|
package/lib/server/overwhelm.js
CHANGED
|
@@ -88,7 +88,7 @@ if (context === 'master') {
|
|
|
88
88
|
//
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
const yaml = YAML.
|
|
91
|
+
const yaml = YAML.load(fs.readFileSync('overwhelm.yaml', 'utf-8'));
|
|
92
92
|
const over = yaml.default;
|
|
93
93
|
let cfgs = yaml[context]; // If we just need to check context return 0 if cfgs exists, else error.
|
|
94
94
|
|
|
Binary file
|
package/lib/web/overwhelm.js
CHANGED
|
@@ -88,7 +88,7 @@ if (context === 'master') {
|
|
|
88
88
|
//
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
const yaml = YAML.
|
|
91
|
+
const yaml = YAML.load(fs.readFileSync('overwhelm.yaml', 'utf-8'));
|
|
92
92
|
const over = yaml.default;
|
|
93
93
|
let cfgs = yaml[context]; // If we just need to check context return 0 if cfgs exists, else error.
|
|
94
94
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leverege/build-tools",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.22",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"inquirer": "^7.3.3",
|
|
64
64
|
"js-yaml": "^4.0.0",
|
|
65
65
|
"ncp": "^2.0.0",
|
|
66
|
-
"npm-check-updates": "^11.1.
|
|
66
|
+
"npm-check-updates": "^11.1.1",
|
|
67
67
|
"npm-registry-fetch": "^9.0.0",
|
|
68
68
|
"open": "^7.3.1",
|
|
69
69
|
"ora": "^5.3.0",
|
package/src/overwhelm.js
CHANGED
|
@@ -49,7 +49,7 @@ if ( context === 'master' ) {
|
|
|
49
49
|
// approach in order to keep us cognizant of exactly where a cluster is
|
|
50
50
|
// being formed.
|
|
51
51
|
//
|
|
52
|
-
const yaml = YAML.
|
|
52
|
+
const yaml = YAML.load( fs.readFileSync( 'overwhelm.yaml', 'utf-8' ) )
|
|
53
53
|
const over = yaml.default
|
|
54
54
|
let cfgs = yaml[context]
|
|
55
55
|
|