@catladder/cli 0.0.0-main-ec140836 → 0.0.0-main-c6987376
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.
|
@@ -40107,7 +40107,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
40107
40107
|
|
|
40108
40108
|
exports.__esModule = true;
|
|
40109
40109
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
40110
|
-
exports.PIPELINE_IMAGE_TAG = "main-
|
|
40110
|
+
exports.PIPELINE_IMAGE_TAG = "main-c6987376" || 0;
|
|
40111
40111
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
40112
40112
|
|
|
40113
40113
|
/***/ }),
|
|
@@ -41831,7 +41831,7 @@ var runner_1 = __nccwpck_require__(5071);
|
|
|
41831
41831
|
var base_1 = __nccwpck_require__(9177);
|
|
41832
41832
|
var types_1 = __nccwpck_require__(3109);
|
|
41833
41833
|
var createCustomDeployJobs = function (context) {
|
|
41834
|
-
var _a, _b;
|
|
41834
|
+
var _a, _b, _c;
|
|
41835
41835
|
var deployConfig = context.componentConfig.deploy;
|
|
41836
41836
|
if (deployConfig === false) {
|
|
41837
41837
|
return [];
|
|
@@ -41842,11 +41842,14 @@ var createCustomDeployJobs = function (context) {
|
|
|
41842
41842
|
}
|
|
41843
41843
|
var baseDeploymentJob = (0, base_1.getBaseDeploymentJob)(context);
|
|
41844
41844
|
var yarnInstall = (0, yarn_1.getYarnInstall)(context);
|
|
41845
|
-
return [(0, lodash_1.merge)({}, baseDeploymentJob, {
|
|
41845
|
+
return __spreadArray([(0, lodash_1.merge)({}, baseDeploymentJob, {
|
|
41846
41846
|
image: (_a = deployConfig.jobImage) !== null && _a !== void 0 ? _a : (0, runner_1.getRunnerImage)("jobs-default"),
|
|
41847
41847
|
cache: (_b = deployConfig.jobCache) !== null && _b !== void 0 ? _b : [],
|
|
41848
41848
|
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(deployConfig.requiresYarnInstall ? yarnInstall : []), false), __read(deployConfig.script), false)
|
|
41849
|
-
})]
|
|
41849
|
+
})], __read(deployConfig.stopScript ? [(0, lodash_1.merge)({}, (0, base_1.getBaseDeploymentStopJob)(context), {
|
|
41850
|
+
image: (_c = deployConfig.jobImage) !== null && _c !== void 0 ? _c : (0, runner_1.getRunnerImage)("jobs-default"),
|
|
41851
|
+
script: deployConfig.stopScript
|
|
41852
|
+
})] : []), false);
|
|
41850
41853
|
};
|
|
41851
41854
|
exports.createCustomDeployJobs = createCustomDeployJobs;
|
|
41852
41855
|
|
|
@@ -351506,7 +351506,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
351506
351506
|
|
|
351507
351507
|
exports.__esModule = true;
|
|
351508
351508
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
351509
|
-
exports.PIPELINE_IMAGE_TAG = "main-
|
|
351509
|
+
exports.PIPELINE_IMAGE_TAG = "main-c6987376" || 0;
|
|
351510
351510
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
351511
351511
|
|
|
351512
351512
|
/***/ }),
|
|
@@ -353230,7 +353230,7 @@ var runner_1 = __nccwpck_require__(55071);
|
|
|
353230
353230
|
var base_1 = __nccwpck_require__(89177);
|
|
353231
353231
|
var types_1 = __nccwpck_require__(63109);
|
|
353232
353232
|
var createCustomDeployJobs = function (context) {
|
|
353233
|
-
var _a, _b;
|
|
353233
|
+
var _a, _b, _c;
|
|
353234
353234
|
var deployConfig = context.componentConfig.deploy;
|
|
353235
353235
|
if (deployConfig === false) {
|
|
353236
353236
|
return [];
|
|
@@ -353241,11 +353241,14 @@ var createCustomDeployJobs = function (context) {
|
|
|
353241
353241
|
}
|
|
353242
353242
|
var baseDeploymentJob = (0, base_1.getBaseDeploymentJob)(context);
|
|
353243
353243
|
var yarnInstall = (0, yarn_1.getYarnInstall)(context);
|
|
353244
|
-
return [(0, lodash_1.merge)({}, baseDeploymentJob, {
|
|
353244
|
+
return __spreadArray([(0, lodash_1.merge)({}, baseDeploymentJob, {
|
|
353245
353245
|
image: (_a = deployConfig.jobImage) !== null && _a !== void 0 ? _a : (0, runner_1.getRunnerImage)("jobs-default"),
|
|
353246
353246
|
cache: (_b = deployConfig.jobCache) !== null && _b !== void 0 ? _b : [],
|
|
353247
353247
|
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(deployConfig.requiresYarnInstall ? yarnInstall : []), false), __read(deployConfig.script), false)
|
|
353248
|
-
})]
|
|
353248
|
+
})], __read(deployConfig.stopScript ? [(0, lodash_1.merge)({}, (0, base_1.getBaseDeploymentStopJob)(context), {
|
|
353249
|
+
image: (_c = deployConfig.jobImage) !== null && _c !== void 0 ? _c : (0, runner_1.getRunnerImage)("jobs-default"),
|
|
353250
|
+
script: deployConfig.stopScript
|
|
353251
|
+
})] : []), false);
|
|
353249
353252
|
};
|
|
353250
353253
|
exports.createCustomDeployJobs = createCustomDeployJobs;
|
|
353251
353254
|
|
package/package.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"node": ">=12.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@catladder/pipeline": "0.0.0-main-
|
|
27
|
+
"@catladder/pipeline": "0.0.0-main-c6987376",
|
|
28
28
|
"@kubernetes/client-node": "^0.16.2",
|
|
29
29
|
"@tsconfig/node14": "^1.0.1",
|
|
30
30
|
"@types/common-tags": "^1.8.0",
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"typescript": "^4.5.4",
|
|
58
58
|
"vorpal": "^1.12.0"
|
|
59
59
|
},
|
|
60
|
-
"version": "0.0.0-main-
|
|
60
|
+
"version": "0.0.0-main-c6987376",
|
|
61
61
|
"stableVersion": "0.0.0"
|
|
62
62
|
}
|