@catladder/pipeline 3.47.1 → 4.0.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 (101) hide show
  1. package/dist/build/base/createBuildJobDefinition.js +1 -1
  2. package/dist/build/custom/buildJob.js +1 -1
  3. package/dist/build/index.d.ts +2 -2
  4. package/dist/build/node/buildJob.d.ts +3 -3
  5. package/dist/build/node/buildJob.js +185 -26
  6. package/dist/build/node/cache.d.ts +3 -3
  7. package/dist/build/node/cache.js +199 -36
  8. package/dist/build/node/index.d.ts +3 -3
  9. package/dist/build/node/index.js +151 -3
  10. package/dist/build/node/meteor.d.ts +1 -1
  11. package/dist/build/node/meteor.js +162 -27
  12. package/dist/build/node/testJob.d.ts +1 -1
  13. package/dist/build/node/testJob.js +174 -49
  14. package/dist/build/node/yarn.d.ts +2 -2
  15. package/dist/build/node/yarn.js +168 -21
  16. package/dist/build/types.d.ts +2 -2
  17. package/dist/constants.js +1 -1
  18. package/dist/context/createComponentContext.js +10 -12
  19. package/dist/context/createWorkspaceContext.js +29 -34
  20. package/dist/deploy/custom/deployJob.d.ts +1 -1
  21. package/dist/deploy/custom/deployJob.js +147 -23
  22. package/dist/deploy/index.d.ts +1 -1
  23. package/dist/pipeline/createAllJobs.js +30 -14
  24. package/dist/pipeline/createJobsForComponent.d.ts +1 -1
  25. package/dist/pipeline/createJobsForComponent.js +128 -4
  26. package/dist/pipeline/createJobsForWorkspace.d.ts +1 -1
  27. package/dist/pipeline/createJobsForWorkspace.js +127 -2
  28. package/dist/pipeline/yarn/yarnUtils.js +61 -1
  29. package/dist/tsconfig.tsbuildinfo +1 -1
  30. package/dist/types/context.d.ts +3 -3
  31. package/examples/__snapshots__/automatic-releases.test.ts.snap +9 -13
  32. package/examples/__snapshots__/cloud-run-execute-script-on-deploy.test.ts.snap +9 -13
  33. package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +9 -13
  34. package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +9 -13
  35. package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +9 -13
  36. package/examples/__snapshots__/cloud-run-http2.test.ts.snap +9 -13
  37. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +9 -13
  38. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +9 -13
  39. package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +9 -13
  40. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +9 -13
  41. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +9 -13
  42. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +9 -13
  43. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +9 -13
  44. package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +9 -13
  45. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +9 -13
  46. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +9 -13
  47. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +9 -13
  48. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +9 -13
  49. package/examples/__snapshots__/cloud-run-session-affinity.test.ts.snap +9 -13
  50. package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +9 -13
  51. package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +9 -13
  52. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +9 -13
  53. package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +9 -13
  54. package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +18 -30
  55. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +14 -22
  56. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +9 -13
  57. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +9 -13
  58. package/examples/__snapshots__/cloud-run-worker-pool.test.ts.snap +9 -13
  59. package/examples/__snapshots__/custom-deploy.test.ts.snap +9 -13
  60. package/examples/__snapshots__/custom-docker-file.test.ts.snap +9 -13
  61. package/examples/__snapshots__/custom-envs.test.ts.snap +14 -22
  62. package/examples/__snapshots__/custom-verify-job.test.ts.snap +9 -13
  63. package/examples/__snapshots__/git-submodule.test.ts.snap +9 -13
  64. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +9 -13
  65. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +9 -13
  66. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +14 -22
  67. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +9 -13
  68. package/examples/__snapshots__/local-dot-env.test.ts.snap +9 -13
  69. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +9 -13
  70. package/examples/__snapshots__/modify-generated-files.test.ts.snap +9 -13
  71. package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +9 -13
  72. package/examples/__snapshots__/multiline-var.test.ts.snap +18 -30
  73. package/examples/__snapshots__/native-app.test.ts.snap +14 -22
  74. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +9 -13
  75. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +9 -13
  76. package/examples/__snapshots__/override-secrets.test.ts.snap +9 -13
  77. package/examples/__snapshots__/referencing-other-vars.test.ts.snap +18 -30
  78. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +14 -22
  79. package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +9 -13
  80. package/examples/__snapshots__/workspace-api-www.test.ts.snap +9 -13
  81. package/package.json +1 -1
  82. package/src/build/base/createBuildJobDefinition.ts +2 -1
  83. package/src/build/custom/buildJob.ts +1 -1
  84. package/src/build/index.ts +6 -2
  85. package/src/build/node/buildJob.ts +26 -17
  86. package/src/build/node/cache.ts +18 -15
  87. package/src/build/node/index.ts +17 -9
  88. package/src/build/node/meteor.ts +17 -12
  89. package/src/build/node/testJob.ts +10 -6
  90. package/src/build/node/yarn.ts +10 -8
  91. package/src/build/types.ts +2 -2
  92. package/src/context/createComponentContext.ts +6 -3
  93. package/src/context/createWorkspaceContext.ts +1 -1
  94. package/src/deploy/cloudRun/createJobs/getCloudRunDeployScripts.ts +3 -1
  95. package/src/deploy/custom/deployJob.ts +3 -3
  96. package/src/deploy/index.ts +1 -1
  97. package/src/pipeline/createAllJobs.ts +9 -7
  98. package/src/pipeline/createJobsForComponent.ts +6 -6
  99. package/src/pipeline/createJobsForWorkspace.ts +3 -3
  100. package/src/pipeline/yarn/yarnUtils.ts +34 -0
  101. package/src/types/context.ts +3 -3
