@catladder/pipeline 1.130.0 → 1.132.0

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 (32) hide show
  1. package/dist/build/node/yarn.js +2 -2
  2. package/dist/bundles/catladder-gitlab/index.js +1 -1
  3. package/dist/constants.js +1 -1
  4. package/dist/deploy/types/kubernetes.d.ts +4 -0
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/examples/__snapshots__/cloud-run-memory-limit.ts.snap +48 -48
  7. package/examples/__snapshots__/cloud-run-meteor-with-worker.ts.snap +48 -48
  8. package/examples/__snapshots__/cloud-run-no-cpu-throttling.ts.snap +48 -48
  9. package/examples/__snapshots__/cloud-run-non-public.ts.snap +48 -48
  10. package/examples/__snapshots__/cloud-run-post-stop-job.ts.snap +48 -48
  11. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.ts.snap +96 -96
  12. package/examples/__snapshots__/cloud-run-with-sql.ts.snap +96 -96
  13. package/examples/__snapshots__/cloud-run-with-worker.ts.snap +48 -48
  14. package/examples/__snapshots__/custom-build-job-with-tests.ts.snap +8 -8
  15. package/examples/__snapshots__/custom-build-job.ts.snap +8 -8
  16. package/examples/__snapshots__/custom-deploy.ts.snap +48 -48
  17. package/examples/__snapshots__/custom-envs.ts.snap +60 -60
  18. package/examples/__snapshots__/custom-sbom-java.ts.snap +8 -8
  19. package/examples/__snapshots__/kubernetes-application-customization.ts.snap +48 -48
  20. package/examples/__snapshots__/kubernetes-with-cloud-sql-legacy.ts.snap +48 -48
  21. package/examples/__snapshots__/kubernetes-with-cloud-sql.ts.snap +48 -48
  22. package/examples/__snapshots__/kubernetes-with-jobs.ts.snap +96 -96
  23. package/examples/__snapshots__/kubernetes-with-mongodb.ts.snap +48 -48
  24. package/examples/__snapshots__/meteor-kubernetes.ts.snap +48 -48
  25. package/examples/__snapshots__/native-app.ts.snap +96 -96
  26. package/examples/__snapshots__/node-build-with-custom-image.ts.snap +48 -48
  27. package/examples/__snapshots__/rails-k8s-with-worker.ts.snap +24 -0
  28. package/examples/__snapshots__/wait-for-other-deploy.ts.snap +96 -96
  29. package/examples/rails-k8s-with-worker.ts +3 -0
  30. package/package.json +1 -1
  31. package/src/build/node/yarn.ts +3 -3
  32. package/src/deploy/types/kubernetes.ts +4 -0
@@ -33,18 +33,18 @@ exports[`matches snapshot 1`] = `
33
33
  ],
34
34
  },
35
35
  "script": [
36
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
36
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
37
37
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
38
38
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
39
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
39
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
40
40
  "cd api",
41
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
41
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
42
42
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
43
43
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
44
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
45
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
44
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
45
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
46
46
  "yarn install --immutable",
47
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
47
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
48
48
  "yarn lint",
49
49
  ],
50
50
  "stage": "test",
@@ -104,18 +104,18 @@ exports[`matches snapshot 1`] = `
104
104
  },
105
105
  "script": [
106
106
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
107
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
107
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
108
108
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
109
109
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
110
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
110
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
111
111
  "cd api",
112
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
112
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
113
113
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
114
114
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
115
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
116
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
115
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
116
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
117
117
  "yarn install --immutable",
118
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
118
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
119
119
  "yarn build",
120
120
  ],
121
121
  "stage": "build",
@@ -258,18 +258,18 @@ exports[`matches snapshot 1`] = `
258
258
  ],
259
259
  },
260
260
  "script": [
261
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
261
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
262
262
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
263
263
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
264
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
264
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
265
265
  "cd api",
266
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
266
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
267
267
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
268
268
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
269
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
270
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
269
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
270
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
271
271
  "yarn install --immutable",
272
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
272
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
273
273
  "yarn test",
274
274
  ],
275
275
  "stage": "test",
@@ -332,18 +332,18 @@ exports[`matches snapshot 1`] = `
332
332
  ],
333
333
  },
334
334
  "script": [
335
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
335
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
336
336
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
337
337
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
338
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
338
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
339
339
  "cd www",
340
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
340
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
341
341
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
342
342
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
343
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
344
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
343
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
344
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
345
345
  "yarn install --immutable",
346
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
346
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
347
347
  "yarn lint",
348
348
  ],
349
349
  "stage": "test",
