kube-workflow
Advanced tools
Comparing version 1.19.1 to 1.20.0
{ | ||
"name": "kube-workflow-common", | ||
"version": "1.19.1", | ||
"version": "1.20.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
const asyncShell = require("./async-shell") | ||
module.exports = async (cwd = process.cwd()) => | ||
(await asyncShell("git name-rev --name-only HEAD", { cwd })).trim() | ||
module.exports = async (cwd = process.cwd()) => { | ||
let ref = (await asyncShell("git branch --show-current", { cwd })).trim() | ||
if (!ref) { | ||
ref = (await asyncShell("git name-rev --name-only HEAD", { cwd })).trim() | ||
} | ||
return ref | ||
} |
{ | ||
"name": "kube-workflow", | ||
"version": "1.19.1", | ||
"version": "1.20.0", | ||
"repository": "git@github.com:SocialGouv/kube-workflow.git", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -6,3 +6,2 @@ const fs = require("fs-extra") | ||
const getDirectories = require("~common/utils/get-directories") | ||
const loadYamlFile = require("~common/utils/load-yaml-file") | ||
const getYamlPath = require("~common/utils/get-yaml-path") | ||
@@ -87,2 +86,9 @@ | ||
for (const { name } of [...dependencies]) { | ||
if(!values[name]){ | ||
values[name] = {} | ||
} | ||
if(values[name].enabled===undefined){ | ||
values[name].enabled = false | ||
} | ||
for (const componentKey of componentKeys) { | ||
@@ -89,0 +95,0 @@ const isAnInstanceOf = componentKey.startsWith(`${name}-`) |
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
205263
142
2248