@catladder/cli 0.0.0-refactor-deploy-03b83ec7 â 0.0.0-refactor-deploy-5f0bbd8a
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.
- package/dist/bundles/catenv/index.js +63 -12
- package/dist/bundles/cli/index.js +63 -12
- package/package.json +2 -2
|
@@ -40830,7 +40830,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
40830
40830
|
|
|
40831
40831
|
exports.__esModule = true;
|
|
40832
40832
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
40833
|
-
exports.PIPELINE_IMAGE_TAG = "refactor-deploy-
|
|
40833
|
+
exports.PIPELINE_IMAGE_TAG = "refactor-deploy-5f0bbd8a" || 0;
|
|
40834
40834
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
40835
40835
|
|
|
40836
40836
|
/***/ }),
|
|
@@ -42100,6 +42100,21 @@ var __assign = this && this.__assign || function () {
|
|
|
42100
42100
|
};
|
|
42101
42101
|
return __assign.apply(this, arguments);
|
|
42102
42102
|
};
|
|
42103
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
42104
|
+
if (k2 === undefined) k2 = k;
|
|
42105
|
+
Object.defineProperty(o, k2, {
|
|
42106
|
+
enumerable: true,
|
|
42107
|
+
get: function () {
|
|
42108
|
+
return m[k];
|
|
42109
|
+
}
|
|
42110
|
+
});
|
|
42111
|
+
} : function (o, m, k, k2) {
|
|
42112
|
+
if (k2 === undefined) k2 = k;
|
|
42113
|
+
o[k2] = m[k];
|
|
42114
|
+
});
|
|
42115
|
+
var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
42116
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
42117
|
+
};
|
|
42103
42118
|
var __read = this && this.__read || function (o, n) {
|
|
42104
42119
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
42105
42120
|
if (!m) return o;
|
|
@@ -42132,20 +42147,16 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
|
|
|
42132
42147
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
42133
42148
|
};
|
|
42134
42149
|
exports.__esModule = true;
|
|
42135
|
-
exports.
|
|
42150
|
+
exports.getBaseDeploymentStopJob = exports.getBaseDeploymentJob = exports.ROLLBACK_JOB_NAME = exports.STOP_JOB_NAME = exports.DEPLOY_JOB_NAME = void 0;
|
|
42136
42151
|
var docker_1 = __nccwpck_require__(3219);
|
|
42137
42152
|
var sbom_1 = __nccwpck_require__(9927);
|
|
42138
42153
|
var sbom_2 = __nccwpck_require__(5928);
|
|
42139
42154
|
var utils_1 = __nccwpck_require__(2757);
|
|
42155
|
+
var variables_1 = __nccwpck_require__(7040);
|
|
42156
|
+
__exportStar(__nccwpck_require__(9567), exports);
|
|
42140
42157
|
exports.DEPLOY_JOB_NAME = "đ Deploy";
|
|
42141
42158
|
exports.STOP_JOB_NAME = "đ Stop â ī¸";
|
|
42142
42159
|
exports.ROLLBACK_JOB_NAME = "âŠī¸ Rollback â ī¸";
|
|
42143
|
-
var DEPLOY_RUNNER_VARIABLES = {
|
|
42144
|
-
KUBERNETES_CPU_REQUEST: "0.5",
|
|
42145
|
-
KUBERNETES_CPU_LIMIT: "1",
|
|
42146
|
-
KUBERNETES_MEMORY_REQUEST: "200Mi",
|
|
42147
|
-
KUBERNETES_MEMORY_LIMIT: "400Mi"
|
|
42148
|
-
};
|
|
42149
42160
|
var getBaseDeploymentJob = function (context) {
|
|
42150
42161
|
var _a, _b, _c, _d;
|
|
42151
42162
|
var hasDocker = (0, docker_1.requiresDockerBuild)(context);
|
|
@@ -42186,7 +42197,7 @@ var getBaseDeploymentJob = function (context) {
|
|
|
42186
42197
|
}],
|
|
42187
42198
|
allow_failure: whenDeploy === "manual" ? true : false,
|
|
42188
42199
|
stage: "deploy",
|
|
42189
|
-
variables: __assign(__assign(__assign(__assign(__assign({}, DEPLOY_RUNNER_VARIABLES), context.environment.envVars), hasDocker ? (0, docker_1.getDockerImageVariables)(context) : {}), context.environment.jobOnlyVars.deploy.envVars), context.componentConfig.deploy ? (_d = context.componentConfig.deploy.extraVars) !== null && _d !== void 0 ? _d : {} : {}),
|
|
42200
|
+
variables: __assign(__assign(__assign(__assign(__assign({}, variables_1.DEPLOY_RUNNER_VARIABLES), context.environment.envVars), hasDocker ? (0, docker_1.getDockerImageVariables)(context) : {}), context.environment.jobOnlyVars.deploy.envVars), context.componentConfig.deploy ? (_d = context.componentConfig.deploy.extraVars) !== null && _d !== void 0 ? _d : {} : {}),
|
|
42190
42201
|
environment: __assign(__assign({}, context.environment.gitlabEnvironment), isStoppable ? {
|
|
42191
42202
|
on_stop: exports.STOP_JOB_NAME,
|
|
42192
42203
|
auto_stop_in: autoStop
|
|
@@ -42208,7 +42219,7 @@ var getBaseDeploymentStopJob = function (context) {
|
|
|
42208
42219
|
when: "manual",
|
|
42209
42220
|
allow_failure: true
|
|
42210
42221
|
}],
|
|
42211
|
-
variables: __assign(__assign(__assign({}, DEPLOY_RUNNER_VARIABLES), context.environment.jobOnlyVars.deploy.envVars), {
|
|
42222
|
+
variables: __assign(__assign(__assign({}, variables_1.DEPLOY_RUNNER_VARIABLES), context.environment.jobOnlyVars.deploy.envVars), {
|
|
42212
42223
|
GIT_STRATEGY: "none"
|
|
42213
42224
|
}),
|
|
42214
42225
|
stage: "stop",
|
|
@@ -42218,16 +42229,39 @@ var getBaseDeploymentStopJob = function (context) {
|
|
|
42218
42229
|
};
|
|
42219
42230
|
};
|
|
42220
42231
|
exports.getBaseDeploymentStopJob = getBaseDeploymentStopJob;
|
|
42232
|
+
|
|
42233
|
+
/***/ }),
|
|
42234
|
+
|
|
42235
|
+
/***/ 9567:
|
|
42236
|
+
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
42237
|
+
|
|
42238
|
+
"use strict";
|
|
42239
|
+
|
|
42240
|
+
|
|
42241
|
+
var __assign = this && this.__assign || function () {
|
|
42242
|
+
__assign = Object.assign || function (t) {
|
|
42243
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
42244
|
+
s = arguments[i];
|
|
42245
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
42246
|
+
}
|
|
42247
|
+
return t;
|
|
42248
|
+
};
|
|
42249
|
+
return __assign.apply(this, arguments);
|
|
42250
|
+
};
|
|
42251
|
+
exports.__esModule = true;
|
|
42252
|
+
exports.getBaseRollbackJob = void 0;
|
|
42253
|
+
var _1 = __nccwpck_require__(2866);
|
|
42254
|
+
var variables_1 = __nccwpck_require__(7040);
|
|
42221
42255
|
var getBaseRollbackJob = function (context) {
|
|
42222
42256
|
return {
|
|
42223
|
-
name:
|
|
42257
|
+
name: _1.ROLLBACK_JOB_NAME,
|
|
42224
42258
|
envMode: "stagePerEnv",
|
|
42225
42259
|
needs: [],
|
|
42226
42260
|
rules: [{
|
|
42227
42261
|
when: "manual",
|
|
42228
42262
|
allow_failure: true
|
|
42229
42263
|
}],
|
|
42230
|
-
variables: __assign(__assign(__assign({}, DEPLOY_RUNNER_VARIABLES), context.environment.jobOnlyVars.deploy.envVars), {
|
|
42264
|
+
variables: __assign(__assign(__assign({}, variables_1.DEPLOY_RUNNER_VARIABLES), context.environment.jobOnlyVars.deploy.envVars), {
|
|
42231
42265
|
GIT_STRATEGY: "none"
|
|
42232
42266
|
}),
|
|
42233
42267
|
stage: "rollback",
|
|
@@ -42240,6 +42274,23 @@ exports.getBaseRollbackJob = getBaseRollbackJob;
|
|
|
42240
42274
|
|
|
42241
42275
|
/***/ }),
|
|
42242
42276
|
|
|
42277
|
+
/***/ 7040:
|
|
42278
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
42279
|
+
|
|
42280
|
+
"use strict";
|
|
42281
|
+
|
|
42282
|
+
|
|
42283
|
+
exports.__esModule = true;
|
|
42284
|
+
exports.DEPLOY_RUNNER_VARIABLES = void 0;
|
|
42285
|
+
exports.DEPLOY_RUNNER_VARIABLES = {
|
|
42286
|
+
KUBERNETES_CPU_REQUEST: "0.5",
|
|
42287
|
+
KUBERNETES_CPU_LIMIT: "1",
|
|
42288
|
+
KUBERNETES_MEMORY_REQUEST: "200Mi",
|
|
42289
|
+
KUBERNETES_MEMORY_LIMIT: "400Mi"
|
|
42290
|
+
};
|
|
42291
|
+
|
|
42292
|
+
/***/ }),
|
|
42293
|
+
|
|
42243
42294
|
/***/ 2256:
|
|
42244
42295
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
42245
42296
|
|
|
@@ -351895,7 +351895,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
351895
351895
|
|
|
351896
351896
|
exports.__esModule = true;
|
|
351897
351897
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
351898
|
-
exports.PIPELINE_IMAGE_TAG = "refactor-deploy-
|
|
351898
|
+
exports.PIPELINE_IMAGE_TAG = "refactor-deploy-5f0bbd8a" || 0;
|
|
351899
351899
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
351900
351900
|
|
|
351901
351901
|
/***/ }),
|
|
@@ -353165,6 +353165,21 @@ var __assign = this && this.__assign || function () {
|
|
|
353165
353165
|
};
|
|
353166
353166
|
return __assign.apply(this, arguments);
|
|
353167
353167
|
};
|
|
353168
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
353169
|
+
if (k2 === undefined) k2 = k;
|
|
353170
|
+
Object.defineProperty(o, k2, {
|
|
353171
|
+
enumerable: true,
|
|
353172
|
+
get: function () {
|
|
353173
|
+
return m[k];
|
|
353174
|
+
}
|
|
353175
|
+
});
|
|
353176
|
+
} : function (o, m, k, k2) {
|
|
353177
|
+
if (k2 === undefined) k2 = k;
|
|
353178
|
+
o[k2] = m[k];
|
|
353179
|
+
});
|
|
353180
|
+
var __exportStar = this && this.__exportStar || function (m, exports) {
|
|
353181
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
353182
|
+
};
|
|
353168
353183
|
var __read = this && this.__read || function (o, n) {
|
|
353169
353184
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
353170
353185
|
if (!m) return o;
|
|
@@ -353197,20 +353212,16 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
|
|
|
353197
353212
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
353198
353213
|
};
|
|
353199
353214
|
exports.__esModule = true;
|
|
353200
|
-
exports.
|
|
353215
|
+
exports.getBaseDeploymentStopJob = exports.getBaseDeploymentJob = exports.ROLLBACK_JOB_NAME = exports.STOP_JOB_NAME = exports.DEPLOY_JOB_NAME = void 0;
|
|
353201
353216
|
var docker_1 = __nccwpck_require__(33219);
|
|
353202
353217
|
var sbom_1 = __nccwpck_require__(9927);
|
|
353203
353218
|
var sbom_2 = __nccwpck_require__(65928);
|
|
353204
353219
|
var utils_1 = __nccwpck_require__(92757);
|
|
353220
|
+
var variables_1 = __nccwpck_require__(67040);
|
|
353221
|
+
__exportStar(__nccwpck_require__(99567), exports);
|
|
353205
353222
|
exports.DEPLOY_JOB_NAME = "đ Deploy";
|
|
353206
353223
|
exports.STOP_JOB_NAME = "đ Stop â ī¸";
|
|
353207
353224
|
exports.ROLLBACK_JOB_NAME = "âŠī¸ Rollback â ī¸";
|
|
353208
|
-
var DEPLOY_RUNNER_VARIABLES = {
|
|
353209
|
-
KUBERNETES_CPU_REQUEST: "0.5",
|
|
353210
|
-
KUBERNETES_CPU_LIMIT: "1",
|
|
353211
|
-
KUBERNETES_MEMORY_REQUEST: "200Mi",
|
|
353212
|
-
KUBERNETES_MEMORY_LIMIT: "400Mi"
|
|
353213
|
-
};
|
|
353214
353225
|
var getBaseDeploymentJob = function (context) {
|
|
353215
353226
|
var _a, _b, _c, _d;
|
|
353216
353227
|
var hasDocker = (0, docker_1.requiresDockerBuild)(context);
|
|
@@ -353251,7 +353262,7 @@ var getBaseDeploymentJob = function (context) {
|
|
|
353251
353262
|
}],
|
|
353252
353263
|
allow_failure: whenDeploy === "manual" ? true : false,
|
|
353253
353264
|
stage: "deploy",
|
|
353254
|
-
variables: __assign(__assign(__assign(__assign(__assign({}, DEPLOY_RUNNER_VARIABLES), context.environment.envVars), hasDocker ? (0, docker_1.getDockerImageVariables)(context) : {}), context.environment.jobOnlyVars.deploy.envVars), context.componentConfig.deploy ? (_d = context.componentConfig.deploy.extraVars) !== null && _d !== void 0 ? _d : {} : {}),
|
|
353265
|
+
variables: __assign(__assign(__assign(__assign(__assign({}, variables_1.DEPLOY_RUNNER_VARIABLES), context.environment.envVars), hasDocker ? (0, docker_1.getDockerImageVariables)(context) : {}), context.environment.jobOnlyVars.deploy.envVars), context.componentConfig.deploy ? (_d = context.componentConfig.deploy.extraVars) !== null && _d !== void 0 ? _d : {} : {}),
|
|
353255
353266
|
environment: __assign(__assign({}, context.environment.gitlabEnvironment), isStoppable ? {
|
|
353256
353267
|
on_stop: exports.STOP_JOB_NAME,
|
|
353257
353268
|
auto_stop_in: autoStop
|
|
@@ -353273,7 +353284,7 @@ var getBaseDeploymentStopJob = function (context) {
|
|
|
353273
353284
|
when: "manual",
|
|
353274
353285
|
allow_failure: true
|
|
353275
353286
|
}],
|
|
353276
|
-
variables: __assign(__assign(__assign({}, DEPLOY_RUNNER_VARIABLES), context.environment.jobOnlyVars.deploy.envVars), {
|
|
353287
|
+
variables: __assign(__assign(__assign({}, variables_1.DEPLOY_RUNNER_VARIABLES), context.environment.jobOnlyVars.deploy.envVars), {
|
|
353277
353288
|
GIT_STRATEGY: "none"
|
|
353278
353289
|
}),
|
|
353279
353290
|
stage: "stop",
|
|
@@ -353283,16 +353294,39 @@ var getBaseDeploymentStopJob = function (context) {
|
|
|
353283
353294
|
};
|
|
353284
353295
|
};
|
|
353285
353296
|
exports.getBaseDeploymentStopJob = getBaseDeploymentStopJob;
|
|
353297
|
+
|
|
353298
|
+
/***/ }),
|
|
353299
|
+
|
|
353300
|
+
/***/ 99567:
|
|
353301
|
+
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
353302
|
+
|
|
353303
|
+
"use strict";
|
|
353304
|
+
|
|
353305
|
+
|
|
353306
|
+
var __assign = this && this.__assign || function () {
|
|
353307
|
+
__assign = Object.assign || function (t) {
|
|
353308
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
353309
|
+
s = arguments[i];
|
|
353310
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
353311
|
+
}
|
|
353312
|
+
return t;
|
|
353313
|
+
};
|
|
353314
|
+
return __assign.apply(this, arguments);
|
|
353315
|
+
};
|
|
353316
|
+
exports.__esModule = true;
|
|
353317
|
+
exports.getBaseRollbackJob = void 0;
|
|
353318
|
+
var _1 = __nccwpck_require__(82866);
|
|
353319
|
+
var variables_1 = __nccwpck_require__(67040);
|
|
353286
353320
|
var getBaseRollbackJob = function (context) {
|
|
353287
353321
|
return {
|
|
353288
|
-
name:
|
|
353322
|
+
name: _1.ROLLBACK_JOB_NAME,
|
|
353289
353323
|
envMode: "stagePerEnv",
|
|
353290
353324
|
needs: [],
|
|
353291
353325
|
rules: [{
|
|
353292
353326
|
when: "manual",
|
|
353293
353327
|
allow_failure: true
|
|
353294
353328
|
}],
|
|
353295
|
-
variables: __assign(__assign(__assign({}, DEPLOY_RUNNER_VARIABLES), context.environment.jobOnlyVars.deploy.envVars), {
|
|
353329
|
+
variables: __assign(__assign(__assign({}, variables_1.DEPLOY_RUNNER_VARIABLES), context.environment.jobOnlyVars.deploy.envVars), {
|
|
353296
353330
|
GIT_STRATEGY: "none"
|
|
353297
353331
|
}),
|
|
353298
353332
|
stage: "rollback",
|
|
@@ -353305,6 +353339,23 @@ exports.getBaseRollbackJob = getBaseRollbackJob;
|
|
|
353305
353339
|
|
|
353306
353340
|
/***/ }),
|
|
353307
353341
|
|
|
353342
|
+
/***/ 67040:
|
|
353343
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
353344
|
+
|
|
353345
|
+
"use strict";
|
|
353346
|
+
|
|
353347
|
+
|
|
353348
|
+
exports.__esModule = true;
|
|
353349
|
+
exports.DEPLOY_RUNNER_VARIABLES = void 0;
|
|
353350
|
+
exports.DEPLOY_RUNNER_VARIABLES = {
|
|
353351
|
+
KUBERNETES_CPU_REQUEST: "0.5",
|
|
353352
|
+
KUBERNETES_CPU_LIMIT: "1",
|
|
353353
|
+
KUBERNETES_MEMORY_REQUEST: "200Mi",
|
|
353354
|
+
KUBERNETES_MEMORY_LIMIT: "400Mi"
|
|
353355
|
+
};
|
|
353356
|
+
|
|
353357
|
+
/***/ }),
|
|
353358
|
+
|
|
353308
353359
|
/***/ 82256:
|
|
353309
353360
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
353310
353361
|
|
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-refactor-deploy-
|
|
27
|
+
"@catladder/pipeline": "0.0.0-refactor-deploy-5f0bbd8a",
|
|
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-refactor-deploy-
|
|
60
|
+
"version": "0.0.0-refactor-deploy-5f0bbd8a",
|
|
61
61
|
"stableVersion": "0.0.0"
|
|
62
62
|
}
|