@catladder/cli 0.0.0-main-7a55b093 โ 0.0.0-main-a008667a
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 +26 -20
- package/dist/bundles/cli/index.js +26 -20
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -39842,21 +39842,24 @@ var types_1 = __nccwpck_require__(1197);
|
|
|
39842
39842
|
var cache_1 = __nccwpck_require__(4303);
|
|
39843
39843
|
var constants_2 = __nccwpck_require__(9284);
|
|
39844
39844
|
var yarn_1 = __nccwpck_require__(464);
|
|
39845
|
+
var runner_1 = __nccwpck_require__(5071);
|
|
39845
39846
|
var createNodeBuildJobs = function (context) {
|
|
39846
|
-
var _a, _b, _c, _d, _e, _f;
|
|
39847
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
39847
39848
|
var buildConfig = context.componentConfig.build;
|
|
39848
39849
|
if (!(0, types_1.isOfBuildType)(buildConfig, "node", "node-static", "storybook")) {
|
|
39849
39850
|
throw new Error("deploy config is not node, node-static or storybook");
|
|
39850
39851
|
}
|
|
39852
|
+
var defaultImage = (0, runner_1.getRunnerImage)("jobs-default");
|
|
39851
39853
|
var yarnInstall = (0, yarn_1.getYarnInstall)(context);
|
|
39852
39854
|
var appBuildJob = buildConfig.buildCommand !== null ? (0, createBuildJob_1.createBuildJob)(context, {
|
|
39855
|
+
image: (_a = buildConfig.jobImage) !== null && _a !== void 0 ? _a : defaultImage,
|
|
39853
39856
|
variables: __assign({}, constants_2.NODE_RUNNER_BUILD_VARIABLES),
|
|
39854
|
-
cache: __spreadArray(__spreadArray(__spreadArray([], __read((
|
|
39855
|
-
script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((
|
|
39857
|
+
cache: __spreadArray(__spreadArray(__spreadArray([], __read((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : []), false), __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
|
|
39858
|
+
script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false),
|
|
39856
39859
|
artifacts: {
|
|
39857
|
-
paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((
|
|
39860
|
+
paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((_e = (_d = buildConfig.artifactsPaths) === null || _d === void 0 ? void 0 : _d.map(function (path) {
|
|
39858
39861
|
return (0, path_1.join)(context.componentConfig.dir, path);
|
|
39859
|
-
})) !== null &&
|
|
39862
|
+
})) !== null && _e !== void 0 ? _e : []), false),
|
|
39860
39863
|
expire_in: "1 day"
|
|
39861
39864
|
},
|
|
39862
39865
|
jobTags: buildConfig.jobTags
|
|
@@ -39867,9 +39870,9 @@ var createNodeBuildJobs = function (context) {
|
|
|
39867
39870
|
variables: {
|
|
39868
39871
|
// only required for non static
|
|
39869
39872
|
DOCKER_COPY_AND_INSTALL_APP: (0, yarn_1.getDockerAppCopyAndBuildScript)(context),
|
|
39870
|
-
DOCKER_COPY_WORKSPACE_FILES: (
|
|
39873
|
+
DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) {
|
|
39871
39874
|
return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir);
|
|
39872
|
-
})) === null ||
|
|
39875
|
+
})) === null || _g === void 0 ? void 0 : _g.join("\n")
|
|
39873
39876
|
},
|
|
39874
39877
|
needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
|
|
39875
39878
|
})] : []), false);
|
|
@@ -40189,12 +40192,13 @@ var cache_1 = __nccwpck_require__(4303);
|
|
|
40189
40192
|
var constants_1 = __nccwpck_require__(9284);
|
|
40190
40193
|
var yarn_1 = __nccwpck_require__(464);
|
|
40191
40194
|
var createNodeTestJobs = function (context) {
|
|
40192
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
40195
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
40193
40196
|
// don't run tests after release
|
|
40194
40197
|
if (((_a = context.commitInfo) === null || _a === void 0 ? void 0 : _a.trigger) === "taggedRelease") {
|
|
40195
40198
|
return [];
|
|
40196
40199
|
}
|
|
40197
40200
|
var buildConfig = context.componentConfig.build;
|
|
40201
|
+
var defaultImage = (0, runner_1.getRunnerImage)("jobs-default");
|
|
40198
40202
|
var base = {
|
|
40199
40203
|
variables: __assign(__assign(__assign({
|
|
40200
40204
|
APP_PATH: context.componentConfig.dir
|
|
@@ -40207,23 +40211,25 @@ var createNodeTestJobs = function (context) {
|
|
|
40207
40211
|
var auditJob = buildConfig.audit !== false ? __assign(__assign({
|
|
40208
40212
|
name: "๐ก audit"
|
|
40209
40213
|
}, base), {
|
|
40214
|
+
image: (_d = (_c = buildConfig.audit) === null || _c === void 0 ? void 0 : _c.jobImage) !== null && _d !== void 0 ? _d : defaultImage,
|
|
40210
40215
|
cache: undefined,
|
|
40211
|
-
script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((
|
|
40216
|
+
script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((_f = (0, utils_1.ensureArray)((_e = buildConfig.audit) === null || _e === void 0 ? void 0 : _e.command)) !== null && _f !== void 0 ? _f : [((_g = context.packageManagerInfo) === null || _g === void 0 ? void 0 : _g.isClassic) ? "yarn audit" : "yarn npm audit --environment production" // yarn 2
|
|
40212
40217
|
]), false),
|
|
40213
40218
|
allow_failure: true
|
|
40214
40219
|
}) : null;
|
|
40215
40220
|
var lintJob = buildConfig.lint !== false ? __assign(__assign({
|
|
40216
40221
|
name: "๐ฎ lint"
|
|
40217
40222
|
}, base), {
|
|
40223
|
+
image: (_j = (_h = buildConfig.lint) === null || _h === void 0 ? void 0 : _h.jobImage) !== null && _j !== void 0 ? _j : defaultImage,
|
|
40218
40224
|
cache: (0, cache_1.getNodeCache)(context),
|
|
40219
|
-
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((
|
|
40225
|
+
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_l = (0, utils_1.ensureArray)((_k = buildConfig.lint) === null || _k === void 0 ? void 0 : _k.command)) !== null && _l !== void 0 ? _l : ["yarn lint"]), false)
|
|
40220
40226
|
}) : null;
|
|
40221
40227
|
var testJob = buildConfig.test !== false ? __assign(__assign({
|
|
40222
40228
|
name: "๐งช test"
|
|
40223
40229
|
}, base), {
|
|
40224
|
-
image: (0, runner_1.getRunnerImage)("jobs-testing-chrome"),
|
|
40230
|
+
image: (_o = (_m = buildConfig.test) === null || _m === void 0 ? void 0 : _m.jobImage) !== null && _o !== void 0 ? _o : (0, runner_1.getRunnerImage)("jobs-testing-chrome"),
|
|
40225
40231
|
cache: (0, cache_1.getNodeCache)(context),
|
|
40226
|
-
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((
|
|
40232
|
+
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_q = (0, utils_1.ensureArray)((_p = buildConfig.test) === null || _p === void 0 ? void 0 : _p.command)) !== null && _q !== void 0 ? _q : ["yarn test"]), false)
|
|
40227
40233
|
}) : null;
|
|
40228
40234
|
return [auditJob, lintJob, testJob].filter(utils_1.notNil);
|
|
40229
40235
|
};
|
|
@@ -40479,7 +40485,7 @@ exports.__esModule = true;
|
|
|
40479
40485
|
exports.createRailsTestJobs = void 0;
|
|
40480
40486
|
var utils_1 = __nccwpck_require__(7461);
|
|
40481
40487
|
var createRailsTestJobs = function (context) {
|
|
40482
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
40488
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
40483
40489
|
// don't run tests after release
|
|
40484
40490
|
if (((_a = context.commitInfo) === null || _a === void 0 ? void 0 : _a.trigger) === "taggedRelease") {
|
|
40485
40491
|
return [];
|
|
@@ -40505,23 +40511,23 @@ var createRailsTestJobs = function (context) {
|
|
|
40505
40511
|
name: "๐ก audit"
|
|
40506
40512
|
}, base), {
|
|
40507
40513
|
cache: undefined,
|
|
40508
|
-
image: (_d = (_c = buildConfig.audit) === null || _c === void 0 ? void 0 : _c.jobImage) !== null && _d !== void 0 ? _d : defaultImage,
|
|
40509
|
-
script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((
|
|
40514
|
+
image: (_e = (_d = (_c = buildConfig.audit) === null || _c === void 0 ? void 0 : _c.jobImage) !== null && _d !== void 0 ? _d : buildConfig.jobImage) !== null && _e !== void 0 ? _e : defaultImage,
|
|
40515
|
+
script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((_g = (0, utils_1.ensureArray)((_f = buildConfig.audit) === null || _f === void 0 ? void 0 : _f.command)) !== null && _g !== void 0 ? _g : ["gem install bundler-audit", "bundle audit check"]), false),
|
|
40510
40516
|
allow_failure: true
|
|
40511
40517
|
}) : null;
|
|
40512
40518
|
var lintJob = buildConfig.lint !== false ? __assign(__assign({
|
|
40513
40519
|
name: "๐ฎ lint"
|
|
40514
40520
|
}, base), {
|
|
40515
40521
|
cache: bundlerCache,
|
|
40516
|
-
image: (
|
|
40517
|
-
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(bundlerInstall), false), __read((
|
|
40522
|
+
image: (_k = (_j = (_h = buildConfig.lint) === null || _h === void 0 ? void 0 : _h.jobImage) !== null && _j !== void 0 ? _j : buildConfig.jobImage) !== null && _k !== void 0 ? _k : defaultImage,
|
|
40523
|
+
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(bundlerInstall), false), __read((_m = (0, utils_1.ensureArray)((_l = buildConfig.lint) === null || _l === void 0 ? void 0 : _l.command)) !== null && _m !== void 0 ? _m : ["bundle exec rubocop"]), false)
|
|
40518
40524
|
}) : null;
|
|
40519
40525
|
var testJob = buildConfig.test !== false ? __assign(__assign({
|
|
40520
40526
|
name: "๐งช test"
|
|
40521
40527
|
}, base), {
|
|
40522
40528
|
cache: bundlerCache,
|
|
40523
|
-
image: (
|
|
40524
|
-
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(bundlerInstall), false), __read((
|
|
40529
|
+
image: (_q = (_p = (_o = buildConfig.test) === null || _o === void 0 ? void 0 : _o.jobImage) !== null && _p !== void 0 ? _p : buildConfig.jobImage) !== null && _q !== void 0 ? _q : defaultImage,
|
|
40530
|
+
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(bundlerInstall), false), __read((_s = (0, utils_1.ensureArray)((_r = buildConfig.test) === null || _r === void 0 ? void 0 : _r.command)) !== null && _s !== void 0 ? _s : ["bundle exec rspec"]), false)
|
|
40525
40531
|
}) : null;
|
|
40526
40532
|
return [auditJob, lintJob, testJob].filter(utils_1.notNil);
|
|
40527
40533
|
};
|
|
@@ -40719,7 +40725,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
40719
40725
|
|
|
40720
40726
|
exports.__esModule = true;
|
|
40721
40727
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
40722
|
-
exports.PIPELINE_IMAGE_TAG = "main-
|
|
40728
|
+
exports.PIPELINE_IMAGE_TAG = "main-a008667a" || 0;
|
|
40723
40729
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
40724
40730
|
|
|
40725
40731
|
/***/ }),
|
|
@@ -350910,21 +350910,24 @@ var types_1 = __nccwpck_require__(71197);
|
|
|
350910
350910
|
var cache_1 = __nccwpck_require__(54303);
|
|
350911
350911
|
var constants_2 = __nccwpck_require__(69284);
|
|
350912
350912
|
var yarn_1 = __nccwpck_require__(10464);
|
|
350913
|
+
var runner_1 = __nccwpck_require__(55071);
|
|
350913
350914
|
var createNodeBuildJobs = function (context) {
|
|
350914
|
-
var _a, _b, _c, _d, _e, _f;
|
|
350915
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
350915
350916
|
var buildConfig = context.componentConfig.build;
|
|
350916
350917
|
if (!(0, types_1.isOfBuildType)(buildConfig, "node", "node-static", "storybook")) {
|
|
350917
350918
|
throw new Error("deploy config is not node, node-static or storybook");
|
|
350918
350919
|
}
|
|
350920
|
+
var defaultImage = (0, runner_1.getRunnerImage)("jobs-default");
|
|
350919
350921
|
var yarnInstall = (0, yarn_1.getYarnInstall)(context);
|
|
350920
350922
|
var appBuildJob = buildConfig.buildCommand !== null ? (0, createBuildJob_1.createBuildJob)(context, {
|
|
350923
|
+
image: (_a = buildConfig.jobImage) !== null && _a !== void 0 ? _a : defaultImage,
|
|
350921
350924
|
variables: __assign({}, constants_2.NODE_RUNNER_BUILD_VARIABLES),
|
|
350922
|
-
cache: __spreadArray(__spreadArray(__spreadArray([], __read((
|
|
350923
|
-
script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((
|
|
350925
|
+
cache: __spreadArray(__spreadArray(__spreadArray([], __read((_b = (0, utils_1.ensureArray)(buildConfig.jobCache)) !== null && _b !== void 0 ? _b : []), false), __read((0, cache_1.getNodeCache)(context)), false), __read((0, cache_1.getNextCache)(context)), false),
|
|
350926
|
+
script: __spreadArray(__spreadArray([], __read(yarnInstall), false), __read((_c = (0, utils_1.ensureArray)(buildConfig.buildCommand)) !== null && _c !== void 0 ? _c : []), false),
|
|
350924
350927
|
artifacts: {
|
|
350925
|
-
paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((
|
|
350928
|
+
paths: __spreadArray([(0, path_1.join)(context.componentConfig.dir, "__build_info.json"), (0, path_1.join)(context.componentConfig.dir, "dist"), (0, path_1.join)(context.componentConfig.dir, ".next")], __read((_e = (_d = buildConfig.artifactsPaths) === null || _d === void 0 ? void 0 : _d.map(function (path) {
|
|
350926
350929
|
return (0, path_1.join)(context.componentConfig.dir, path);
|
|
350927
|
-
})) !== null &&
|
|
350930
|
+
})) !== null && _e !== void 0 ? _e : []), false),
|
|
350928
350931
|
expire_in: "1 day"
|
|
350929
350932
|
},
|
|
350930
350933
|
jobTags: buildConfig.jobTags
|
|
@@ -350935,9 +350938,9 @@ var createNodeBuildJobs = function (context) {
|
|
|
350935
350938
|
variables: {
|
|
350936
350939
|
// only required for non static
|
|
350937
350940
|
DOCKER_COPY_AND_INSTALL_APP: (0, yarn_1.getDockerAppCopyAndBuildScript)(context),
|
|
350938
|
-
DOCKER_COPY_WORKSPACE_FILES: (
|
|
350941
|
+
DOCKER_COPY_WORKSPACE_FILES: (_g = (_f = context.packageManagerInfo) === null || _f === void 0 ? void 0 : _f.pathsToCopyInDocker.map(function (dir) {
|
|
350939
350942
|
return "COPY --chown=node:node ".concat(dir, " /app/").concat(dir);
|
|
350940
|
-
})) === null ||
|
|
350943
|
+
})) === null || _g === void 0 ? void 0 : _g.join("\n")
|
|
350941
350944
|
},
|
|
350942
350945
|
needs: appBuildJob ? [constants_1.APP_BUILD_JOB_NAME] : []
|
|
350943
350946
|
})] : []), false);
|
|
@@ -351257,12 +351260,13 @@ var cache_1 = __nccwpck_require__(54303);
|
|
|
351257
351260
|
var constants_1 = __nccwpck_require__(69284);
|
|
351258
351261
|
var yarn_1 = __nccwpck_require__(10464);
|
|
351259
351262
|
var createNodeTestJobs = function (context) {
|
|
351260
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
351263
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
351261
351264
|
// don't run tests after release
|
|
351262
351265
|
if (((_a = context.commitInfo) === null || _a === void 0 ? void 0 : _a.trigger) === "taggedRelease") {
|
|
351263
351266
|
return [];
|
|
351264
351267
|
}
|
|
351265
351268
|
var buildConfig = context.componentConfig.build;
|
|
351269
|
+
var defaultImage = (0, runner_1.getRunnerImage)("jobs-default");
|
|
351266
351270
|
var base = {
|
|
351267
351271
|
variables: __assign(__assign(__assign({
|
|
351268
351272
|
APP_PATH: context.componentConfig.dir
|
|
@@ -351275,23 +351279,25 @@ var createNodeTestJobs = function (context) {
|
|
|
351275
351279
|
var auditJob = buildConfig.audit !== false ? __assign(__assign({
|
|
351276
351280
|
name: "๐ก audit"
|
|
351277
351281
|
}, base), {
|
|
351282
|
+
image: (_d = (_c = buildConfig.audit) === null || _c === void 0 ? void 0 : _c.jobImage) !== null && _d !== void 0 ? _d : defaultImage,
|
|
351278
351283
|
cache: undefined,
|
|
351279
|
-
script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((
|
|
351284
|
+
script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((_f = (0, utils_1.ensureArray)((_e = buildConfig.audit) === null || _e === void 0 ? void 0 : _e.command)) !== null && _f !== void 0 ? _f : [((_g = context.packageManagerInfo) === null || _g === void 0 ? void 0 : _g.isClassic) ? "yarn audit" : "yarn npm audit --environment production" // yarn 2
|
|
351280
351285
|
]), false),
|
|
351281
351286
|
allow_failure: true
|
|
351282
351287
|
}) : null;
|
|
351283
351288
|
var lintJob = buildConfig.lint !== false ? __assign(__assign({
|
|
351284
351289
|
name: "๐ฎ lint"
|
|
351285
351290
|
}, base), {
|
|
351291
|
+
image: (_j = (_h = buildConfig.lint) === null || _h === void 0 ? void 0 : _h.jobImage) !== null && _j !== void 0 ? _j : defaultImage,
|
|
351286
351292
|
cache: (0, cache_1.getNodeCache)(context),
|
|
351287
|
-
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((
|
|
351293
|
+
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_l = (0, utils_1.ensureArray)((_k = buildConfig.lint) === null || _k === void 0 ? void 0 : _k.command)) !== null && _l !== void 0 ? _l : ["yarn lint"]), false)
|
|
351288
351294
|
}) : null;
|
|
351289
351295
|
var testJob = buildConfig.test !== false ? __assign(__assign({
|
|
351290
351296
|
name: "๐งช test"
|
|
351291
351297
|
}, base), {
|
|
351292
|
-
image: (0, runner_1.getRunnerImage)("jobs-testing-chrome"),
|
|
351298
|
+
image: (_o = (_m = buildConfig.test) === null || _m === void 0 ? void 0 : _m.jobImage) !== null && _o !== void 0 ? _o : (0, runner_1.getRunnerImage)("jobs-testing-chrome"),
|
|
351293
351299
|
cache: (0, cache_1.getNodeCache)(context),
|
|
351294
|
-
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((
|
|
351300
|
+
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(yarnInstall), false), __read((_q = (0, utils_1.ensureArray)((_p = buildConfig.test) === null || _p === void 0 ? void 0 : _p.command)) !== null && _q !== void 0 ? _q : ["yarn test"]), false)
|
|
351295
351301
|
}) : null;
|
|
351296
351302
|
return [auditJob, lintJob, testJob].filter(utils_1.notNil);
|
|
351297
351303
|
};
|
|
@@ -351547,7 +351553,7 @@ exports.__esModule = true;
|
|
|
351547
351553
|
exports.createRailsTestJobs = void 0;
|
|
351548
351554
|
var utils_1 = __nccwpck_require__(37461);
|
|
351549
351555
|
var createRailsTestJobs = function (context) {
|
|
351550
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
351556
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
351551
351557
|
// don't run tests after release
|
|
351552
351558
|
if (((_a = context.commitInfo) === null || _a === void 0 ? void 0 : _a.trigger) === "taggedRelease") {
|
|
351553
351559
|
return [];
|
|
@@ -351573,23 +351579,23 @@ var createRailsTestJobs = function (context) {
|
|
|
351573
351579
|
name: "๐ก audit"
|
|
351574
351580
|
}, base), {
|
|
351575
351581
|
cache: undefined,
|
|
351576
|
-
image: (_d = (_c = buildConfig.audit) === null || _c === void 0 ? void 0 : _c.jobImage) !== null && _d !== void 0 ? _d : defaultImage,
|
|
351577
|
-
script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((
|
|
351582
|
+
image: (_e = (_d = (_c = buildConfig.audit) === null || _c === void 0 ? void 0 : _c.jobImage) !== null && _d !== void 0 ? _d : buildConfig.jobImage) !== null && _e !== void 0 ? _e : defaultImage,
|
|
351583
|
+
script: __spreadArray(["cd ".concat(context.componentConfig.dir)], __read((_g = (0, utils_1.ensureArray)((_f = buildConfig.audit) === null || _f === void 0 ? void 0 : _f.command)) !== null && _g !== void 0 ? _g : ["gem install bundler-audit", "bundle audit check"]), false),
|
|
351578
351584
|
allow_failure: true
|
|
351579
351585
|
}) : null;
|
|
351580
351586
|
var lintJob = buildConfig.lint !== false ? __assign(__assign({
|
|
351581
351587
|
name: "๐ฎ lint"
|
|
351582
351588
|
}, base), {
|
|
351583
351589
|
cache: bundlerCache,
|
|
351584
|
-
image: (
|
|
351585
|
-
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(bundlerInstall), false), __read((
|
|
351590
|
+
image: (_k = (_j = (_h = buildConfig.lint) === null || _h === void 0 ? void 0 : _h.jobImage) !== null && _j !== void 0 ? _j : buildConfig.jobImage) !== null && _k !== void 0 ? _k : defaultImage,
|
|
351591
|
+
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(bundlerInstall), false), __read((_m = (0, utils_1.ensureArray)((_l = buildConfig.lint) === null || _l === void 0 ? void 0 : _l.command)) !== null && _m !== void 0 ? _m : ["bundle exec rubocop"]), false)
|
|
351586
351592
|
}) : null;
|
|
351587
351593
|
var testJob = buildConfig.test !== false ? __assign(__assign({
|
|
351588
351594
|
name: "๐งช test"
|
|
351589
351595
|
}, base), {
|
|
351590
351596
|
cache: bundlerCache,
|
|
351591
|
-
image: (
|
|
351592
|
-
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(bundlerInstall), false), __read((
|
|
351597
|
+
image: (_q = (_p = (_o = buildConfig.test) === null || _o === void 0 ? void 0 : _o.jobImage) !== null && _p !== void 0 ? _p : buildConfig.jobImage) !== null && _q !== void 0 ? _q : defaultImage,
|
|
351598
|
+
script: __spreadArray(__spreadArray(["cd ".concat(context.componentConfig.dir)], __read(bundlerInstall), false), __read((_s = (0, utils_1.ensureArray)((_r = buildConfig.test) === null || _r === void 0 ? void 0 : _r.command)) !== null && _s !== void 0 ? _s : ["bundle exec rspec"]), false)
|
|
351593
351599
|
}) : null;
|
|
351594
351600
|
return [auditJob, lintJob, testJob].filter(utils_1.notNil);
|
|
351595
351601
|
};
|
|
@@ -351787,7 +351793,7 @@ exports.readConfigSync = readConfigSync;
|
|
|
351787
351793
|
|
|
351788
351794
|
exports.__esModule = true;
|
|
351789
351795
|
exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
|
|
351790
|
-
exports.PIPELINE_IMAGE_TAG = "main-
|
|
351796
|
+
exports.PIPELINE_IMAGE_TAG = "main-a008667a" || 0;
|
|
351791
351797
|
exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
|
|
351792
351798
|
|
|
351793
351799
|
/***/ }),
|