@catladder/cli 0.0.0-refactor-simplify-and-shorten-requires-docker-build-function-632b986b â 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 +72 -19
- package/dist/bundles/cli/index.js +72 -19
- package/package.json +2 -2
|
@@ -40156,6 +40156,8 @@ var docker_1 = __nccwpck_require__(3219);
|
|
|
40156
40156
|
var types_1 = __nccwpck_require__(1197);
|
|
40157
40157
|
var cache_1 = __nccwpck_require__(4303);
|
|
40158
40158
|
var yarn_1 = __nccwpck_require__(464);
|
|
40159
|
+
var sbom_1 = __nccwpck_require__(5928);
|
|
40160
|
+
var sbom_2 = __nccwpck_require__(9927);
|
|
40159
40161
|
var getMeteorCache = function (context) {
|
|
40160
40162
|
return [{
|
|
40161
40163
|
key: context.componentName + "meteor-build-cache",
|
|
@@ -40180,13 +40182,13 @@ var createMeteorBuildJobs = function (context) {
|
|
|
40180
40182
|
paths: [context.componentConfig.dir + "/__build_info.json", context.componentConfig.dir + "/dist"]
|
|
40181
40183
|
}
|
|
40182
40184
|
}) : null;
|
|
40183
|
-
return __spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), [(0, docker_1.createDockerBuildJobDefault)(context, {
|
|
40185
|
+
return __spreadArray(__spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), [(0, docker_1.createDockerBuildJobDefault)(context, {
|
|
40184
40186
|
script: ["ensureMeteorDockerfile"],
|
|
40185
40187
|
variables: {
|
|
40186
40188
|
METEOR_INSTALL_SCRIPTS: buildConfig.installScripts ? "true" : ""
|
|
40187
40189
|
},
|
|
40188
40190
|
needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
|
|
40189
|
-
})], false);
|
|
40191
|
+
})], false), __read((0, sbom_1.sbomDeactivated)(context) ? [] : [(0, sbom_2.createSbomBuildJob)(context)]), false);
|
|
40190
40192
|
};
|
|
40191
40193
|
exports.createMeteorBuildJobs = createMeteorBuildJobs;
|
|
40192
40194
|
|
|
@@ -40828,7 +40830,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
40828
40830
|
|
|
40829
40831
|
exports.__esModule = true;
|
|
40830
40832
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
40831
|
-
exports.PIPELINE_IMAGE_TAG = "refactor-
|
|
40833
|
+
exports.PIPELINE_IMAGE_TAG = "refactor-deploy-5f0bbd8a" || 0;
|
|
40832
40834
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
40833
40835
|
|
|
40834
40836
|
/***/ }),
|
|
@@ -42082,7 +42084,7 @@ exports.BASE_RETRY = {
|
|
|
42082
42084
|
|
|
42083
42085
|
/***/ }),
|
|
42084
42086
|
|
|
42085
|
-
/***/
|
|
42087
|
+
/***/ 2866:
|
|
42086
42088
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
42087
42089
|
|
|
42088
42090
|
"use strict";
|
|
@@ -42098,6 +42100,21 @@ var __assign = this && this.__assign || function () {
|
|
|
42098
42100
|
};
|
|
42099
42101
|
return __assign.apply(this, arguments);
|
|
42100
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
|
+
};
|
|
42101
42118
|
var __read = this && this.__read || function (o, n) {
|
|
42102
42119
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
42103
42120
|
if (!m) return o;
|
|
@@ -42130,20 +42147,16 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
|
|
|
42130
42147
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
42131
42148
|
};
|
|
42132
42149
|
exports.__esModule = true;
|
|
42133
|
-
exports.
|
|
42150
|
+
exports.getBaseDeploymentStopJob = exports.getBaseDeploymentJob = exports.ROLLBACK_JOB_NAME = exports.STOP_JOB_NAME = exports.DEPLOY_JOB_NAME = void 0;
|
|
42134
42151
|
var docker_1 = __nccwpck_require__(3219);
|
|
42135
42152
|
var sbom_1 = __nccwpck_require__(9927);
|
|
42136
42153
|
var sbom_2 = __nccwpck_require__(5928);
|
|
42137
42154
|
var utils_1 = __nccwpck_require__(2757);
|
|
42155
|
+
var variables_1 = __nccwpck_require__(7040);
|
|
42156
|
+
__exportStar(__nccwpck_require__(9567), exports);
|
|
42138
42157
|
exports.DEPLOY_JOB_NAME = "đ Deploy";
|
|
42139
42158
|
exports.STOP_JOB_NAME = "đ Stop â ī¸";
|
|
42140
42159
|
exports.ROLLBACK_JOB_NAME = "âŠī¸ Rollback â ī¸";
|
|
42141
|
-
var DEPLOY_RUNNER_VARIABLES = {
|
|
42142
|
-
KUBERNETES_CPU_REQUEST: "0.5",
|
|
42143
|
-
KUBERNETES_CPU_LIMIT: "1",
|
|
42144
|
-
KUBERNETES_MEMORY_REQUEST: "200Mi",
|
|
42145
|
-
KUBERNETES_MEMORY_LIMIT: "400Mi"
|
|
42146
|
-
};
|
|
42147
42160
|
var getBaseDeploymentJob = function (context) {
|
|
42148
42161
|
var _a, _b, _c, _d;
|
|
42149
42162
|
var hasDocker = (0, docker_1.requiresDockerBuild)(context);
|
|
@@ -42184,7 +42197,7 @@ var getBaseDeploymentJob = function (context) {
|
|
|
42184
42197
|
}],
|
|
42185
42198
|
allow_failure: whenDeploy === "manual" ? true : false,
|
|
42186
42199
|
stage: "deploy",
|
|
42187
|
-
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 : {} : {}),
|
|
42188
42201
|
environment: __assign(__assign({}, context.environment.gitlabEnvironment), isStoppable ? {
|
|
42189
42202
|
on_stop: exports.STOP_JOB_NAME,
|
|
42190
42203
|
auto_stop_in: autoStop
|
|
@@ -42206,7 +42219,7 @@ var getBaseDeploymentStopJob = function (context) {
|
|
|
42206
42219
|
when: "manual",
|
|
42207
42220
|
allow_failure: true
|
|
42208
42221
|
}],
|
|
42209
|
-
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), {
|
|
42210
42223
|
GIT_STRATEGY: "none"
|
|
42211
42224
|
}),
|
|
42212
42225
|
stage: "stop",
|
|
@@ -42216,16 +42229,39 @@ var getBaseDeploymentStopJob = function (context) {
|
|
|
42216
42229
|
};
|
|
42217
42230
|
};
|
|
42218
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);
|
|
42219
42255
|
var getBaseRollbackJob = function (context) {
|
|
42220
42256
|
return {
|
|
42221
|
-
name:
|
|
42257
|
+
name: _1.ROLLBACK_JOB_NAME,
|
|
42222
42258
|
envMode: "stagePerEnv",
|
|
42223
42259
|
needs: [],
|
|
42224
42260
|
rules: [{
|
|
42225
42261
|
when: "manual",
|
|
42226
42262
|
allow_failure: true
|
|
42227
42263
|
}],
|
|
42228
|
-
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), {
|
|
42229
42265
|
GIT_STRATEGY: "none"
|
|
42230
42266
|
}),
|
|
42231
42267
|
stage: "rollback",
|
|
@@ -42238,6 +42274,23 @@ exports.getBaseRollbackJob = getBaseRollbackJob;
|
|
|
42238
42274
|
|
|
42239
42275
|
/***/ }),
|
|
42240
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
|
+
|
|
42241
42294
|
/***/ 2256:
|
|
42242
42295
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
42243
42296
|
|
|
@@ -42293,7 +42346,7 @@ var _1 = __nccwpck_require__(1344);
|
|
|
42293
42346
|
var docker_1 = __nccwpck_require__(3219);
|
|
42294
42347
|
var getLabels_1 = __nccwpck_require__(486);
|
|
42295
42348
|
var runner_1 = __nccwpck_require__(5071);
|
|
42296
|
-
var base_1 = __nccwpck_require__(
|
|
42349
|
+
var base_1 = __nccwpck_require__(2866);
|
|
42297
42350
|
var types_1 = __nccwpck_require__(3109);
|
|
42298
42351
|
var gcloudServiceAccountLoginCommands_1 = __nccwpck_require__(2607);
|
|
42299
42352
|
var database_1 = __nccwpck_require__(1384);
|
|
@@ -42841,7 +42894,7 @@ exports.createCustomDeployJobs = void 0;
|
|
|
42841
42894
|
var lodash_1 = __nccwpck_require__(3255);
|
|
42842
42895
|
var yarn_1 = __nccwpck_require__(464);
|
|
42843
42896
|
var runner_1 = __nccwpck_require__(5071);
|
|
42844
|
-
var base_1 = __nccwpck_require__(
|
|
42897
|
+
var base_1 = __nccwpck_require__(2866);
|
|
42845
42898
|
var types_1 = __nccwpck_require__(3109);
|
|
42846
42899
|
var sbom_1 = __nccwpck_require__(5928);
|
|
42847
42900
|
var createCustomDeployJobs = function (context) {
|
|
@@ -42906,7 +42959,7 @@ exports.__esModule = true;
|
|
|
42906
42959
|
exports.createDockerTagDeployJobs = void 0;
|
|
42907
42960
|
var lodash_1 = __nccwpck_require__(3255);
|
|
42908
42961
|
var docker_1 = __nccwpck_require__(3219);
|
|
42909
|
-
var base_1 = __nccwpck_require__(
|
|
42962
|
+
var base_1 = __nccwpck_require__(2866);
|
|
42910
42963
|
var types_1 = __nccwpck_require__(3109);
|
|
42911
42964
|
var createDockerTagDeployJobs = function (context) {
|
|
42912
42965
|
var deployConfig = context.componentConfig.deploy;
|
|
@@ -43137,7 +43190,7 @@ var js_yaml_1 = __nccwpck_require__(3618);
|
|
|
43137
43190
|
var lodash_1 = __nccwpck_require__(3255);
|
|
43138
43191
|
var __1 = __nccwpck_require__(5355);
|
|
43139
43192
|
var runner_1 = __nccwpck_require__(5071);
|
|
43140
|
-
var base_1 = __nccwpck_require__(
|
|
43193
|
+
var base_1 = __nccwpck_require__(2866);
|
|
43141
43194
|
var types_1 = __nccwpck_require__(3109);
|
|
43142
43195
|
var kubeValues_1 = __nccwpck_require__(1061);
|
|
43143
43196
|
var sbom_1 = __nccwpck_require__(5928);
|
|
@@ -351221,6 +351221,8 @@ var docker_1 = __nccwpck_require__(33219);
|
|
|
351221
351221
|
var types_1 = __nccwpck_require__(71197);
|
|
351222
351222
|
var cache_1 = __nccwpck_require__(54303);
|
|
351223
351223
|
var yarn_1 = __nccwpck_require__(10464);
|
|
351224
|
+
var sbom_1 = __nccwpck_require__(65928);
|
|
351225
|
+
var sbom_2 = __nccwpck_require__(9927);
|
|
351224
351226
|
var getMeteorCache = function (context) {
|
|
351225
351227
|
return [{
|
|
351226
351228
|
key: context.componentName + "meteor-build-cache",
|
|
@@ -351245,13 +351247,13 @@ var createMeteorBuildJobs = function (context) {
|
|
|
351245
351247
|
paths: [context.componentConfig.dir + "/__build_info.json", context.componentConfig.dir + "/dist"]
|
|
351246
351248
|
}
|
|
351247
351249
|
}) : null;
|
|
351248
|
-
return __spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), [(0, docker_1.createDockerBuildJobDefault)(context, {
|
|
351250
|
+
return __spreadArray(__spreadArray(__spreadArray([], __read(appBuildJob ? [appBuildJob] : []), false), [(0, docker_1.createDockerBuildJobDefault)(context, {
|
|
351249
351251
|
script: ["ensureMeteorDockerfile"],
|
|
351250
351252
|
variables: {
|
|
351251
351253
|
METEOR_INSTALL_SCRIPTS: buildConfig.installScripts ? "true" : ""
|
|
351252
351254
|
},
|
|
351253
351255
|
needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
|
|
351254
|
-
})], false);
|
|
351256
|
+
})], false), __read((0, sbom_1.sbomDeactivated)(context) ? [] : [(0, sbom_2.createSbomBuildJob)(context)]), false);
|
|
351255
351257
|
};
|
|
351256
351258
|
exports.createMeteorBuildJobs = createMeteorBuildJobs;
|
|
351257
351259
|
|
|
@@ -351893,7 +351895,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
351893
351895
|
|
|
351894
351896
|
exports.__esModule = true;
|
|
351895
351897
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
351896
|
-
exports.PIPELINE_IMAGE_TAG = "refactor-
|
|
351898
|
+
exports.PIPELINE_IMAGE_TAG = "refactor-deploy-5f0bbd8a" || 0;
|
|
351897
351899
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
351898
351900
|
|
|
351899
351901
|
/***/ }),
|
|
@@ -353147,7 +353149,7 @@ exports.BASE_RETRY = {
|
|
|
353147
353149
|
|
|
353148
353150
|
/***/ }),
|
|
353149
353151
|
|
|
353150
|
-
/***/
|
|
353152
|
+
/***/ 82866:
|
|
353151
353153
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
353152
353154
|
|
|
353153
353155
|
"use strict";
|
|
@@ -353163,6 +353165,21 @@ var __assign = this && this.__assign || function () {
|
|
|
353163
353165
|
};
|
|
353164
353166
|
return __assign.apply(this, arguments);
|
|
353165
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
|
+
};
|
|
353166
353183
|
var __read = this && this.__read || function (o, n) {
|
|
353167
353184
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
353168
353185
|
if (!m) return o;
|
|
@@ -353195,20 +353212,16 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
|
|
|
353195
353212
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
353196
353213
|
};
|
|
353197
353214
|
exports.__esModule = true;
|
|
353198
|
-
exports.
|
|
353215
|
+
exports.getBaseDeploymentStopJob = exports.getBaseDeploymentJob = exports.ROLLBACK_JOB_NAME = exports.STOP_JOB_NAME = exports.DEPLOY_JOB_NAME = void 0;
|
|
353199
353216
|
var docker_1 = __nccwpck_require__(33219);
|
|
353200
353217
|
var sbom_1 = __nccwpck_require__(9927);
|
|
353201
353218
|
var sbom_2 = __nccwpck_require__(65928);
|
|
353202
353219
|
var utils_1 = __nccwpck_require__(92757);
|
|
353220
|
+
var variables_1 = __nccwpck_require__(67040);
|
|
353221
|
+
__exportStar(__nccwpck_require__(99567), exports);
|
|
353203
353222
|
exports.DEPLOY_JOB_NAME = "đ Deploy";
|
|
353204
353223
|
exports.STOP_JOB_NAME = "đ Stop â ī¸";
|
|
353205
353224
|
exports.ROLLBACK_JOB_NAME = "âŠī¸ Rollback â ī¸";
|
|
353206
|
-
var DEPLOY_RUNNER_VARIABLES = {
|
|
353207
|
-
KUBERNETES_CPU_REQUEST: "0.5",
|
|
353208
|
-
KUBERNETES_CPU_LIMIT: "1",
|
|
353209
|
-
KUBERNETES_MEMORY_REQUEST: "200Mi",
|
|
353210
|
-
KUBERNETES_MEMORY_LIMIT: "400Mi"
|
|
353211
|
-
};
|
|
353212
353225
|
var getBaseDeploymentJob = function (context) {
|
|
353213
353226
|
var _a, _b, _c, _d;
|
|
353214
353227
|
var hasDocker = (0, docker_1.requiresDockerBuild)(context);
|
|
@@ -353249,7 +353262,7 @@ var getBaseDeploymentJob = function (context) {
|
|
|
353249
353262
|
}],
|
|
353250
353263
|
allow_failure: whenDeploy === "manual" ? true : false,
|
|
353251
353264
|
stage: "deploy",
|
|
353252
|
-
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 : {} : {}),
|
|
353253
353266
|
environment: __assign(__assign({}, context.environment.gitlabEnvironment), isStoppable ? {
|
|
353254
353267
|
on_stop: exports.STOP_JOB_NAME,
|
|
353255
353268
|
auto_stop_in: autoStop
|
|
@@ -353271,7 +353284,7 @@ var getBaseDeploymentStopJob = function (context) {
|
|
|
353271
353284
|
when: "manual",
|
|
353272
353285
|
allow_failure: true
|
|
353273
353286
|
}],
|
|
353274
|
-
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), {
|
|
353275
353288
|
GIT_STRATEGY: "none"
|
|
353276
353289
|
}),
|
|
353277
353290
|
stage: "stop",
|
|
@@ -353281,16 +353294,39 @@ var getBaseDeploymentStopJob = function (context) {
|
|
|
353281
353294
|
};
|
|
353282
353295
|
};
|
|
353283
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);
|
|
353284
353320
|
var getBaseRollbackJob = function (context) {
|
|
353285
353321
|
return {
|
|
353286
|
-
name:
|
|
353322
|
+
name: _1.ROLLBACK_JOB_NAME,
|
|
353287
353323
|
envMode: "stagePerEnv",
|
|
353288
353324
|
needs: [],
|
|
353289
353325
|
rules: [{
|
|
353290
353326
|
when: "manual",
|
|
353291
353327
|
allow_failure: true
|
|
353292
353328
|
}],
|
|
353293
|
-
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), {
|
|
353294
353330
|
GIT_STRATEGY: "none"
|
|
353295
353331
|
}),
|
|
353296
353332
|
stage: "rollback",
|
|
@@ -353303,6 +353339,23 @@ exports.getBaseRollbackJob = getBaseRollbackJob;
|
|
|
353303
353339
|
|
|
353304
353340
|
/***/ }),
|
|
353305
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
|
+
|
|
353306
353359
|
/***/ 82256:
|
|
353307
353360
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
|
353308
353361
|
|
|
@@ -353358,7 +353411,7 @@ var _1 = __nccwpck_require__(81344);
|
|
|
353358
353411
|
var docker_1 = __nccwpck_require__(33219);
|
|
353359
353412
|
var getLabels_1 = __nccwpck_require__(30486);
|
|
353360
353413
|
var runner_1 = __nccwpck_require__(55071);
|
|
353361
|
-
var base_1 = __nccwpck_require__(
|
|
353414
|
+
var base_1 = __nccwpck_require__(82866);
|
|
353362
353415
|
var types_1 = __nccwpck_require__(63109);
|
|
353363
353416
|
var gcloudServiceAccountLoginCommands_1 = __nccwpck_require__(22607);
|
|
353364
353417
|
var database_1 = __nccwpck_require__(41384);
|
|
@@ -353906,7 +353959,7 @@ exports.createCustomDeployJobs = void 0;
|
|
|
353906
353959
|
var lodash_1 = __nccwpck_require__(23255);
|
|
353907
353960
|
var yarn_1 = __nccwpck_require__(10464);
|
|
353908
353961
|
var runner_1 = __nccwpck_require__(55071);
|
|
353909
|
-
var base_1 = __nccwpck_require__(
|
|
353962
|
+
var base_1 = __nccwpck_require__(82866);
|
|
353910
353963
|
var types_1 = __nccwpck_require__(63109);
|
|
353911
353964
|
var sbom_1 = __nccwpck_require__(65928);
|
|
353912
353965
|
var createCustomDeployJobs = function (context) {
|
|
@@ -353971,7 +354024,7 @@ exports.__esModule = true;
|
|
|
353971
354024
|
exports.createDockerTagDeployJobs = void 0;
|
|
353972
354025
|
var lodash_1 = __nccwpck_require__(23255);
|
|
353973
354026
|
var docker_1 = __nccwpck_require__(33219);
|
|
353974
|
-
var base_1 = __nccwpck_require__(
|
|
354027
|
+
var base_1 = __nccwpck_require__(82866);
|
|
353975
354028
|
var types_1 = __nccwpck_require__(63109);
|
|
353976
354029
|
var createDockerTagDeployJobs = function (context) {
|
|
353977
354030
|
var deployConfig = context.componentConfig.deploy;
|
|
@@ -354202,7 +354255,7 @@ var js_yaml_1 = __nccwpck_require__(3618);
|
|
|
354202
354255
|
var lodash_1 = __nccwpck_require__(23255);
|
|
354203
354256
|
var __1 = __nccwpck_require__(25355);
|
|
354204
354257
|
var runner_1 = __nccwpck_require__(55071);
|
|
354205
|
-
var base_1 = __nccwpck_require__(
|
|
354258
|
+
var base_1 = __nccwpck_require__(82866);
|
|
354206
354259
|
var types_1 = __nccwpck_require__(63109);
|
|
354207
354260
|
var kubeValues_1 = __nccwpck_require__(1061);
|
|
354208
354261
|
var sbom_1 = __nccwpck_require__(65928);
|
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-
|
|
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-
|
|
60
|
+
"version": "0.0.0-refactor-deploy-5f0bbd8a",
|
|
61
61
|
"stableVersion": "0.0.0"
|
|
62
62
|
}
|