@@ -156,7 +156,7 @@ before_script:
156
156
  - www/.yarn
157
157
  - key: www-node-modules
158
158
  policy: pull-push
159
- paths:
159
+ paths: &a2
160
160
  - www/node_modules
161
161
  - www/.yarn/install-state.gz
162
162
  rules:
@@ -197,9 +197,7 @@ before_script:
197
197
  - www/.yarn
198
198
  - key: www-node-modules
199
199
  policy: pull-push
200
- paths:
201
- - www/node_modules
202
- - www/.yarn/install-state.gz
200
+ paths: *a2
203
201
  rules:
204
202
  - when: never
205
203
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -553,7 +551,7 @@ before_script:
553
551
  - www-yarn
554
552
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
555
553
  policy: pull-push
556
- paths:
554
+ paths: &a3
557
555
  - www/node_modules
558
556
  - www/.yarn/install-state.gz
559
557
  fallback_keys:
@@ -598,9 +596,7 @@ before_script:
598
596
  - www-yarn
599
597
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
600
598
  policy: pull-push
601
- paths:
602
- - www/node_modules
603
- - www/.yarn/install-state.gz
599
+ paths: *a3
604
600
  fallback_keys:
605
601
  - www-node-modules
606
602
  rules:
@@ -1492,13 +1488,13 @@ create release:
1492
1488
  after_script:
1493
1489
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1494
1490
  rules:
1495
- - &a2
1491
+ - &a4
1496
1492
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1497
1493
  when: never
1498
- - &a3
1494
+ - &a5
1499
1495
  if: $CI_PIPELINE_SOURCE == "trigger"
1500
1496
  when: never
1501
- - &a4
1497
+ - &a6
1502
1498
  if: $CI_PIPELINE_SOURCE == "schedule"
1503
1499
  when: never
1504
1500
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1513,9 +1509,9 @@ create release:
1513
1509
  after_script:
1514
1510
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1515
1511
  rules:
1516
- - *a2
1517
- - *a3
1518
1512
  - *a4
1513
+ - *a5
1514
+ - *a6
1519
1515
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1520
1516
  when: manual
1521
1517
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -172,7 +172,7 @@ before_script:
172
172
  - api/.yarn
173
173
  - key: api-node-modules
174
174
  policy: pull-push
175
- paths:
175
+ paths: &a2
176
176
  - api/node_modules
177
177
  - api/.yarn/install-state.gz
178
178
  rules:
@@ -213,9 +213,7 @@ before_script:
213
213
  - api/.yarn
214
214
  - key: api-node-modules
215
215
  policy: pull-push
216
- paths:
217
- - api/node_modules
218
- - api/.yarn/install-state.gz
216
+ paths: *a2
219
217
  rules:
220
218
  - when: never
221
219
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -351,7 +349,7 @@ before_script:
351
349
  - api/.yarn
352
350
  - key: api-node-modules
353
351
  policy: pull-push
354
- paths:
352
+ paths: &a3
355
353
  - api/node_modules
356
354
  - api/.yarn/install-state.gz
357
355
  rules:
@@ -392,9 +390,7 @@ before_script:
392
390
  - api/.yarn
393
391
  - key: api-node-modules
394
392
  policy: pull-push
395
- paths:
396
- - api/node_modules
397
- - api/.yarn/install-state.gz
393
+ paths: *a3
398
394
  rules:
399
395
  - when: never
400
396
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -530,7 +526,7 @@ before_script:
530
526
  - api/.yarn
531
527
  - key: api-node-modules
532
528
  policy: pull-push
533
- paths:
529
+ paths: &a4
534
530
  - api/node_modules
535
531
  - api/.yarn/install-state.gz
536
532
  rules:
@@ -571,9 +567,7 @@ before_script:
571
567
  - api/.yarn
572
568
  - key: api-node-modules
573
569
  policy: pull-push
574
- paths:
575
- - api/node_modules
576
- - api/.yarn/install-state.gz
570
+ paths: *a4
577
571
  rules:
578
572
  - when: never
579
573
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -711,7 +705,7 @@ before_script:
711
705
  - api-yarn
712
706
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
713
707
  policy: pull-push
714
- paths:
708
+ paths: &a5
715
709
  - api/node_modules
716
710
  - api/.yarn/install-state.gz
717
711
  fallback_keys:
@@ -756,9 +750,7 @@ before_script:
756
750
  - api-yarn
757
751
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
758
752
  policy: pull-push
759
- paths:
760
- - api/node_modules
761
- - api/.yarn/install-state.gz
753
+ paths: *a5
762
754
  fallback_keys:
763
755
  - api-node-modules
764
756
  rules:
@@ -1008,13 +1000,13 @@ create release:
1008
1000
  after_script:
1009
1001
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1010
1002
  rules:
1011
- - &a2
1003
+ - &a6
1012
1004
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1013
1005
  when: never
1014
- - &a3
1006
+ - &a7
1015
1007
  if: $CI_PIPELINE_SOURCE == "trigger"
1016
1008
  when: never
1017
- - &a4
1009
+ - &a8
1018
1010
  if: $CI_PIPELINE_SOURCE == "schedule"
1019
1011
  when: never
1020
1012
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1029,9 +1021,9 @@ create release:
1029
1021
  after_script:
1030
1022
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1031
1023
  rules:
1032
- - *a2
1033
- - *a3
1034
- - *a4
1024
+ - *a6
1025
+ - *a7
1026
+ - *a8
1035
1027
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1036
1028
  when: manual
1037
1029
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -156,7 +156,7 @@ before_script:
156
156
  - www/.yarn
157
157
  - key: www-node-modules
158
158
  policy: pull-push
159
- paths:
159
+ paths: &a2
160
160
  - www/node_modules
161
161
  - www/.yarn/install-state.gz
162
162
  rules:
@@ -197,9 +197,7 @@ before_script:
197
197
  - www/.yarn
198
198
  - key: www-node-modules
199
199
  policy: pull-push
200
- paths:
201
- - www/node_modules
202
- - www/.yarn/install-state.gz
200
+ paths: *a2
203
201
  rules:
204
202
  - when: never
205
203
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -599,7 +597,7 @@ before_script:
599
597
  - www-yarn
600
598
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
601
599
  policy: pull-push
602
- paths:
600
+ paths: &a3
603
601
  - www/node_modules
604
602
  - www/.yarn/install-state.gz
605
603
  fallback_keys:
@@ -644,9 +642,7 @@ before_script:
644
642
  - www-yarn
645
643
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
646
644
  policy: pull-push
647
- paths:
648
- - www/node_modules
649
- - www/.yarn/install-state.gz
645
+ paths: *a3
650
646
  fallback_keys:
651
647
  - www-node-modules
652
648
  rules:
@@ -1678,13 +1674,13 @@ create release:
1678
1674
  after_script:
1679
1675
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1680
1676
  rules:
1681
- - &a2
1677
+ - &a4
1682
1678
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1683
1679
  when: never
1684
- - &a3
1680
+ - &a5
1685
1681
  if: $CI_PIPELINE_SOURCE == "trigger"
1686
1682
  when: never
1687
- - &a4
1683
+ - &a6
1688
1684
  if: $CI_PIPELINE_SOURCE == "schedule"
1689
1685
  when: never
1690
1686
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1699,9 +1695,9 @@ create release:
1699
1695
  after_script:
1700
1696
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1701
1697
  rules:
1702
- - *a2
1703
- - *a3
1704
1698
  - *a4
1699
+ - *a5
1700
+ - *a6
1705
1701
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1706
1702
  when: manual
1707
1703
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -157,7 +157,7 @@ before_script:
157
157
  - app/.yarn
158
158
  - key: app-node-modules
159
159
  policy: pull-push
160
- paths:
160
+ paths: &a2
161
161
  - app/node_modules
162
162
  - app/.yarn/install-state.gz
163
163
  rules:
@@ -198,9 +198,7 @@ before_script:
198
198
  - app/.yarn
199
199
  - key: app-node-modules
200
200
  policy: pull-push
201
- paths:
202
- - app/node_modules
203
- - app/.yarn/install-state.gz
201
+ paths: *a2
204
202
  rules:
205
203
  - when: never
206
204
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -545,7 +543,7 @@ before_script:
545
543
  - app-yarn
546
544
  - key: app-node-modules-mr$CI_MERGE_REQUEST_IID
547
545
  policy: pull-push
548
- paths:
546
+ paths: &a3
549
547
  - app/node_modules
550
548
  - app/.yarn/install-state.gz
551
549
  fallback_keys:
@@ -590,9 +588,7 @@ before_script:
590
588
  - app-yarn
591
589
  - key: app-node-modules-mr$CI_MERGE_REQUEST_IID
592
590
  policy: pull-push
593
- paths:
594
- - app/node_modules
595
- - app/.yarn/install-state.gz
591
+ paths: *a3
596
592
  fallback_keys:
597
593
  - app-node-modules
598
594
  rules:
@@ -1457,13 +1453,13 @@ create release:
1457
1453
  after_script:
1458
1454
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1459
1455
  rules:
1460
- - &a2
1456
+ - &a4
1461
1457
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1462
1458
  when: never
1463
- - &a3
1459
+ - &a5
1464
1460
  if: $CI_PIPELINE_SOURCE == "trigger"
1465
1461
  when: never
1466
- - &a4
1462
+ - &a6
1467
1463
  if: $CI_PIPELINE_SOURCE == "schedule"
1468
1464
  when: never
1469
1465
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1478,9 +1474,9 @@ create release:
1478
1474
  after_script:
1479
1475
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1480
1476
  rules:
1481
- - *a2
1482
- - *a3
1483
1477
  - *a4
1478
+ - *a5
1479
+ - *a6
1484
1480
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1485
1481
  when: manual
1486
1482
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -156,7 +156,7 @@ before_script:
156
156
  - api/.yarn
157
157
  - key: api-node-modules
158
158
  policy: pull-push
159
- paths:
159
+ paths: &a2
160
160
  - api/node_modules
161
161
  - api/.yarn/install-state.gz
162
162
  rules:
@@ -197,9 +197,7 @@ before_script:
197
197
  - api/.yarn
198
198
  - key: api-node-modules
199
199
  policy: pull-push
200
- paths:
201
- - api/node_modules
202
- - api/.yarn/install-state.gz
200
+ paths: *a2
203
201
  rules:
204
202
  - when: never
205
203
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -626,7 +624,7 @@ before_script:
626
624
  - api-yarn
627
625
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
628
626
  policy: pull-push
629
- paths:
627
+ paths: &a3
630
628
  - api/node_modules
631
629
  - api/.yarn/install-state.gz
632
630
  fallback_keys:
@@ -671,9 +669,7 @@ before_script:
671
669
  - api-yarn
672
670
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
673
671
  policy: pull-push
674
- paths:
675
- - api/node_modules
676
- - api/.yarn/install-state.gz
672
+ paths: *a3
677
673
  fallback_keys:
678
674
  - api-node-modules
679
675
  rules:
@@ -1779,13 +1775,13 @@ create release:
1779
1775
  after_script:
1780
1776
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1781
1777
  rules:
1782
- - &a2
1778
+ - &a4
1783
1779
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1784
1780
  when: never
1785
- - &a3
1781
+ - &a5
1786
1782
  if: $CI_PIPELINE_SOURCE == "trigger"
1787
1783
  when: never
1788
- - &a4
1784
+ - &a6
1789
1785
  if: $CI_PIPELINE_SOURCE == "schedule"
1790
1786
  when: never
1791
1787
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1800,9 +1796,9 @@ create release:
1800
1796
  after_script:
1801
1797
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1802
1798
  rules:
1803
- - *a2
1804
- - *a3
1805
1799
  - *a4
1800
+ - *a5
1801
+ - *a6
1806
1802
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1807
1803
  when: manual
1808
1804
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -156,7 +156,7 @@ before_script:
156
156
  - api/.yarn
157
157
  - key: api-node-modules
158
158
  policy: pull-push
159
- paths:
159
+ paths: &a2
160
160
  - api/node_modules
161
161
  - api/.yarn/install-state.gz
162
162
  rules:
@@ -197,9 +197,7 @@ before_script:
197
197
  - api/.yarn
198
198
  - key: api-node-modules
199
199
  policy: pull-push
200
- paths:
201
- - api/node_modules
202
- - api/.yarn/install-state.gz
200
+ paths: *a2
203
201
  rules:
204
202
  - when: never
205
203
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -631,7 +629,7 @@ before_script:
631
629
  - api-yarn
632
630
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
633
631
  policy: pull-push
634
- paths:
632
+ paths: &a3
635
633
  - api/node_modules
636
634
  - api/.yarn/install-state.gz
637
635
  fallback_keys:
@@ -676,9 +674,7 @@ before_script:
676
674
  - api-yarn
677
675
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
678
676
  policy: pull-push
679
- paths:
680
- - api/node_modules
681
- - api/.yarn/install-state.gz
677
+ paths: *a3
682
678
  fallback_keys:
683
679
  - api-node-modules
684
680
  rules:
@@ -1799,13 +1795,13 @@ create release:
1799
1795
  after_script:
1800
1796
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1801
1797
  rules:
1802
- - &a2
1798
+ - &a4
1803
1799
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1804
1800
  when: never
1805
- - &a3
1801
+ - &a5
1806
1802
  if: $CI_PIPELINE_SOURCE == "trigger"
1807
1803
  when: never
1808
- - &a4
1804
+ - &a6
1809
1805
  if: $CI_PIPELINE_SOURCE == "schedule"
1810
1806
  when: never
1811
1807
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1820,9 +1816,9 @@ create release:
1820
1816
  after_script:
1821
1817
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1822
1818
  rules:
1823
- - *a2
1824
- - *a3
1825
1819
  - *a4
1820
+ - *a5
1821
+ - *a6
1826
1822
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1827
1823
  when: manual
1828
1824
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -156,7 +156,7 @@ before_script:
156
156
  - api/.yarn
157
157
  - key: api-node-modules
158
158
  policy: pull-push
159
- paths:
159
+ paths: &a2
160
160
  - api/node_modules
161
161
  - api/.yarn/install-state.gz
162
162
  rules:
@@ -197,9 +197,7 @@ before_script:
197
197
  - api/.yarn
198
198
  - key: api-node-modules
199
199
  policy: pull-push
200
- paths:
201
- - api/node_modules
202
- - api/.yarn/install-state.gz
200
+ paths: *a2
203
201
  rules:
204
202
  - when: never
205
203
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -617,7 +615,7 @@ before_script:
617
615
  - api-yarn
618
616
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
619
617
  policy: pull-push
620
- paths:
618
+ paths: &a3
621
619
  - api/node_modules
622
620
  - api/.yarn/install-state.gz
623
621
  fallback_keys:
@@ -662,9 +660,7 @@ before_script:
662
660
  - api-yarn
663
661
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
664
662
  policy: pull-push
665
- paths:
666
- - api/node_modules
667
- - api/.yarn/install-state.gz
663
+ paths: *a3
668
664
  fallback_keys:
669
665
  - api-node-modules
670
666
  rules:
@@ -1782,7 +1778,7 @@ before_script:
1782
1778
  - www/.yarn
1783
1779
  - key: www-node-modules
1784
1780
  policy: pull-push
1785
- paths:
1781
+ paths: &a4
1786
1782
  - www/node_modules
1787
1783
  - www/.yarn/install-state.gz
1788
1784
  rules:
@@ -1823,9 +1819,7 @@ before_script:
1823
1819
  - www/.yarn
1824
1820
  - key: www-node-modules
1825
1821
  policy: pull-push
1826
- paths:
1827
- - www/node_modules
1828
- - www/.yarn/install-state.gz
1822
+ paths: *a4
1829
1823
  rules:
1830
1824
  - when: never
1831
1825
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -2250,7 +2244,7 @@ before_script:
2250
2244
  - www-yarn
2251
2245
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
2252
2246
  policy: pull-push
2253
- paths:
2247
+ paths: &a5
2254
2248
  - www/node_modules
2255
2249
  - www/.yarn/install-state.gz
2256
2250
  fallback_keys:
@@ -2295,9 +2289,7 @@ before_script:
2295
2289
  - www-yarn
2296
2290
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
2297
2291
  policy: pull-push
2298
- paths:
2299
- - www/node_modules
2300
- - www/.yarn/install-state.gz
2292
+ paths: *a5
2301
2293
  fallback_keys:
2302
2294
  - www-node-modules
2303
2295
  rules:
@@ -3397,13 +3389,13 @@ create release:
3397
3389
  after_script:
3398
3390
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
3399
3391
  rules:
3400
- - &a2
3392
+ - &a6
3401
3393
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
3402
3394
  when: never
3403
- - &a3
3395
+ - &a7
3404
3396
  if: $CI_PIPELINE_SOURCE == "trigger"
3405
3397
  when: never
3406
- - &a4
3398
+ - &a8
3407
3399
  if: $CI_PIPELINE_SOURCE == "schedule"
3408
3400
  when: never
3409
3401
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -3418,9 +3410,9 @@ create release:
3418
3410
  after_script:
3419
3411
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
3420
3412
  rules:
3421
- - *a2
3422
- - *a3
3423
- - *a4
3413
+ - *a6
3414
+ - *a7
3415
+ - *a8
3424
3416
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
3425
3417
  when: manual
3426
3418
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -156,7 +156,7 @@ before_script:
156
156
  - api/.yarn
157
157
  - key: api-node-modules
158
158
  policy: pull-push
159
- paths:
159
+ paths: &a2
160
160
  - api/node_modules
161
161
  - api/.yarn/install-state.gz