@@ -403,18 +403,18 @@ exports[`matches snapshot 1`] = `
403
403
  },
404
404
  "script": [
405
405
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
406
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
406
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
407
407
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
408
408
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
409
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
409
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
410
410
  "cd www",
411
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
411
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
412
412
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
413
413
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
414
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
415
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
414
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
415
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
416
416
  "yarn install --immutable",
417
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
417
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
418
418
  "yarn build",
419
419
  ],
420
420
  "stage": "build",
@@ -561,18 +561,18 @@ exports[`matches snapshot 1`] = `
561
561
  ],
562
562
  },
563
563
  "script": [
564
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
564
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
565
565
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
566
566
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
567
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
567
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
568
568
  "cd www",
569
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
569
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
570
570
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
571
571
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
572
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
573
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
572
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
573
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
574
574
  "yarn install --immutable",
575
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
575
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
576
576
  "yarn test",
577
577
  ],
578
578
  "stage": "test",
@@ -708,18 +708,18 @@ exports[`matches snapshot 1`] = `
708
708
  ],
709
709
  },
710
710
  "script": [
711
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
711
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
712
712
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
713
713
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
714
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
714
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
715
715
  "cd api",
716
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
716
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
717
717
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
718
718
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
719
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
720
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
719
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
720
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
721
721
  "yarn install --immutable",
722
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
722
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
723
723
  "yarn lint",
724
724
  ],
725
725
  "stage": "test",
@@ -779,18 +779,18 @@ exports[`matches snapshot 1`] = `
779
779
  },
780
780
  "script": [
781
781
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
782
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
782
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
783
783
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
784
784
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
785
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
785
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
786
786
  "cd api",
787
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
787
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
788
788
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
789
789
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
790
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
791
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
790
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
791
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
792
792
  "yarn install --immutable",
793
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
793
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
794
794
  "yarn build",
795
795
  ],
796
796
  "stage": "build",
@@ -933,18 +933,18 @@ exports[`matches snapshot 1`] = `
933
933
  ],
934
934
  },
935
935
  "script": [
936
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
936
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
937
937
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
938
938
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
939
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
939
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
940
940
  "cd api",
941
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
941
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
942
942
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
943
943
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
944
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
945
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
944
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
945
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
946
946
  "yarn install --immutable",
947
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
947
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
948
948
  "yarn test",
949
949
  ],
950
950
  "stage": "test",
@@ -1007,18 +1007,18 @@ exports[`matches snapshot 1`] = `
1007
1007
  ],
1008
1008
  },
1009
1009
  "script": [
1010
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1010
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1011
1011
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1012
1012
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1013
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1013
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1014
1014
  "cd www",
1015
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1015
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1016
1016
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1017
1017
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1018
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1019
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
1018
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1019
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1020
1020
  "yarn install --immutable",
1021
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
1021
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1022
1022
  "yarn lint",
1023
1023
  ],
1024
1024
  "stage": "test",
@@ -1078,18 +1078,18 @@ exports[`matches snapshot 1`] = `
1078
1078
  },
1079
1079
  "script": [
1080
1080
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
1081
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1081
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1082
1082
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1083
1083
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1084
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1084
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1085
1085
  "cd www",
1086
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1086
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1087
1087
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1088
1088
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1089
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1090
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
1089
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1090
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1091
1091
  "yarn install --immutable",
1092
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
1092
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1093
1093
  "yarn build",
1094
1094
  ],
1095
1095
  "stage": "build",
@@ -1236,18 +1236,18 @@ exports[`matches snapshot 1`] = `
1236
1236
  ],
1237
1237
  },
1238
1238
  "script": [
1239
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1239
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1240
1240
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1241
1241
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1242
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1242
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1243
1243
  "cd www",
1244
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1244
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1245
1245
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1246
1246
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1247
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1248
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
1247
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1248
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1249
1249
  "yarn install --immutable",
1250
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
1250
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1251
1251
  "yarn test",
1252
1252
  ],
1253
1253
  "stage": "test",
@@ -1403,18 +1403,18 @@ exports[`matches snapshot 1`] = `
1403
1403
  },
1404
1404
  "script": [
1405
1405
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
1406
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1406
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1407
1407
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1408
1408
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1409
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1409
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1410
1410
  "cd api",
1411
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1411
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1412
1412
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1413
1413
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1414
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1415
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
1414
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1415
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1416
1416
  "yarn install --immutable",
1417
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
1417
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1418
1418
  "yarn build",
1419
1419
  ],
1420
1420
  "stage": "build",
@@ -1484,18 +1484,18 @@ exports[`matches snapshot 1`] = `
1484
1484
  },
1485
1485
  "script": [
1486
1486
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > api/__build_info.json",
1487
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1487
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1488
1488
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1489
1489
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1490
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1490
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1491
1491
  "cd api",
1492
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1492
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1493
1493
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1494
1494
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1495
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1496
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
1495
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1496
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1497
1497
  "yarn install --immutable",
1498
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
1498
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1499
1499
  "yarn build",
1500
1500
  ],
1501
1501
  "stage": "build",
@@ -1723,18 +1723,18 @@ exports[`matches snapshot 1`] = `
1723
1723
  },
1724
1724
  "script": [
1725
1725
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
1726
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1726
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1727
1727
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1728
1728
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1729
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1729
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1730
1730
  "cd www",
1731
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1731
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1732
1732
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1733
1733
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1734
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1735
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
1734
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1735
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1736
1736
  "yarn install --immutable",
1737
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
1737
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1738
1738
  "yarn build",
1739
1739
  ],
1740
1740
  "stage": "build",
@@ -1804,18 +1804,18 @@ exports[`matches snapshot 1`] = `
1804
1804
  },
1805
1805
  "script": [
1806
1806
  "echo '{"id":"some-id","time":"01-01-2023 12:13:14"}' > www/__build_info.json",
1807
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1807
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1808
1808
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1809
1809
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1810
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1810
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1811
1811
  "cd www",
1812
- "echo -e "\\e[0Ksection_start:$(date +%s):node install[collapsed=true]\\r\\e[0KEnsure node version"",
1812
+ "echo -e "\\e[0Ksection_start:$(date +%s):nodeinstall[collapsed=true]\\r\\e[0KEnsure node version"",
1813
1813
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
1814
1814
  "if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi",
1815
- "echo -e "\\e[0Ksection_end:$(date +%s):node install\\r\\e[0K"",
1816
- "echo -e "\\e[0Ksection_start:$(date +%s):yarn install[collapsed=true]\\r\\e[0KYarn install"",
1815
+ "echo -e "\\e[0Ksection_end:$(date +%s):nodeinstall\\r\\e[0K"",
1816
+ "echo -e "\\e[0Ksection_start:$(date +%s):yarninstall[collapsed=true]\\r\\e[0KYarn install"",
1817
1817
  "yarn install --immutable",
1818
- "echo -e "\\e[0Ksection_end:$(date +%s):yarn install\\r\\e[0K"",
1818
+ "echo -e "\\e[0Ksection_end:$(date +%s):yarninstall\\r\\e[0K"",
1819
1819
  "yarn build",
1820
1820
  ],
1821
1821
  "stage": "build",
@@ -52,6 +52,9 @@ const config: Config = {
52
52
  worker: {
53
53
  enabled: true,
54
54
  command: "launcher bundle exec rake jobs:work",
55
+ // the delayed_job gem does not have a http health endpoint
56
+ // disable probe to avoid worker restarts
57
+ livenessProbe: false,
55
58
  },
56
59
  },
57
60
  jobs: {
package/package.json CHANGED
@@ -52,7 +52,7 @@
52
52
  }
53
53
  ],
54
54
  "license": "MIT",
55
- "version": "1.130.0",
55
+ "version": "1.132.0",
56
56
  "scripts": {
57
57
  "build:tsc": "yarn tsc",
58
58
  "build": "yarn build:compile && yarn build:inline-variables && yarn build:bundle",
@@ -17,7 +17,7 @@ const getYarnInstallCommand = (context: Context) => {
17
17
 
18
18
  export const ensureNodeVersion = (context: Context) =>
19
19
  collapseableSection(
20
- "node install",
20
+ "nodeinstall",
21
21
  "Ensure node version"
22
22
  )([
23
23
  "if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi",
@@ -37,12 +37,12 @@ export const getYarnInstall = (
37
37
  return [
38
38
  ...ensureNodeVersion(context),
39
39
  ...collapseableSection(
40
- "yarn install",
40
+ "yarninstall",
41
41
  "Yarn install"
42
42
  )([getYarnInstallCommand(context)]),
43
43
  ...(postInstall && !options?.noCustomPostInstall
44
44
  ? collapseableSection(
45
- "post install",
45
+ "postinstall",
46
46
  "Custom post install"
47
47
  )(ensureArray(postInstall) ?? [])
48
48
  : []),
@@ -96,6 +96,10 @@ export type KubernetesWorkerDef = {
96
96
  service?: {
97
97
  enabled?: boolean;
98
98
  };
99
+ /**
100
+ * if the same livenessProbe as the application should be used, defaults to `true`
101
+ */
102
+ livenessProbe?: boolean;
99
103
  };
100
104
 
101
105
  type KubernetesTolerationExists = {