@catladder/cli 0.0.0-pipeline-variables-01ca5534 → 0.0.0-pipeline-variables-fb0640d0
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.
|
@@ -39232,11 +39232,17 @@ exports.__esModule = true;
|
|
|
39232
39232
|
exports.getInjectVarsScript = void 0;
|
|
39233
39233
|
var getInjectVarsScript = function (vars) {
|
|
39234
39234
|
if (!vars) return [];
|
|
39235
|
-
|
|
39235
|
+
// filter out null and undefined values
|
|
39236
|
+
return Object.entries(vars).filter(function (_a) {
|
|
39236
39237
|
var _b = __read(_a, 2),
|
|
39237
|
-
key = _b[0],
|
|
39238
39238
|
value = _b[1];
|
|
39239
|
-
return
|
|
39239
|
+
return value !== null && value !== undefined;
|
|
39240
|
+
}).map(function (_a) {
|
|
39241
|
+
var _b;
|
|
39242
|
+
var _c = __read(_a, 2),
|
|
39243
|
+
key = _c[0],
|
|
39244
|
+
value = _c[1];
|
|
39245
|
+
return "export ".concat(key, "=\"").concat((_b = value === null || value === void 0 ? void 0 : value.toString()) !== null && _b !== void 0 ? _b : "", "\"");
|
|
39240
39246
|
});
|
|
39241
39247
|
};
|
|
39242
39248
|
exports.getInjectVarsScript = getInjectVarsScript;
|
|
@@ -41211,7 +41217,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
41211
41217
|
|
|
41212
41218
|
exports.__esModule = true;
|
|
41213
41219
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
41214
|
-
exports.PIPELINE_IMAGE_TAG = "pipeline-variables-
|
|
41220
|
+
exports.PIPELINE_IMAGE_TAG = "pipeline-variables-fb0640d0" || 0;
|
|
41215
41221
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
41216
41222
|
|
|
41217
41223
|
/***/ }),
|
|
@@ -354164,11 +354164,17 @@ exports.__esModule = true;
|
|
|
354164
354164
|
exports.getInjectVarsScript = void 0;
|
|
354165
354165
|
var getInjectVarsScript = function (vars) {
|
|
354166
354166
|
if (!vars) return [];
|
|
354167
|
-
|
|
354167
|
+
// filter out null and undefined values
|
|
354168
|
+
return Object.entries(vars).filter(function (_a) {
|
|
354168
354169
|
var _b = __read(_a, 2),
|
|
354169
|
-
key = _b[0],
|
|
354170
354170
|
value = _b[1];
|
|
354171
|
-
return
|
|
354171
|
+
return value !== null && value !== undefined;
|
|
354172
|
+
}).map(function (_a) {
|
|
354173
|
+
var _b;
|
|
354174
|
+
var _c = __read(_a, 2),
|
|
354175
|
+
key = _c[0],
|
|
354176
|
+
value = _c[1];
|
|
354177
|
+
return "export ".concat(key, "=\"").concat((_b = value === null || value === void 0 ? void 0 : value.toString()) !== null && _b !== void 0 ? _b : "", "\"");
|
|
354172
354178
|
});
|
|
354173
354179
|
};
|
|
354174
354180
|
exports.getInjectVarsScript = getInjectVarsScript;
|
|
@@ -356143,7 +356149,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
356143
356149
|
|
|
356144
356150
|
exports.__esModule = true;
|
|
356145
356151
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
356146
|
-
exports.PIPELINE_IMAGE_TAG = "pipeline-variables-
|
|
356152
|
+
exports.PIPELINE_IMAGE_TAG = "pipeline-variables-fb0640d0" || 0;
|
|
356147
356153
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
356148
356154
|
|
|
356149
356155
|
/***/ }),
|
package/package.json
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
],
|
|
54
54
|
"license": "MIT",
|
|
55
|
-
"version": "0.0.0-pipeline-variables-
|
|
55
|
+
"version": "0.0.0-pipeline-variables-fb0640d0",
|
|
56
56
|
"scripts": {
|
|
57
57
|
"lint": "eslint \"src/**/*.ts\"",
|
|
58
58
|
"lint:fix": "eslint \"src/**/*.ts\" --fix",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"ts-node": "^10.9.1"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@catladder/pipeline": "0.0.0-pipeline-variables-
|
|
77
|
+
"@catladder/pipeline": "0.0.0-pipeline-variables-fb0640d0",
|
|
78
78
|
"@gitbeaker/rest": "^39.28.0",
|
|
79
79
|
"@kubernetes/client-node": "^0.16.2",
|
|
80
80
|
"@tsconfig/node14": "^1.0.1",
|