@catladder/cli 0.0.0-kube-command-59ed84cc → 0.0.0-kubernetes-new-cloudsql-d0cdae5b

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.
@@ -39053,18 +39053,22 @@ var requiresDockerBuild = function (context) {
39053
39053
  return false;
39054
39054
  };
39055
39055
  exports.requiresDockerBuild = requiresDockerBuild;
39056
+ var getDockerBaseVariables = function () {
39057
+ return {
39058
+ DOCKER_HOST: "tcp://0.0.0.0:2375",
39059
+ DOCKER_TLS_CERTDIR: "",
39060
+ DOCKER_DRIVER: "overlay2",
39061
+ DOCKER_BUILDKIT: "1"
39062
+ };
39063
+ };
39056
39064
  var getDockerBuildVariables = function (context) {
39057
39065
  var _a, _b, _c, _d;
39058
- return __assign(__assign(__assign({}, DOCKER_RUNNER_BUILD_VARIABLES), {
39059
- DOCKER_BUILDKIT: "1",
39066
+ return __assign(__assign(__assign(__assign({}, DOCKER_RUNNER_BUILD_VARIABLES), {
39060
39067
  DOCKERFILE_ADDITIONS: (_b = (_a = context.componentConfig.build.docker) === null || _a === void 0 ? void 0 : _a.additionsBegin) === null || _b === void 0 ? void 0 : _b.join("\n"),
39061
39068
  DOCKERFILE_ADDITIONS_END: (_d = (_c = context.componentConfig.build.docker) === null || _c === void 0 ? void 0 : _c.additionsEnd) === null || _d === void 0 ? void 0 : _d.join("\n"),
39062
39069
  APP_DIR: context.componentConfig.dir,
39063
- DOCKER_HOST: "tcp://0.0.0.0:2375",
39064
- DOCKER_TLS_CERTDIR: "",
39065
- DOCKER_DIR: ".",
39066
- DOCKER_DRIVER: "overlay2"
39067
- }), (0, exports.getDockerImageVariables)(context));
39070
+ DOCKER_DIR: "."
39071
+ }), getDockerBaseVariables()), (0, exports.getDockerImageVariables)(context));
39068
39072
  };
39069
39073
  exports.getDockerBuildVariables = getDockerBuildVariables;
39070
39074
  exports.DOCKER_BUILD_JOB_NAME = "🔨 docker";
@@ -39075,7 +39079,7 @@ var getDockerJobBaseProps = function (context) {
39075
39079
  name: "docker:20-dind",
39076
39080
  command: ["--tls=false"]
39077
39081
  }],
39078
- variables: (0, exports.getDockerBuildVariables)(context)
39082
+ variables: getDockerBaseVariables()
39079
39083
  };
39080
39084
  };
39081
39085
  exports.getDockerJobBaseProps = getDockerJobBaseProps;
@@ -39088,7 +39092,9 @@ var createDockerBuildJobBase = function (context, _a) {
39088
39092
  stage: "build"
39089
39093
  }, (0, exports.getDockerJobBaseProps)(context)), {
39090
39094
  script: script || []
39091
- }), def);
39095
+ }), {
39096
+ variables: (0, exports.getDockerBuildVariables)(context)
39097
+ }, def);
39092
39098
  };
39093
39099
  exports.createDockerBuildJobBase = createDockerBuildJobBase;
39094
39100
  exports.gitlabDockerLogin = "docker login --username gitlab-ci-token --password $CI_JOB_TOKEN $CI_REGISTRY";
@@ -39737,29 +39743,25 @@ exports.createRailsBuildJobs = void 0;
39737
39743
  var types_1 = __nccwpck_require__(1197);
39738
39744
  var docker_1 = __nccwpck_require__(3219);
39739
39745
  var createRailsBuildJobs = function (context) {
39740
- var _a, _b, _c, _d, _e, _f;
39746
+ var _a, _b, _c;
39741
39747
  var buildConfig = context.componentConfig.build;
39742
39748
  if (!(0, types_1.isOfBuildType)(buildConfig, "rails")) {
39743
39749
  // should not happen
39744
39750
  throw new Error("build type is not rails");
39745
39751
  }
39746
39752
  var cnbConf = buildConfig.cnbBuilder;
39747
- // backwards compatabilty with CNB_ENV_VARS
39748
- // TODO: remove when all projects are migrated
39749
- var packEnvArgs = (_c = (_b = (_a = buildConfig.extraVars) === null || _a === void 0 ? void 0 : _a.CNB_ENV_VARS) === null || _b === void 0 ? void 0 : _b.split(" ").map(function (v) {
39750
- return "--env '".concat(v, "'");
39751
- })) !== null && _c !== void 0 ? _c : Object.entries((_d = cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.buildVars) !== null && _d !== void 0 ? _d : {}).map(function (_a) {
39753
+ var packEnvArgs = Object.entries((_a = cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.buildVars) !== null && _a !== void 0 ? _a : {}).map(function (_a) {
39752
39754
  var _b = __read(_a, 2),
39753
39755
  k = _b[0],
39754
39756
  v = _b[1];
39755
39757
  return "--env '".concat(k).concat(v ? "=".concat(v) : "", "'");
39756
- });
39758
+ }).join(" ");
39757
39759
  return [(0, docker_1.createDockerBuildJobBase)(context, {
39758
39760
  variables: context.componentConfig.build.extraVars,
39759
39761
  // custom script
39760
39762
  script: [docker_1.gitlabDockerLogin, "docker pull $DOCKER_CACHE_IMAGE || true", "wget --output-document=- https://github.com/buildpacks/pack/releases/download/v".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packVersion, "/pack-v").concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packVersion, "-linux.tgz | tar -zx --directory /usr/local/bin pack"), "chmod +x /usr/local/bin/pack",
39761
39763
  // replace private git ssh gem sources with https to make bundler with credentials via env var work
39762
- "sed --in-place 's|git@\\([^:]*\\):|https://\\1/|g' Gemfile Gemfile.lock", "pack build \"$DOCKER_IMAGE:$DOCKER_IMAGE_TAG\" --builder '".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.image, "' --publish --cache-image \"$DOCKER_CACHE_IMAGE\" ").concat(packEnvArgs.join(" "), " ").concat((_f = (_e = cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packExtraArgs) === null || _e === void 0 ? void 0 : _e.join(" ")) !== null && _f !== void 0 ? _f : "")]
39764
+ "sed --in-place 's|git@\\([^:]*\\):|https://\\1/|g' Gemfile Gemfile.lock", "pack build \"$DOCKER_IMAGE:$DOCKER_IMAGE_TAG\" --builder '".concat(cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.image, "' --publish --cache-image \"$DOCKER_CACHE_IMAGE\" ").concat(packEnvArgs, " ").concat((_c = (_b = cnbConf === null || cnbConf === void 0 ? void 0 : cnbConf.packExtraArgs) === null || _b === void 0 ? void 0 : _b.join(" ")) !== null && _c !== void 0 ? _c : "")]
39763
39765
  })];
39764
39766
  };
39765
39767
  exports.createRailsBuildJobs = createRailsBuildJobs;
@@ -39883,9 +39885,8 @@ var createRailsTestJobs = function (context) {
39883
39885
  var bundlerCache = {
39884
39886
  key: {
39885
39887
  files: ["Gemfile.lock"],
39886
- prefix: "$CI_JOB_IMAGE" // a changed image might have different OS libraries which no longer work with the cached gems
39888
+ prefix: "$CI_JOB_IMAGE"
39887
39889
  },
39888
-
39889
39890
  paths: [bundlerCacheDir]
39890
39891
  };
39891
39892
  var auditJob = buildConfig.audit !== false ? __assign(__assign({
@@ -40106,7 +40107,7 @@ exports.readConfigSync = readConfigSync;
40106
40107
 
40107
40108
  exports.__esModule = true;
40108
40109
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
40109
- exports.PIPELINE_IMAGE_TAG = "kube-command-59ed84cc" || 0;
40110
+ exports.PIPELINE_IMAGE_TAG = "kubernetes-new-cloudsql-d0cdae5b" || 0;
40110
40111
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || 0;
40111
40112
 
40112
40113
  /***/ }),
@@ -41539,20 +41540,21 @@ exports.__esModule = true;
41539
41540
  exports.GCLOUD_RUN_DEPLOY_TYPE = exports.GCLOUD_RUN_CANONICAL_HOST_SUFFIX = exports.GCLOUD_DEPLOY_CREDENTIALS_KEY = void 0;
41540
41541
  var context_1 = __nccwpck_require__(2041);
41541
41542
  var gitlab_1 = __nccwpck_require__(4997);
41543
+ var utils_1 = __nccwpck_require__(463);
41542
41544
  var deployJob_1 = __nccwpck_require__(2256);
41543
41545
  var jobName_1 = __nccwpck_require__(7311);
41544
41546
  exports.GCLOUD_DEPLOY_CREDENTIALS_KEY = "GCLOUD_DEPLOY_credentialsKey";
41545
41547
  exports.GCLOUD_RUN_CANONICAL_HOST_SUFFIX = "GCLOUD_RUN_canonicalHostSuffix";
41546
41548
  var getCloudSqlVariables = function (_a) {
41547
- var _b, _c, _d, _e;
41549
+ var _b, _c;
41548
41550
  var deployConfigRaw = _a.deployConfigRaw,
41549
41551
  environmentSlugPrefix = _a.environmentSlugPrefix,
41550
41552
  env = _a.env,
41551
41553
  componentName = _a.componentName,
41552
41554
  fullConfig = _a.fullConfig;
41553
41555
  if (deployConfigRaw && deployConfigRaw.cloudSql) {
41554
- var DB_NAME = [(_b = deployConfigRaw.cloudSql.dbNamePrefix) !== null && _b !== void 0 ? _b : "".concat(fullConfig.customerName, "-").concat(fullConfig.appName), environmentSlugPrefix, (_c = deployConfigRaw.cloudSql.dbBaseName) !== null && _c !== void 0 ? _c : componentName].filter(Boolean).join("-");
41555
- var additionalQueryParamsString = Object.entries((_d = deployConfigRaw.cloudSql.dbAdditionalQueryParams) !== null && _d !== void 0 ? _d : {}).map(function (_a) {
41556
+ var DB_NAME = (0, utils_1.getFullDbName)(deployConfigRaw.cloudSql, fullConfig, environmentSlugPrefix, componentName);
41557
+ var additionalQueryParamsString = Object.entries((_b = deployConfigRaw.cloudSql.dbAdditionalQueryParams) !== null && _b !== void 0 ? _b : {}).map(function (_a) {
41556
41558
  var _b = __read(_a, 2),
41557
41559
  key = _b[0],
41558
41560
  value = _b[1];
@@ -41561,7 +41563,7 @@ var getCloudSqlVariables = function (_a) {
41561
41563
  return {
41562
41564
  CLOUD_SQL_INSTANCE_CONNECTION_NAME: deployConfigRaw.cloudSql.instanceConnectionName,
41563
41565
  DB_NAME: DB_NAME,
41564
- DB_USER: (_e = deployConfigRaw.cloudSql.dbUser) !== null && _e !== void 0 ? _e : "postgres",
41566
+ DB_USER: (_c = deployConfigRaw.cloudSql.dbUser) !== null && _c !== void 0 ? _c : "postgres",
41565
41567
  DB_PASSWORD: "$" + (0, context_1.getSecretVarName)(env, componentName, "DB_PASSWORD"),
41566
41568
  DATABASE_URL: "postgresql://$DB_USER:$DB_PASSWORD@localhost/$DB_NAME?host=/cloudsql/$CLOUD_SQL_INSTANCE_CONNECTION_NAME".concat(additionalQueryParamsString),
41567
41569
  DATABASE_JDBC_URL: "jdbc:postgresql:///$DB_NAME?cloudSqlInstance=$CLOUD_SQL_INSTANCE_CONNECTION_NAME&socketFactory=com.google.cloud.sql.postgres.SocketFactory&user=$DB_USER&password=$DB_PASSWORD".concat(additionalQueryParamsString)
@@ -41772,6 +41774,22 @@ exports.getCloudRunJobName = getCloudRunJobName;
41772
41774
 
41773
41775
  /***/ }),
41774
41776
 
41777
+ /***/ 463:
41778
+ /***/ ((__unused_webpack_module, exports) => {
41779
+
41780
+ "use strict";
41781
+
41782
+
41783
+ exports.__esModule = true;
41784
+ exports.getFullDbName = void 0;
41785
+ var getFullDbName = function (cloudSqlConfig, fullConfig, environmentSlugPrefix, componentName) {
41786
+ var _a, _b;
41787
+ return [(_a = cloudSqlConfig.dbNamePrefix) !== null && _a !== void 0 ? _a : "".concat(fullConfig.customerName, "-").concat(fullConfig.appName), environmentSlugPrefix, (_b = cloudSqlConfig.dbBaseName) !== null && _b !== void 0 ? _b : componentName].filter(Boolean).join("-");
41788
+ };
41789
+ exports.getFullDbName = getFullDbName;
41790
+
41791
+ /***/ }),
41792
+
41775
41793
  /***/ 6531:
41776
41794
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
41777
41795
 
@@ -41995,8 +42013,9 @@ exports.additionalKubernetesSecretKeys = additionalKubernetesSecretKeys;
41995
42013
 
41996
42014
 
41997
42015
  exports.__esModule = true;
41998
- exports.createCloudsqlBaseConfig = exports.getKubernetesCloudSQLConfig = exports.hasKubernetesCloudSQL = void 0;
42016
+ exports.createKubernetesCloudsqlBaseValues = exports.hasKubernetesCloudSQL = void 0;
41999
42017
  var context_1 = __nccwpck_require__(2041);
42018
+ var utils_1 = __nccwpck_require__(463);
42000
42019
  var types_1 = __nccwpck_require__(3109);
42001
42020
  var hasKubernetesCloudSQL = function (context) {
42002
42021
  var _a, _b;
@@ -42006,22 +42025,42 @@ var hasKubernetesCloudSQL = function (context) {
42006
42025
  return false;
42007
42026
  };
42008
42027
  exports.hasKubernetesCloudSQL = hasKubernetesCloudSQL;
42009
- var getKubernetesCloudSQLConfig = function (context) {
42010
- var _a;
42011
- if ((0, types_1.isOfDeployType)(context.componentConfig.deploy, "kubernetes")) {
42012
- return (_a = context.componentConfig.deploy.values) === null || _a === void 0 ? void 0 : _a.cloudsql;
42028
+ var createKubernetesCloudsqlBaseValues = function (context) {
42029
+ var _a, _b, _c, _d, _e;
42030
+ if (!(0, types_1.isOfDeployType)(context.componentConfig.deploy, "kubernetes")) {
42031
+ throw new Error("cannot get cloud sql config");
42032
+ }
42033
+ var config = (_a = context.componentConfig.deploy.values) === null || _a === void 0 ? void 0 : _a.cloudsql;
42034
+ if (!config) {
42035
+ throw new Error("cannot get cloud sql config");
42036
+ }
42037
+ var proxyCredentials = "$".concat((0, context_1.getSecretVarNameForContext)(context, "cloudsqlProxyCredentials"));
42038
+ if ((config === null || config === void 0 ? void 0 : config.type) !== "unmanaged") {
42039
+ var instanceConnectionName = "".concat((_b = config.projectId) !== null && _b !== void 0 ? _b : "skynet-164509", ":").concat((_c = config.region) !== null && _c !== void 0 ? _c : "europe-west6", ":").concat((_d = config.instanceId) !== null && _d !== void 0 ? _d : context.environment.envVars.KUBE_NAMESPACE);
42040
+ return {
42041
+ cloudsql: {
42042
+ enabled: config.enabled,
42043
+ dbUser: "postgres",
42044
+ instanceConnectionName: instanceConnectionName,
42045
+ proxyCredentials: proxyCredentials,
42046
+ fullDbName: context.environment.envVars.KUBE_APP_NAME
42047
+ }
42048
+ };
42049
+ } else if (config.type === "unmanaged") {
42050
+ return {
42051
+ cloudsql: {
42052
+ enabled: config.enabled,
42053
+ dbUser: (_e = config.dbUser) !== null && _e !== void 0 ? _e : "postgres",
42054
+ instanceConnectionName: config.instanceConnectionName,
42055
+ proxyCredentials: proxyCredentials,
42056
+ fullDbName: (0, utils_1.getFullDbName)(config, context.fullConfig, context.environment.slugPrefix, context.componentName)
42057
+ }
42058
+ };
42059
+ } else {
42060
+ throw new Error("unknonw type");
42013
42061
  }
42014
- throw new Error("cannot get cloud sql config");
42015
- };
42016
- exports.getKubernetesCloudSQLConfig = getKubernetesCloudSQLConfig;
42017
- var createCloudsqlBaseConfig = function (context) {
42018
- return {
42019
- cloudsql: {
42020
- proxyCredentials: "$".concat((0, context_1.getSecretVarNameForContext)(context, "cloudsqlProxyCredentials"))
42021
- }
42022
- };
42023
42062
  };
42024
- exports.createCloudsqlBaseConfig = createCloudsqlBaseConfig;
42063
+ exports.createKubernetesCloudsqlBaseValues = createKubernetesCloudsqlBaseValues;
42025
42064
 
42026
42065
  /***/ }),
42027
42066
 
@@ -42404,7 +42443,7 @@ var createKubeValues = function (context) {
42404
42443
  var defaultKubeValues = (0, lodash_1.merge)({
42405
42444
  env: env,
42406
42445
  application: createAppConfig(context, application)
42407
- }, (0, cloudSql_1.hasKubernetesCloudSQL)(context) ? (0, cloudSql_1.createCloudsqlBaseConfig)(context) : {}, ((_b = (_a = deployConfig.values) === null || _a === void 0 ? void 0 : _a.mongodb) === null || _b === void 0 ? void 0 : _b.enabled) ? (0, mongodb_1.createMongodbBaseConfig)(context) : {});
42446
+ }, (0, cloudSql_1.hasKubernetesCloudSQL)(context) ? (0, cloudSql_1.createKubernetesCloudsqlBaseValues)(context) : {}, ((_b = (_a = deployConfig.values) === null || _a === void 0 ? void 0 : _a.mongodb) === null || _b === void 0 ? void 0 : _b.enabled) ? (0, mongodb_1.createMongodbBaseConfig)(context) : {});
42408
42447
  var kubeValues = (0, processSecretsAsFiles_1.processSecretsAsFiles)((0, utils_1.mergeWithMergingArrays)(defaultKubeValues, __assign({
42409
42448
  jobs: removeFalsy(jobs),
42410
42449
  cronjobs: removeFalsy(cronjobs)
@@ -43005,22 +43044,183 @@ exports.getBaseCommitInfo = getBaseCommitInfo;
43005
43044
 
43006
43045
  /***/ }),
43007
43046
 
43008
- /***/ 8974:
43047
+ /***/ 7052:
43009
43048
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
43010
43049
 
43011
43050
  "use strict";
43012
43051
 
43013
43052
 
43014
- var __assign = this && this.__assign || function () {
43015
- __assign = Object.assign || function (t) {
43016
- for (var s, i = 1, n = arguments.length; i < n; i++) {
43017
- s = arguments[i];
43018
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
43053
+ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
43054
+ function adopt(value) {
43055
+ return value instanceof P ? value : new P(function (resolve) {
43056
+ resolve(value);
43057
+ });
43058
+ }
43059
+ return new (P || (P = Promise))(function (resolve, reject) {
43060
+ function fulfilled(value) {
43061
+ try {
43062
+ step(generator.next(value));
43063
+ } catch (e) {
43064
+ reject(e);
43065
+ }
43019
43066
  }
43020
- return t;
43021
- };
43022
- return __assign.apply(this, arguments);
43067
+ function rejected(value) {
43068
+ try {
43069
+ step(generator["throw"](value));
43070
+ } catch (e) {
43071
+ reject(e);
43072
+ }
43073
+ }
43074
+ function step(result) {
43075
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
43076
+ }
43077
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43078
+ });
43023
43079
  };
43080
+ var __generator = this && this.__generator || function (thisArg, body) {
43081
+ var _ = {
43082
+ label: 0,
43083
+ sent: function () {
43084
+ if (t[0] & 1) throw t[1];
43085
+ return t[1];
43086
+ },
43087
+ trys: [],
43088
+ ops: []
43089
+ },
43090
+ f,
43091
+ y,
43092
+ t,
43093
+ g;
43094
+ return g = {
43095
+ next: verb(0),
43096
+ "throw": verb(1),
43097
+ "return": verb(2)
43098
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
43099
+ return this;
43100
+ }), g;
43101
+ function verb(n) {
43102
+ return function (v) {
43103
+ return step([n, v]);
43104
+ };
43105
+ }
43106
+ function step(op) {
43107
+ if (f) throw new TypeError("Generator is already executing.");
43108
+ while (_) try {
43109
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
43110
+ if (y = 0, t) op = [op[0] & 2, t.value];
43111
+ switch (op[0]) {
43112
+ case 0:
43113
+ case 1:
43114
+ t = op;
43115
+ break;
43116
+ case 4:
43117
+ _.label++;
43118
+ return {
43119
+ value: op[1],
43120
+ done: false
43121
+ };
43122
+ case 5:
43123
+ _.label++;
43124
+ y = op[1];
43125
+ op = [0];
43126
+ continue;
43127
+ case 7:
43128
+ op = _.ops.pop();
43129
+ _.trys.pop();
43130
+ continue;
43131
+ default:
43132
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
43133
+ _ = 0;
43134
+ continue;
43135
+ }
43136
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
43137
+ _.label = op[1];
43138
+ break;
43139
+ }
43140
+ if (op[0] === 6 && _.label < t[1]) {
43141
+ _.label = t[1];
43142
+ t = op;
43143
+ break;
43144
+ }
43145
+ if (t && _.label < t[2]) {
43146
+ _.label = t[2];
43147
+ _.ops.push(op);
43148
+ break;
43149
+ }
43150
+ if (t[2]) _.ops.pop();
43151
+ _.trys.pop();
43152
+ continue;
43153
+ }
43154
+ op = body.call(thisArg, _);
43155
+ } catch (e) {
43156
+ op = [6, e];
43157
+ y = 0;
43158
+ } finally {
43159
+ f = t = 0;
43160
+ }
43161
+ if (op[0] & 5) throw op[1];
43162
+ return {
43163
+ value: op[0] ? op[1] : void 0,
43164
+ done: true
43165
+ };
43166
+ }
43167
+ };
43168
+ exports.__esModule = true;
43169
+ exports.createAllJobs = void 0;
43170
+ var config_1 = __nccwpck_require__(3138);
43171
+ var createJobsForComponent_1 = __nccwpck_require__(962);
43172
+ var createAllJobs = function (config, trigger) {
43173
+ return __awaiter(void 0, void 0, void 0, function () {
43174
+ var _a, _b;
43175
+ return __generator(this, function (_c) {
43176
+ switch (_c.label) {
43177
+ case 0:
43178
+ _b = (_a = Object).fromEntries;
43179
+ return [4 /*yield*/, Promise.all(Object.keys(config.components).map(function (componentName) {
43180
+ return __awaiter(void 0, void 0, void 0, function () {
43181
+ var envs, _a, _b, _c;
43182
+ return __generator(this, function (_d) {
43183
+ switch (_d.label) {
43184
+ case 0:
43185
+ envs = (0, config_1.getAllEnvsByTrigger)(config, componentName, trigger);
43186
+ _a = [componentName];
43187
+ _c = (_b = Object).fromEntries;
43188
+ return [4 /*yield*/, Promise.all(envs.map(function (env) {
43189
+ return __awaiter(void 0, void 0, void 0, function () {
43190
+ var _a;
43191
+ return __generator(this, function (_b) {
43192
+ switch (_b.label) {
43193
+ case 0:
43194
+ _a = [env];
43195
+ return [4 /*yield*/, (0, createJobsForComponent_1.createJobsForComponent)(config, componentName, env, trigger)];
43196
+ case 1:
43197
+ return [2 /*return*/, _a.concat([_b.sent()])];
43198
+ }
43199
+ });
43200
+ });
43201
+ }))];
43202
+ case 1:
43203
+ return [2 /*return*/, _a.concat([_c.apply(_b, [_d.sent()])])];
43204
+ }
43205
+ });
43206
+ });
43207
+ }))];
43208
+ case 1:
43209
+ return [2 /*return*/, _b.apply(_a, [_c.sent()])];
43210
+ }
43211
+ });
43212
+ });
43213
+ };
43214
+ exports.createAllJobs = createAllJobs;
43215
+
43216
+ /***/ }),
43217
+
43218
+ /***/ 8974:
43219
+ /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
43220
+
43221
+ "use strict";
43222
+
43223
+
43024
43224
  var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
43025
43225
  function adopt(value) {
43026
43226
  return value instanceof P ? value : new P(function (resolve) {
@@ -43173,54 +43373,40 @@ var config_1 = __nccwpck_require__(3138);
43173
43373
  var rules_1 = __nccwpck_require__(2020);
43174
43374
  var runner_1 = __nccwpck_require__(5071);
43175
43375
  var jobs_1 = __nccwpck_require__(2339);
43176
- var createJobs_1 = __nccwpck_require__(7726);
43376
+ var createAllJobs_1 = __nccwpck_require__(7052);
43377
+ var createGitlabJobs_1 = __nccwpck_require__(3920);
43177
43378
  var createChildPipeline = function (type, trigger, config) {
43178
43379
  return __awaiter(void 0, void 0, void 0, function () {
43179
- var components, jobs, allEnvs, stages, pipeline;
43180
- return __generator(this, function (_a) {
43181
- switch (_a.label) {
43380
+ var jobs, allEnvs, stages, pipeline;
43381
+ var _a;
43382
+ return __generator(this, function (_b) {
43383
+ switch (_b.label) {
43182
43384
  case 0:
43183
- components = Object.keys(config.components);
43184
- return [4 /*yield*/, components.reduce(function (acc, componentName) {
43185
- return __awaiter(void 0, void 0, void 0, function () {
43186
- var envs, _a, _b;
43187
- return __generator(this, function (_c) {
43188
- switch (_c.label) {
43189
- case 0:
43190
- envs = (0, config_1.getAllEnvsByTrigger)(config, componentName, trigger);
43191
- _a = [{}];
43192
- return [4 /*yield*/, acc];
43193
- case 1:
43194
- _b = [__assign.apply(void 0, _a.concat([_c.sent()]))];
43195
- return [4 /*yield*/, (0, createJobs_1.createJobs)(type, envs, config, componentName, trigger)];
43196
- case 2:
43197
- return [2 /*return*/, __assign.apply(void 0, _b.concat([_c.sent()]))];
43198
- }
43199
- });
43200
- });
43201
- }, Promise.resolve({}))];
43385
+ return [4 /*yield*/, (0, createAllJobs_1.createAllJobs)(config, trigger)];
43202
43386
  case 1:
43203
- jobs = _a.sent();
43387
+ jobs = _b.sent();
43204
43388
  allEnvs = (0, config_1.getAllEnvsInAllComponents)(config);
43205
43389
  stages = jobs_1.BASE_STAGES.reduce(function (acc, baseStage) {
43206
43390
  return __spreadArray(__spreadArray(__spreadArray([], __read(acc), false), [baseStage], false), __read(allEnvs.map(function (e) {
43207
43391
  return "".concat(baseStage, " ").concat(e);
43208
43392
  })), false);
43209
43393
  }, []);
43210
- if (type === "gitlab") {
43211
- pipeline = {
43212
- image: (0, runner_1.getRunnerImage)("jobs-default"),
43213
- variables: {
43214
- FF_USE_FASTZIP: "true"
43215
- },
43216
- workflow: {
43217
- rules: rules_1.RULES_ALWAYS
43218
- },
43219
- stages: stages,
43220
- jobs: jobs
43221
- };
43222
- return [2 /*return*/, pipeline];
43223
- }
43394
+ if (!(type === "gitlab")) return [3 /*break*/, 3];
43395
+ _a = {
43396
+ image: (0, runner_1.getRunnerImage)("jobs-default"),
43397
+ variables: {
43398
+ FF_USE_FASTZIP: "true"
43399
+ },
43400
+ workflow: {
43401
+ rules: rules_1.RULES_ALWAYS
43402
+ },
43403
+ stages: stages
43404
+ };
43405
+ return [4 /*yield*/, (0, createGitlabJobs_1.createGitlabJobs)(jobs)];
43406
+ case 2:
43407
+ pipeline = (_a.jobs = _b.sent(), _a);
43408
+ return [2 /*return*/, pipeline];
43409
+ case 3:
43224
43410
  throw new Error("".concat(type, " is not supported"));
43225
43411
  }
43226
43412
  });
@@ -43230,7 +43416,7 @@ exports.createChildPipeline = createChildPipeline;
43230
43416
 
43231
43417
  /***/ }),
43232
43418
 
43233
- /***/ 7726:
43419
+ /***/ 962:
43234
43420
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
43235
43421
 
43236
43422
  "use strict";
@@ -43401,14 +43587,12 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
43401
43587
  return to.concat(ar || Array.prototype.slice.call(from));
43402
43588
  };
43403
43589
  exports.__esModule = true;
43404
- exports.createJobs = void 0;
43590
+ exports.createJobsForComponent = void 0;
43405
43591
  var lodash_1 = __nccwpck_require__(3255);
43406
43592
  var build_1 = __nccwpck_require__(3760);
43407
43593
  var context_1 = __nccwpck_require__(2041);
43408
43594
  var deploy_1 = __nccwpck_require__(223);
43409
- var utils_1 = __nccwpck_require__(7461);
43410
43595
  var getCommitInfo_1 = __nccwpck_require__(5923);
43411
- var makeGitlabJob_1 = __nccwpck_require__(5715);
43412
43596
  var packageManager_1 = __nccwpck_require__(9168);
43413
43597
  var injectDefaultVarsInCustomJobs = function (context, jobs) {
43414
43598
  return jobs.map(function (_a) {
@@ -43436,71 +43620,9 @@ var createRawJobs = function (context) {
43436
43620
  var customJobs = getCustomJobs(context);
43437
43621
  return __spreadArray(__spreadArray(__spreadArray([], __read(buildJobs), false), __read(deployJobs), false), __read(customJobs), false);
43438
43622
  };
43439
- var getFullJobName = function (name, componentName, env) {
43440
- if (env) {
43441
- return "".concat(componentName, " ").concat(name, " | ").concat(env, " ");
43442
- }
43443
- return "".concat(componentName, " ").concat(name);
43444
- };
43445
- var getFullReferencedJobName = function (referencedJobName, componentName, env, allRawJobs) {
43446
- var referencedJob = allRawJobs.find(function (j) {
43447
- return j.name === referencedJobName;
43448
- });
43449
- if (!referencedJob) {
43450
- throw new Error("unknown job referenced: " + referencedJobName);
43451
- }
43452
- var envToSet = referencedJob.envMode !== "none" ? env : null;
43453
- return getFullJobName(referencedJobName, componentName, envToSet);
43454
- };
43455
- // replaces references to other jobs with the full name
43456
- // the full name contains the componentname and the env name (if any)
43457
- var replaceReferences = function (job, componentName, env, allRawJobs) {
43458
- var _a, _b, _c;
43459
- var stage = job.envMode === "stagePerEnv" ? "".concat(job.stage, " ").concat(env) : job.stage;
43460
- var cleanedNeeds = __spreadArray(__spreadArray([], __read((_a = job.needs) !== null && _a !== void 0 ? _a : []), false), __read((_b = job.needsOtherComponent) !== null && _b !== void 0 ? _b : []), false);
43461
- var needs = cleanedNeeds === null || cleanedNeeds === void 0 ? void 0 : cleanedNeeds.map(function (n) {
43462
- var _a;
43463
- return (0, lodash_1.isObject)(n) ? {
43464
- job: getFullReferencedJobName(n.job, (_a = n.componentName) !== null && _a !== void 0 ? _a : componentName, env, allRawJobs),
43465
- artifacts: n.artifacts
43466
- } : getFullReferencedJobName(n, componentName, env, allRawJobs);
43467
- });
43468
- return __assign(__assign({}, job), {
43469
- stage: stage,
43470
- needs: needs,
43471
- environment: ((_c = job.environment) === null || _c === void 0 ? void 0 : _c.on_stop) ? __assign(__assign({}, job.environment), {
43472
- on_stop: getFullReferencedJobName(job.environment.on_stop, componentName, env, allRawJobs)
43473
- }) : job.environment
43474
- });
43475
- };
43476
- // this can be removed once https://gitlab.com/gitlab-org/gitlab/-/issues/220758 is resolved
43477
- var addStageNeeds = function (jobs) {
43478
- // when a job defines needsStages, we add these as needs
43479
- return jobs.map(function (job) {
43480
- var _a;
43481
- if (!job.needsStages || job.needsStages.length === 0) {
43482
- return job;
43483
- }
43484
- var neededJobs = jobs.map(function (j) {
43485
- var _a, _b;
43486
- var neededStage = (_a = job.needsStages) === null || _a === void 0 ? void 0 : _a.find(function (s) {
43487
- return j.stage === s.stage;
43488
- });
43489
- if (neededStage) {
43490
- return {
43491
- job: j.name,
43492
- artifacts: (_b = neededStage.artifacts) !== null && _b !== void 0 ? _b : false
43493
- };
43494
- }
43495
- }).filter(utils_1.notNil);
43496
- return __assign(__assign({}, job), {
43497
- needs: __spreadArray(__spreadArray([], __read((_a = job.needs) !== null && _a !== void 0 ? _a : []), false), __read(neededJobs), false)
43498
- });
43499
- });
43500
- };
43501
- var createJobs = function (type, envs, config, componentName, trigger) {
43623
+ var createJobsForComponent = function (config, componentName, env, trigger) {
43502
43624
  return __awaiter(void 0, void 0, void 0, function () {
43503
- var commitInfo, _a, packageManagerInfo;
43625
+ var commitInfo, _a, packageManagerInfo, context;
43504
43626
  return __generator(this, function (_b) {
43505
43627
  switch (_b.label) {
43506
43628
  case 0:
@@ -43513,47 +43635,19 @@ var createJobs = function (type, envs, config, componentName, trigger) {
43513
43635
  return [4 /*yield*/, (0, packageManager_1.getPackageManagerInfo)(config, componentName)];
43514
43636
  case 2:
43515
43637
  packageManagerInfo = _b.sent();
43516
- return [2 /*return*/, envs.reduce(function (acc, env) {
43517
- return __awaiter(void 0, void 0, void 0, function () {
43518
- var context, jobs, result, _a, _b, _c, _d, _e;
43519
- return __generator(this, function (_f) {
43520
- switch (_f.label) {
43521
- case 0:
43522
- return [4 /*yield*/, (0, context_1.createContext)(config, componentName, env, commitInfo, packageManagerInfo)];
43523
- case 1:
43524
- context = _f.sent();
43525
- jobs = addStageNeeds(createRawJobs(context));
43526
- _a = [{}];
43527
- return [4 /*yield*/, acc];
43528
- case 2:
43529
- _b = [__assign.apply(void 0, _a.concat([_f.sent()]))];
43530
- _d = (_c = jobs).reduce;
43531
- _e = [function (acc, job) {
43532
- var _a;
43533
- var jobWithResolvedReferences = replaceReferences(job, componentName, env, jobs);
43534
- var jobName = getFullJobName(job.name, componentName, job.envMode !== "none" ? env : undefined);
43535
- if (type === "gitlab") {
43536
- return __assign(__assign({}, acc), (_a = {}, _a[jobName] = (0, makeGitlabJob_1.makeGitlabJob)(jobWithResolvedReferences), _a));
43537
- }
43538
- throw new Error("not supported");
43539
- }];
43540
- return [4 /*yield*/, Promise.resolve({})];
43541
- case 3:
43542
- result = __assign.apply(void 0, _b.concat([_d.apply(_c, _e.concat([_f.sent()]))]));
43543
- return [2 /*return*/, result];
43544
- }
43545
- });
43546
- });
43547
- }, {})];
43638
+ return [4 /*yield*/, (0, context_1.createContext)(config, componentName, env, commitInfo, packageManagerInfo)];
43639
+ case 3:
43640
+ context = _b.sent();
43641
+ return [2 /*return*/, createRawJobs(context)];
43548
43642
  }
43549
43643
  });
43550
43644
  });
43551
43645
  };
43552
- exports.createJobs = createJobs;
43646
+ exports.createJobsForComponent = createJobsForComponent;
43553
43647
 
43554
43648
  /***/ }),
43555
43649
 
43556
- /***/ 5715:
43650
+ /***/ 3920:
43557
43651
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
43558
43652
 
43559
43653
  "use strict";
@@ -43569,6 +43663,121 @@ var __assign = this && this.__assign || function () {
43569
43663
  };
43570
43664
  return __assign.apply(this, arguments);
43571
43665
  };
43666
+ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, generator) {
43667
+ function adopt(value) {
43668
+ return value instanceof P ? value : new P(function (resolve) {
43669
+ resolve(value);
43670
+ });
43671
+ }
43672
+ return new (P || (P = Promise))(function (resolve, reject) {
43673
+ function fulfilled(value) {
43674
+ try {
43675
+ step(generator.next(value));
43676
+ } catch (e) {
43677
+ reject(e);
43678
+ }
43679
+ }
43680
+ function rejected(value) {
43681
+ try {
43682
+ step(generator["throw"](value));
43683
+ } catch (e) {
43684
+ reject(e);
43685
+ }
43686
+ }
43687
+ function step(result) {
43688
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
43689
+ }
43690
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43691
+ });
43692
+ };
43693
+ var __generator = this && this.__generator || function (thisArg, body) {
43694
+ var _ = {
43695
+ label: 0,
43696
+ sent: function () {
43697
+ if (t[0] & 1) throw t[1];
43698
+ return t[1];
43699
+ },
43700
+ trys: [],
43701
+ ops: []
43702
+ },
43703
+ f,
43704
+ y,
43705
+ t,
43706
+ g;
43707
+ return g = {
43708
+ next: verb(0),
43709
+ "throw": verb(1),
43710
+ "return": verb(2)
43711
+ }, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
43712
+ return this;
43713
+ }), g;
43714
+ function verb(n) {
43715
+ return function (v) {
43716
+ return step([n, v]);
43717
+ };
43718
+ }
43719
+ function step(op) {
43720
+ if (f) throw new TypeError("Generator is already executing.");
43721
+ while (_) try {
43722
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
43723
+ if (y = 0, t) op = [op[0] & 2, t.value];
43724
+ switch (op[0]) {
43725
+ case 0:
43726
+ case 1:
43727
+ t = op;
43728
+ break;
43729
+ case 4:
43730
+ _.label++;
43731
+ return {
43732
+ value: op[1],
43733
+ done: false
43734
+ };
43735
+ case 5:
43736
+ _.label++;
43737
+ y = op[1];
43738
+ op = [0];
43739
+ continue;
43740
+ case 7:
43741
+ op = _.ops.pop();
43742
+ _.trys.pop();
43743
+ continue;
43744
+ default:
43745
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
43746
+ _ = 0;
43747
+ continue;
43748
+ }
43749
+ if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
43750
+ _.label = op[1];
43751
+ break;
43752
+ }
43753
+ if (op[0] === 6 && _.label < t[1]) {
43754
+ _.label = t[1];
43755
+ t = op;
43756
+ break;
43757
+ }
43758
+ if (t && _.label < t[2]) {
43759
+ _.label = t[2];
43760
+ _.ops.push(op);
43761
+ break;
43762
+ }
43763
+ if (t[2]) _.ops.pop();
43764
+ _.trys.pop();
43765
+ continue;
43766
+ }
43767
+ op = body.call(thisArg, _);
43768
+ } catch (e) {
43769
+ op = [6, e];
43770
+ y = 0;
43771
+ } finally {
43772
+ f = t = 0;
43773
+ }
43774
+ if (op[0] & 5) throw op[1];
43775
+ return {
43776
+ value: op[0] ? op[1] : void 0,
43777
+ done: true
43778
+ };
43779
+ }
43780
+ };
43572
43781
  var __rest = this && this.__rest || function (s, e) {
43573
43782
  var t = {};
43574
43783
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
@@ -43609,29 +43818,99 @@ var __spreadArray = this && this.__spreadArray || function (to, from, pack) {
43609
43818
  return to.concat(ar || Array.prototype.slice.call(from));
43610
43819
  };
43611
43820
  exports.__esModule = true;
43612
- exports.makeGitlabJob = void 0;
43821
+ exports.createGitlabJobs = exports.makeGitlabJob = void 0;
43613
43822
  var lodash_1 = __nccwpck_require__(3255);
43614
43823
  var defaults_1 = __nccwpck_require__(7383);
43824
+ var getFullJobName = function (name, componentName, env) {
43825
+ if (env) {
43826
+ return "".concat(componentName, " ").concat(name, " | ").concat(env, " ");
43827
+ }
43828
+ return "".concat(componentName, " ").concat(name);
43829
+ };
43830
+ var getFullReferencedJobName = function (referencedJobName, componentName, env, allJobs) {
43831
+ var _a, _b;
43832
+ var referencedJob = (_b = (_a = allJobs[componentName]) === null || _a === void 0 ? void 0 : _a[env]) === null || _b === void 0 ? void 0 : _b.find(function (j) {
43833
+ return j.name === referencedJobName;
43834
+ });
43835
+ if (!referencedJob) {
43836
+ throw new Error("unknown job referenced: '".concat(referencedJobName, "' from '").concat(env, ":").concat(componentName, "'"));
43837
+ }
43838
+ var envToSet = referencedJob.envMode !== "none" ? env : null;
43839
+ return getFullJobName(referencedJobName, componentName, envToSet);
43840
+ };
43615
43841
  var getJobName = function (need) {
43616
43842
  return (0, lodash_1.isObject)(need) ? need.job : need;
43617
43843
  };
43618
- var makeGitlabJob = function (_a) {
43844
+ var makeGitlabJob = function (componentName, env, _a, allJobs) {
43845
+ var _b;
43619
43846
  var envMode = _a.envMode,
43620
43847
  needsStages = _a.needsStages,
43621
43848
  needsOtherComponent = _a.needsOtherComponent,
43622
43849
  name = _a.name,
43623
43850
  needs = _a.needs,
43624
- rest = __rest(_a, ["envMode", "needsStages", "needsOtherComponent", "name", "needs"]);
43625
- return __assign(__assign({}, rest), {
43851
+ job = __rest(_a, ["envMode", "needsStages", "needsOtherComponent", "name", "needs"]);
43852
+ var stage = envMode === "stagePerEnv" ? "".concat(job.stage, " ").concat(env) : job.stage;
43853
+ var needsFromStages = needsStages === null || needsStages === void 0 ? void 0 : needsStages.flatMap(function (n) {
43854
+ var _a, _b, _c, _d;
43855
+ var referencedComponentName = componentName;
43856
+ var allJobNamesFromThatStage = (_d = (_c = (_b = (_a = allJobs[referencedComponentName]) === null || _a === void 0 ? void 0 : _a[env]) === null || _b === void 0 ? void 0 : _b.filter(function (j) {
43857
+ return j.stage === n.stage;
43858
+ })) === null || _c === void 0 ? void 0 : _c.map(function (j) {
43859
+ return j.name;
43860
+ })) !== null && _d !== void 0 ? _d : [];
43861
+ return allJobNamesFromThatStage.map(function (job) {
43862
+ var _a;
43863
+ return {
43864
+ job: job,
43865
+ artifacts: (_a = n.artifacts) !== null && _a !== void 0 ? _a : false,
43866
+ componentName: referencedComponentName
43867
+ };
43868
+ });
43869
+ });
43870
+ var cleanedNeeds = __spreadArray(__spreadArray(__spreadArray([], __read(needs !== null && needs !== void 0 ? needs : []), false), __read(needsOtherComponent !== null && needsOtherComponent !== void 0 ? needsOtherComponent : []), false), __read(needsFromStages !== null && needsFromStages !== void 0 ? needsFromStages : []), false);
43871
+ var gitlabNeeds = cleanedNeeds === null || cleanedNeeds === void 0 ? void 0 : cleanedNeeds.map(function (n) {
43872
+ var _a;
43873
+ return (0, lodash_1.isObject)(n) ? {
43874
+ job: getFullReferencedJobName(n.job, (_a = n.componentName) !== null && _a !== void 0 ? _a : componentName, env, allJobs),
43875
+ artifacts: n.artifacts
43876
+ } : getFullReferencedJobName(n, componentName, env, allJobs);
43877
+ }).sort(function (a, b) {
43878
+ return getJobName(a).localeCompare(getJobName(b));
43879
+ });
43880
+ var fullJobName = getFullJobName(name, componentName, envMode !== "none" ? env : undefined);
43881
+ var gitlabJob = __assign(__assign({}, job), {
43882
+ stage: stage,
43883
+ environment: ((_b = job.environment) === null || _b === void 0 ? void 0 : _b.on_stop) ? __assign(__assign({}, job.environment), {
43884
+ on_stop: getFullReferencedJobName(job.environment.on_stop, componentName, env, allJobs)
43885
+ }) : job.environment,
43626
43886
  // sort in a predictable manner for snapshot tests
43627
- needs: needs ? __spreadArray([], __read(needs), false).sort(function (a, b) {
43628
- return getJobName(a).localeCompare(getJobName(b));
43629
- }) : undefined,
43887
+ needs: gitlabNeeds,
43630
43888
  retry: defaults_1.BASE_RETRY,
43631
43889
  interruptible: true
43632
43890
  });
43891
+ return [fullJobName, gitlabJob];
43633
43892
  };
43634
43893
  exports.makeGitlabJob = makeGitlabJob;
43894
+ var createGitlabJobs = function (allJobs) {
43895
+ return __awaiter(void 0, void 0, void 0, function () {
43896
+ return __generator(this, function (_a) {
43897
+ return [2 /*return*/, Object.keys(allJobs).reduce(function (accForComponents, componentName) {
43898
+ var componentJobs = allJobs[componentName];
43899
+ return __assign(__assign({}, accForComponents), Object.keys(componentJobs).reduce(function (accForEnvs, env) {
43900
+ var jobs = componentJobs[env];
43901
+ return __assign(__assign({}, accForEnvs), jobs.reduce(function (accForJobs, job) {
43902
+ var _a;
43903
+ var _b = __read((0, exports.makeGitlabJob)(componentName, env, job, allJobs), 2),
43904
+ fullJobName = _b[0],
43905
+ gitlabJob = _b[1];
43906
+ return __assign(__assign({}, accForJobs), (_a = {}, _a[fullJobName] = gitlabJob, _a));
43907
+ }, {}));
43908
+ }, {}));
43909
+ }, {})];
43910
+ });
43911
+ });
43912
+ };
43913
+ exports.createGitlabJobs = createGitlabJobs;
43635
43914
 
43636
43915
  /***/ }),
43637
43916
 
@@ -43658,7 +43937,7 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
43658
43937
  };
43659
43938
  exports.__esModule = true;
43660
43939
  __exportStar(__nccwpck_require__(8974), exports);
43661
- __exportStar(__nccwpck_require__(7726), exports);
43940
+ __exportStar(__nccwpck_require__(962), exports);
43662
43941
 
43663
43942
  /***/ }),
43664
43943