162
162
  rules:
@@ -197,9 +197,7 @@ before_script:
197
197
  - api/.yarn
198
198
  - key: api-node-modules
199
199
  policy: pull-push
200
- paths:
201
- - api/node_modules
202
- - api/.yarn/install-state.gz
200
+ paths: *a2
203
201
  rules:
204
202
  - when: never
205
203
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -662,7 +660,7 @@ before_script:
662
660
  - api-yarn
663
661
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
664
662
  policy: pull-push
665
- paths:
663
+ paths: &a3
666
664
  - api/node_modules
667
665
  - api/.yarn/install-state.gz
668
666
  fallback_keys:
@@ -707,9 +705,7 @@ before_script:
707
705
  - api-yarn
708
706
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
709
707
  policy: pull-push
710
- paths:
711
- - api/node_modules
712
- - api/.yarn/install-state.gz
708
+ paths: *a3
713
709
  fallback_keys:
714
710
  - api-node-modules
715
711
  rules:
@@ -1923,13 +1919,13 @@ create release:
1923
1919
  after_script:
1924
1920
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1925
1921
  rules:
1926
- - &a2
1922
+ - &a4
1927
1923
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1928
1924
  when: never
1929
- - &a3
1925
+ - &a5
1930
1926
  if: $CI_PIPELINE_SOURCE == "trigger"
1931
1927
  when: never
1932
- - &a4
1928
+ - &a6
1933
1929
  if: $CI_PIPELINE_SOURCE == "schedule"
1934
1930
  when: never
1935
1931
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1944,9 +1940,9 @@ create release:
1944
1940
  after_script:
1945
1941
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1946
1942
  rules:
1947
- - *a2
1948
- - *a3
1949
1943
  - *a4
1944
+ - *a5
1945
+ - *a6
1950
1946
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1951
1947
  when: manual
1952
1948
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -156,7 +156,7 @@ before_script:
156
156
  - api/.yarn
157
157
  - key: api-node-modules
158
158
  policy: pull-push
159
- paths:
159
+ paths: &a2
160
160
  - api/node_modules
161
161
  - api/.yarn/install-state.gz
162
162
  rules:
@@ -197,9 +197,7 @@ before_script:
197
197
  - api/.yarn
198
198
  - key: api-node-modules
199
199
  policy: pull-push
200
- paths:
201
- - api/node_modules
202
- - api/.yarn/install-state.gz
200
+ paths: *a2
203
201
  rules:
204
202
  - when: never
205
203
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -526,7 +524,7 @@ before_script:
526
524
  - api-yarn
527
525
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
528
526
  policy: pull-push
529
- paths:
527
+ paths: &a3
530
528
  - api/node_modules
531
529
  - api/.yarn/install-state.gz
532
530
  fallback_keys:
@@ -571,9 +569,7 @@ before_script:
571
569
  - api-yarn
572
570
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
573
571
  policy: pull-push
574
- paths:
575
- - api/node_modules
576
- - api/.yarn/install-state.gz
572
+ paths: *a3
577
573
  fallback_keys:
578
574
  - api-node-modules
579
575
  rules:
@@ -1384,13 +1380,13 @@ create release:
1384
1380
  after_script:
1385
1381
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1386
1382
  rules:
1387
- - &a2
1383
+ - &a4
1388
1384
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1389
1385
  when: never
1390
- - &a3
1386
+ - &a5
1391
1387
  if: $CI_PIPELINE_SOURCE == "trigger"
1392
1388
  when: never
1393
- - &a4
1389
+ - &a6
1394
1390
  if: $CI_PIPELINE_SOURCE == "schedule"
1395
1391
  when: never
1396
1392
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1405,9 +1401,9 @@ create release:
1405
1401
  after_script:
1406
1402
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1407
1403
  rules:
1408
- - *a2
1409
- - *a3
1410
1404
  - *a4
1405
+ - *a5
1406
+ - *a6
1411
1407
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1412
1408
  when: manual
1413
1409
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/