@catladder/pipeline 0.0.0-next-12d216ae → 0.0.0-next-e9e5af68

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.
Files changed (74) hide show
  1. package/dist/backends/github/GithubBackend.js +187 -21
  2. package/dist/constants.js +1 -1
  3. package/dist/customImages/shippedImages.js +0 -1
  4. package/dist/deploy/cloudRun/createJobs/constants.d.ts +11 -1
  5. package/dist/deploy/cloudRun/createJobs/constants.js +12 -2
  6. package/dist/deploy/cloudRun/createJobs/index.js +2 -3
  7. package/dist/runner/index.d.ts +1 -1
  8. package/dist/tsconfig.tsbuildinfo +1 -1
  9. package/examples/__snapshots__/automatic-releases.test.ts.snap +127 -409
  10. package/examples/__snapshots__/changesets-releases-auto.test.ts.snap +127 -409
  11. package/examples/__snapshots__/changesets-releases.test.ts.snap +127 -409
  12. package/examples/__snapshots__/cloud-run-execute-script-on-deploy.test.ts.snap +127 -409
  13. package/examples/__snapshots__/cloud-run-existing-image.test.ts.snap +42 -330
  14. package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +127 -409
  15. package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +127 -409
  16. package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +127 -409
  17. package/examples/__snapshots__/cloud-run-http2.test.ts.snap +127 -409
  18. package/examples/__snapshots__/cloud-run-llama.test.ts.snap +43 -331
  19. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +127 -409
  20. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +130 -412
  21. package/examples/__snapshots__/cloud-run-n8n.test.ts.snap +44 -332
  22. package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +133 -415
  23. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +127 -409
  24. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +127 -409
  25. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +127 -409
  26. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +127 -409
  27. package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +127 -409
  28. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +127 -409
  29. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +127 -409
  30. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +127 -409
  31. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +127 -409
  32. package/examples/__snapshots__/cloud-run-session-affinity.test.ts.snap +127 -409
  33. package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +127 -409
  34. package/examples/__snapshots__/cloud-run-verify.test.ts.snap +254 -568
  35. package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +133 -415
  36. package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +127 -409
  37. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +127 -409
  38. package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +130 -412
  39. package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +445 -791
  40. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +262 -576
  41. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +130 -412
  42. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +127 -409
  43. package/examples/__snapshots__/cloud-run-worker-pool.test.ts.snap +127 -409
  44. package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +102 -384
  45. package/examples/__snapshots__/custom-build-job.test.ts.snap +99 -381
  46. package/examples/__snapshots__/custom-deploy.test.ts.snap +111 -107
  47. package/examples/__snapshots__/custom-docker-file.test.ts.snap +122 -404
  48. package/examples/__snapshots__/custom-verify-job.test.ts.snap +157 -438
  49. package/examples/__snapshots__/git-submodule.test.ts.snap +127 -409
  50. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +107 -103
  51. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +117 -113
  52. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +214 -206
  53. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +117 -113
  54. package/examples/__snapshots__/local-dot-env.test.ts.snap +127 -409
  55. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +120 -116
  56. package/examples/__snapshots__/multiline-var.test.ts.snap +363 -673
  57. package/examples/__snapshots__/native-app.test.ts.snap +233 -512
  58. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +122 -404
  59. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +127 -409
  60. package/examples/__snapshots__/override-secrets.test.ts.snap +130 -412
  61. package/examples/__snapshots__/pipelines-config.test.ts.snap +127 -409
  62. package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +57 -54
  63. package/examples/__snapshots__/referencing-other-vars.test.ts.snap +398 -708
  64. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +151 -145
  65. package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +230 -545
  66. package/examples/__snapshots__/workspace-api-www.test.ts.snap +209 -524
  67. package/package.json +1 -1
  68. package/src/backends/github/GithubBackend.ts +95 -11
  69. package/src/customImages/shippedImages.ts +0 -1
  70. package/src/deploy/cloudRun/createJobs/constants.ts +11 -0
  71. package/src/deploy/cloudRun/createJobs/index.ts +3 -4
  72. package/src/runner/index.ts +0 -1
  73. package/dist/runner-images/gcloud/Dockerfile +0 -3
  74. package/examples/__snapshots__/custom-sbom-java.test.ts.snap +0 -1221
