kube-workflow
Advanced tools
Comparing version 1.4.10 to 1.4.11
@@ -13,2 +13,3 @@ const os = require("os") | ||
const compileUses = require("./compile-uses") | ||
const compileOutputs = require("./compile-outputs") | ||
const compileChart = require("./compile-chart") | ||
@@ -119,2 +120,5 @@ const compiledefaultNs = require("./compile-default-ns") | ||
logger.debug("Compiling outputs") | ||
await compileOutputs(values) | ||
logger.debug("Compiling additional subcharts instances") | ||
@@ -121,0 +125,0 @@ const chart = await compileChart(values) |
@@ -69,3 +69,2 @@ const fs = require("fs-extra") | ||
} | ||
run.needs = run.needs.map((r) => [scope[0], r].join("..")) | ||
@@ -84,12 +83,20 @@ if (!run.use) { | ||
} | ||
return runValues.runs.map((r) => ({ | ||
action: run.use, | ||
...Object.entries(r).reduce((acc, [key, value]) => { | ||
if (key !== "use") { | ||
acc[key] = value | ||
return runValues.runs.map((r) => { | ||
const newRun = { | ||
action: run.use, | ||
} | ||
for (const key of Object.keys(r)) { | ||
if (key === "use") { | ||
continue | ||
} | ||
return acc | ||
}, {}), | ||
with: run.with, | ||
})) | ||
newRun[key] = r[key] | ||
} | ||
newRun.with = run.with | ||
if (!newRun.needs) { | ||
newRun.needs = [] | ||
} | ||
newRun.needs = newRun.needs.map((r) => [scope[0], r].join("..")) | ||
newRun.needs = [...new Set([...newRun.needs, ...run.needs])] | ||
return newRun | ||
}) | ||
}) | ||
@@ -96,0 +103,0 @@ ) |
@@ -29,3 +29,3 @@ const { spawn } = require("child_process") | ||
} | ||
resolve(out.join()) | ||
resolve(Buffer.concat(out).toString()) | ||
} else { | ||
@@ -32,0 +32,0 @@ reject(err.join()) |
@@ -5,2 +5,9 @@ # Changelog | ||
### 1.4.11 (2022-03-30) | ||
### Bug Fixes | ||
* trigger release ([236309f](https://github.com/SocialGouv/kube-workflow/commit/236309f7507c09c3af4c7d3b378a7912773032d7)) | ||
### [1.4.10](https://github.com/SocialGouv/kube-workflow/compare/v1.4.9...v1.4.10) (2022-03-28) | ||
@@ -7,0 +14,0 @@ |
{ | ||
"name": "kube-workflow", | ||
"version": "1.4.10", | ||
"version": "1.4.11", | ||
"repository": "git@github.com:SocialGouv/kube-workflow.git", | ||
@@ -14,2 +14,3 @@ "license": "MIT", | ||
"js-yaml": "^4.1.0", | ||
"lodash.camelcase": "^4.3.0", | ||
"lodash.defaultsdeep": "^4.6.1", | ||
@@ -16,0 +17,0 @@ "nctx": "^1.0.1", |
# Kube-Workflow - CI on Kubernetes 🚀 | ||
[![schema](./schema.png)](https://excalidraw.com/#json=gKk7kOn6a9tbmkRZlPige,IQnqqMuiEPgmWbd39GlUYg) | ||
## GitHub Action Entrypoint | ||
@@ -4,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1814995
159
1043
267
15
+ Addedlodash.camelcase@^4.3.0
+ Addedlodash.camelcase@4.3.0(transitive)