@@ -295,25 +295,29 @@ var GithubBackend = /** @class */function () {
295
295
  */
296
296
  GithubBackend.prototype.createWorkflows = function (config_2) {
297
297
  return __awaiter(this, arguments, void 0, function (config, images, scripts) {
298
- var workflows, workflowEnv, reviewStopJobs, manualJobs, _loop_1, this_1, ALL_PIPELINE_TRIGGERS_1, ALL_PIPELINE_TRIGGERS_1_1, trigger, e_1_1;
298
+ var workflows, workflowEnv, reviewStopJobs, manualJobs, manualJobConditions, manualDispatchOptions, _loop_1, this_1, ALL_PIPELINE_TRIGGERS_1, ALL_PIPELINE_TRIGGERS_1_1, trigger, e_1_1;
299
299
  var e_1, _a;
300
+ var _b, _c, _d, _e;
300
301
  if (images === void 0) {
301
302
  images = this.createImagesPlan(config);
302
303
  }
303
304
  if (scripts === void 0) {
304
305
  scripts = new scriptFiles_1.GithubScriptFiles();
305
306
  }
306
- return __generator(this, function (_b) {
307
- switch (_b.label) {
307
+ return __generator(this, function (_f) {
308
+ switch (_f.label) {
308
309
  case 0:
309
310
  workflows = {};
310
311
  workflowEnv = __assign(__assign({}, ciVariables_1.GITHUB_INJECTED_WORKFLOW_ENV), (0, index_1.getPipelineOptions)(config, this.type).runnerVariables);
311
312
  reviewStopJobs = {};
312
313
  manualJobs = {};
314
+ manualJobConditions = {};
315
+ manualDispatchOptions = [];
313
316
  _loop_1 = function (trigger) {
314
- var allJobs, uploadProviderIds, secretKinds, jobs, releaseJobs;
315
- return __generator(this, function (_c) {
316
- switch (_c.label) {
317
+ var allJobs, uploadProviderIds, secretKinds, triggerJobs, _g, _h, _j, id, _k, githubJob, job, context, leafIds, dependents, triggerJobs_1, triggerJobs_1_1, _l, id, githubJob, _m, _o, need, list, servesLeaves, leafIds_1, leafIds_1_1, leaf, stack, cur, leaves, _p, _q, need, _r, _s, dependent, jobs, triggerJobs_2, triggerJobs_2_1, _t, id, githubJob, leaves, releaseJobs, _u, _v, _w, id, job;
318
+ var e_2, _x, e_3, _y, e_4, _z, e_5, _0, e_6, _1, e_7, _2, e_8, _3, e_9, _4;
319
+ return __generator(this, function (_5) {
320
+ switch (_5.label) {
317
321
  case 0:
318
322
  return [4 /*yield*/, (0, createAllJobs_1.createAllJobs)({
319
323
  config: config,
@@ -321,11 +325,10 @@ var GithubBackend = /** @class */function () {
321
325
  pipelineType: this_1.type
322
326
  })];
323
327
  case 1:
324
- allJobs = _c.sent();
328
+ allJobs = _5.sent();
325
329
  uploadProviderIds = (0, createGithubJobs_1.getUploadProviderIds)(allJobs);
326
330
  secretKinds = (0, createGithubJobs_1.collectSecretKinds)(allJobs);
327
- jobs = {};
328
- // NOTE: agent jobs are gitlab-only and skipped on github
331
+ triggerJobs = new Map();
329
332
  __spreadArray(__spreadArray([], __read(allJobs.workspaces), false), __read(allJobs.components), false).forEach(function (_a) {
330
333
  var context = _a.context,
331
334
  contextJobs = _a.jobs;
@@ -333,19 +336,182 @@ var GithubBackend = /** @class */function () {
333
336
  var _a = __read((0, createGithubJobs_1.makeGithubJob)(context, job, allJobs, uploadProviderIds, images, scripts, secretKinds), 2),
334
337
  id = _a[0],
335
338
  githubJob = _a[1];
339
+ triggerJobs.set(id, {
340
+ githubJob: githubJob,
341
+ job: job,
342
+ context: context
343
+ });
344
+ });
345
+ });
346
+ try {
347
+ // review-stop jobs run in their own on:pull_request:closed workflow
348
+ for (_g = (e_2 = void 0, __values(__spreadArray([], __read(triggerJobs), false))), _h = _g.next(); !_h.done; _h = _g.next()) {
349
+ _j = __read(_h.value, 2), id = _j[0], _k = _j[1], githubJob = _k.githubJob, job = _k.job, context = _k.context;
336
350
  if (isReviewStopJob(context, job)) {
337
351
  reviewStopJobs[id] = githubJob;
338
- } else if (isManualTaskJob(job)) {
352
+ triggerJobs.delete(id);
353
+ }
354
+ }
355
+ } catch (e_2_1) {
356
+ e_2 = {
357
+ error: e_2_1
358
+ };
359
+ } finally {
360
+ try {
361
+ if (_h && !_h.done && (_x = _g.return)) _x.call(_g);
362
+ } finally {
363
+ if (e_2) throw e_2.error;
364
+ }
365
+ }
366
+ leafIds = __spreadArray([], __read(triggerJobs), false).filter(function (_a) {
367
+ var _b = __read(_a, 2),
368
+ job = _b[1].job;
369
+ return job.gate === "manual" || isManualTaskJob(job);
370
+ }).map(function (_a) {
371
+ var _b = __read(_a, 1),
372
+ id = _b[0];
373
+ return id;
374
+ });
375
+ dependents = new Map();
376
+ try {
377
+ for (triggerJobs_1 = (e_3 = void 0, __values(triggerJobs)), triggerJobs_1_1 = triggerJobs_1.next(); !triggerJobs_1_1.done; triggerJobs_1_1 = triggerJobs_1.next()) {
378
+ _l = __read(triggerJobs_1_1.value, 2), id = _l[0], githubJob = _l[1].githubJob;
379
+ try {
380
+ for (_m = (e_4 = void 0, __values((_b = githubJob.needs) !== null && _b !== void 0 ? _b : [])), _o = _m.next(); !_o.done; _o = _m.next()) {
381
+ need = _o.value;
382
+ if (!triggerJobs.has(need)) continue;
383
+ list = dependents.get(need);
384
+ if (list) list.push(id);else dependents.set(need, [id]);
385
+ }
386
+ } catch (e_4_1) {
387
+ e_4 = {
388
+ error: e_4_1
389
+ };
390
+ } finally {
391
+ try {
392
+ if (_o && !_o.done && (_z = _m.return)) _z.call(_m);
393
+ } finally {
394
+ if (e_4) throw e_4.error;
395
+ }
396
+ }
397
+ }
398
+ } catch (e_3_1) {
399
+ e_3 = {
400
+ error: e_3_1
401
+ };
402
+ } finally {
403
+ try {
404
+ if (triggerJobs_1_1 && !triggerJobs_1_1.done && (_y = triggerJobs_1.return)) _y.call(triggerJobs_1);
405
+ } finally {
406
+ if (e_3) throw e_3.error;
407
+ }
408
+ }
409
+ servesLeaves = new Map();
410
+ try {
411
+ for (leafIds_1 = (e_5 = void 0, __values(leafIds)), leafIds_1_1 = leafIds_1.next(); !leafIds_1_1.done; leafIds_1_1 = leafIds_1.next()) {
412
+ leaf = leafIds_1_1.value;
413
+ stack = [leaf];
414
+ cur = void 0;
415
+ while ((cur = stack.pop()) !== undefined) {
416
+ leaves = servesLeaves.get(cur);
417
+ if (leaves === null || leaves === void 0 ? void 0 : leaves.has(leaf)) continue; // already walked for this leaf
418
+ if (!leaves) {
419
+ leaves = new Set();
420
+ servesLeaves.set(cur, leaves);
421
+ }
422
+ leaves.add(leaf);
423
+ try {
424
+ for (_p = (e_6 = void 0, __values((_d = (_c = triggerJobs.get(cur)) === null || _c === void 0 ? void 0 : _c.githubJob.needs) !== null && _d !== void 0 ? _d : [])), _q = _p.next(); !_q.done; _q = _p.next()) {
425
+ need = _q.value;
426
+ if (triggerJobs.has(need)) stack.push(need); // upstream deps
427
+ }
428
+ } catch (e_6_1) {
429
+ e_6 = {
430
+ error: e_6_1
431
+ };
432
+ } finally {
433
+ try {
434
+ if (_q && !_q.done && (_1 = _p.return)) _1.call(_p);
435
+ } finally {
436
+ if (e_6) throw e_6.error;
437
+ }
438
+ }
439
+ try {
440
+ for (_r = (e_7 = void 0, __values((_e = dependents.get(cur)) !== null && _e !== void 0 ? _e : [])), _s = _r.next(); !_s.done; _s = _r.next()) {
441
+ dependent = _s.value;
442
+ stack.push(dependent); // downstream consumers
443
+ }
444
+ } catch (e_7_1) {
445
+ e_7 = {
446
+ error: e_7_1
447
+ };
448
+ } finally {
449
+ try {
450
+ if (_s && !_s.done && (_2 = _r.return)) _2.call(_r);
451
+ } finally {
452
+ if (e_7) throw e_7.error;
453
+ }
454
+ }
455
+ }
456
+ }
457
+ } catch (e_5_1) {
458
+ e_5 = {
459
+ error: e_5_1
460
+ };
461
+ } finally {
462
+ try {
463
+ if (leafIds_1_1 && !leafIds_1_1.done && (_0 = leafIds_1.return)) _0.call(leafIds_1);
464
+ } finally {
465
+ if (e_5) throw e_5.error;
466
+ }
467
+ }
468
+ jobs = {};
469
+ try {
470
+ for (triggerJobs_2 = (e_8 = void 0, __values(triggerJobs)), triggerJobs_2_1 = triggerJobs_2.next(); !triggerJobs_2_1.done; triggerJobs_2_1 = triggerJobs_2.next()) {
471
+ _t = __read(triggerJobs_2_1.value, 2), id = _t[0], githubJob = _t[1].githubJob;
472
+ leaves = servesLeaves.get(id);
473
+ if (leaves) {
339
474
  manualJobs[id] = githubJob;
475
+ manualJobConditions[id] = __spreadArray([], __read(leaves), false).sort().map(function (leaf) {
476
+ return "inputs.job == '".concat(leaf, "'");
477
+ }).join(" || ");
340
478
  } else {
341
479
  jobs[id] = githubJob;
342
480
  }
343
- });
344
- });
481
+ }
482
+ } catch (e_8_1) {
483
+ e_8 = {
484
+ error: e_8_1
485
+ };
486
+ } finally {
487
+ try {
488
+ if (triggerJobs_2_1 && !triggerJobs_2_1.done && (_3 = triggerJobs_2.return)) _3.call(triggerJobs_2);
489
+ } finally {
490
+ if (e_8) throw e_8.error;
491
+ }
492
+ }
493
+ manualDispatchOptions.push.apply(manualDispatchOptions, __spreadArray([], __read(leafIds), false));
345
494
  if (trigger === "mainBranch") {
346
495
  releaseJobs = (0, githubReleaseJobs_1.getGithubReleaseJobs)(config, Object.keys(jobs), images);
347
496
  Object.assign(jobs, releaseJobs.main);
348
- Object.assign(manualJobs, releaseJobs.manual);
497
+ try {
498
+ for (_u = (e_9 = void 0, __values(Object.entries(releaseJobs.manual))), _v = _u.next(); !_v.done; _v = _u.next()) {
499
+ _w = __read(_v.value, 2), id = _w[0], job = _w[1];
500
+ manualJobs[id] = job;
501
+ manualJobConditions[id] = "inputs.job == '".concat(id, "'");
502
+ manualDispatchOptions.push(id);
503
+ }
504
+ } catch (e_9_1) {
505
+ e_9 = {
506
+ error: e_9_1
507
+ };
508
+ } finally {
509
+ try {
510
+ if (_v && !_v.done && (_4 = _u.return)) _4.call(_u);
511
+ } finally {
512
+ if (e_9) throw e_9.error;
513
+ }
514
+ }
349
515
  }
350
516
  if (Object.keys(jobs).length > 0) {
351
517
  workflows["".concat(GENERATED_FILE_PREFIX).concat(workflowFileName(trigger))] = __assign(__assign(__assign({}, TRIGGER_WORKFLOWS[trigger]), workflowPermissions(images)), {
@@ -358,25 +524,25 @@ var GithubBackend = /** @class */function () {
358
524
  });
359
525
  };
360
526
  this_1 = this;
361
- _b.label = 1;
527
+ _f.label = 1;
362
528
  case 1:
363
- _b.trys.push([1, 6, 7, 8]);
529
+ _f.trys.push([1, 6, 7, 8]);
364
530
  ALL_PIPELINE_TRIGGERS_1 = __values(config_1.ALL_PIPELINE_TRIGGERS), ALL_PIPELINE_TRIGGERS_1_1 = ALL_PIPELINE_TRIGGERS_1.next();
365
- _b.label = 2;
531
+ _f.label = 2;
366
532
  case 2:
367
533
  if (!!ALL_PIPELINE_TRIGGERS_1_1.done) return [3 /*break*/, 5];
368
534
  trigger = ALL_PIPELINE_TRIGGERS_1_1.value;
369
535
  return [5 /*yield**/, _loop_1(trigger)];
370
536
  case 3:
371
- _b.sent();
372
- _b.label = 4;
537
+ _f.sent();
538
+ _f.label = 4;
373
539
  case 4:
374
540
  ALL_PIPELINE_TRIGGERS_1_1 = ALL_PIPELINE_TRIGGERS_1.next();
375
541
  return [3 /*break*/, 2];
376
542
  case 5:
377
543
  return [3 /*break*/, 8];
378
544
  case 6:
379
- e_1_1 = _b.sent();
545
+ e_1_1 = _f.sent();
380
546
  e_1 = {
381
547
  error: e_1_1
382
548
  };
@@ -412,7 +578,7 @@ var GithubBackend = /** @class */function () {
412
578
  description: "the task to run",
413
579
  required: true,
414
580
  type: "choice",
415
- options: Object.keys(manualJobs)
581
+ options: __spreadArray([], __read(new Set(manualDispatchOptions)), false)
416
582
  }
417
583
  }
418
584
  }
@@ -424,7 +590,7 @@ var GithubBackend = /** @class */function () {
424
590
  id = _b[0],
425
591
  job = _b[1];
426
592
  return [id, __assign(__assign({}, job), {
427
- if: "${{ inputs.job == '".concat(id, "' }}")
593
+ if: "${{ ".concat(manualJobConditions[id], " }}")
428
594
  })];
429
595
  })))
430
596
  });
package/dist/constants.js CHANGED
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.DOCKER_REGISTRY = exports.PIPELINE_IMAGE_TAG = void 0;
7
- exports.PIPELINE_IMAGE_TAG = "next-12d216ae" || "latest";
7
+ exports.PIPELINE_IMAGE_TAG = "next-e9e5af68" || "latest";
8
8
  exports.DOCKER_REGISTRY = "git.panter.ch:5001/catladder/catladder" || "git.panter.ch:5001/catladder/catladder";
@@ -36,7 +36,6 @@ exports.RUNNER_IMAGE_BUILD_CONTEXT = {
36
36
  "jobs-testing-chrome": "root",
37
37
  kubernetes: "self",
38
38
  "docker-build": "self",
39
- gcloud: "self",
40
39
  "semantic-release": "self",
41
40
  changesets: "self",
42
41
  "agent-claude": "self"
@@ -1 +1,11 @@
1
- export declare const ENV_VARS_FILENAME = "____envvars.yaml";
1
+ export declare const ENV_VARS_FILENAME = "____envvars.yaml";
2
+ /**
3
+ * the official google cloud sdk image used by cloud run deploy/stop jobs.
4
+ * Referenced directly (not a repo-built catladder image) because our
5
+ * former `gcloud` image was just `FROM google/cloud-sdk:latest` and added
6
+ * nothing — so there is no reason to ship/build it. Pinned to match the
7
+ * gcloud SDK version baked into the `docker-build` image
8
+ * (runner-images/docker-build/Dockerfile: GCLOUD_SDK_VERSION); bump both
9
+ * together.
10
+ */
11
+ export declare const CLOUD_SDK_IMAGE = "google/cloud-sdk:525.0.0";
@@ -3,5 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ENV_VARS_FILENAME = void 0;
7
- exports.ENV_VARS_FILENAME = "____envvars.yaml";
6
+ exports.CLOUD_SDK_IMAGE = exports.ENV_VARS_FILENAME = void 0;
7
+ exports.ENV_VARS_FILENAME = "____envvars.yaml";
8
+ /**
9
+ * the official google cloud sdk image used by cloud run deploy/stop jobs.
10
+ * Referenced directly (not a repo-built catladder image) because our
11
+ * former `gcloud` image was just `FROM google/cloud-sdk:latest` and added
12
+ * nothing — so there is no reason to ship/build it. Pinned to match the
13
+ * gcloud SDK version baked into the `docker-build` image
14
+ * (runner-images/docker-build/Dockerfile: GCLOUD_SDK_VERSION); bump both
15
+ * together.
16
+ */
17
+ exports.CLOUD_SDK_IMAGE = "google/cloud-sdk:525.0.0";
@@ -14,7 +14,6 @@ Object.defineProperty(exports, "__esModule", {
14
14
  value: true
15
15
  });
16
16
  exports.createGoogleCloudRunDeployJobs = void 0;
17
- var runner_1 = require("../../../runner");
18
17
  var gitlab_1 = require("../../../utils/gitlab");
19
18
  var base_1 = require("../../base");
20
19
  var types_1 = require("../../types");
@@ -42,11 +41,11 @@ var createGoogleCloudRunDeployJobs = function (context) {
42
41
  when: "always"
43
42
  }
44
43
  } : {}), {
45
- image: (0, runner_1.getRunnerImage)("gcloud"),
44
+ image: constants_1.CLOUD_SDK_IMAGE,
46
45
  script: deployScripts
47
46
  }),
48
47
  stop: {
49
- image: (0, runner_1.getRunnerImage)("gcloud"),
48
+ image: constants_1.CLOUD_SDK_IMAGE,
50
49
  variables: {
51
50
  CLOUDSDK_CORE_DISABLE_PROMPTS: "1"
52
51
  },
@@ -1,4 +1,4 @@
1
- export type RunnerImageName = "jobs-default" | "jobs-meteor" | "jobs-testing-chrome" | "kubernetes" | "docker-build" | "gcloud" | "semantic-release" | "changesets" | "agent-claude";
1
+ export type RunnerImageName = "jobs-default" | "jobs-meteor" | "jobs-testing-chrome" | "kubernetes" | "docker-build" | "semantic-release" | "changesets" | "agent-claude";
2
2
  /**
3
3
  * a reference to a catladder-provided job image. It is resolved by the
4
4
  * pipeline backend according to the `jobImages` mode: