@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
  - app/.yarn
157
157
  - key: app-node-modules
158
158
  policy: pull-push
159
- paths:
159
+ paths: &a2
160
160
  - app/node_modules
161
161
  - app/.yarn/install-state.gz
162
162
  rules:
@@ -197,9 +197,7 @@ before_script:
197
197
  - app/.yarn
198
198
  - key: app-node-modules
199
199
  policy: pull-push
200
- paths:
201
- - app/node_modules
202
- - app/.yarn/install-state.gz
200
+ paths: *a2
203
201
  rules:
204
202
  - when: never
205
203
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -638,7 +636,7 @@ before_script:
638
636
  - app-yarn
639
637
  - key: app-node-modules-mr$CI_MERGE_REQUEST_IID
640
638
  policy: pull-push
641
- paths:
639
+ paths: &a3
642
640
  - app/node_modules
643
641
  - app/.yarn/install-state.gz
644
642
  fallback_keys:
@@ -683,9 +681,7 @@ before_script:
683
681
  - app-yarn
684
682
  - key: app-node-modules-mr$CI_MERGE_REQUEST_IID
685
683
  policy: pull-push
686
- paths:
687
- - app/node_modules
688
- - app/.yarn/install-state.gz
684
+ paths: *a3
689
685
  fallback_keys:
690
686
  - app-node-modules
691
687
  rules:
@@ -1848,13 +1844,13 @@ create release:
1848
1844
  after_script:
1849
1845
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1850
1846
  rules:
1851
- - &a2
1847
+ - &a4
1852
1848
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1853
1849
  when: never
1854
- - &a3
1850
+ - &a5
1855
1851
  if: $CI_PIPELINE_SOURCE == "trigger"
1856
1852
  when: never
1857
- - &a4
1853
+ - &a6
1858
1854
  if: $CI_PIPELINE_SOURCE == "schedule"
1859
1855
  when: never
1860
1856
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1869,9 +1865,9 @@ create release:
1869
1865
  after_script:
1870
1866
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1871
1867
  rules:
1872
- - *a2
1873
- - *a3
1874
1868
  - *a4
1869
+ - *a5
1870
+ - *a6
1875
1871
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1876
1872
  when: manual
1877
1873
  - 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"
@@ -337,7 +335,7 @@ before_script:
337
335
  - api-yarn
338
336
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
339
337
  policy: pull-push
340
- paths:
338
+ paths: &a3
341
339
  - api/node_modules
342
340
  - api/.yarn/install-state.gz
343
341
  fallback_keys:
@@ -382,9 +380,7 @@ before_script:
382
380
  - api-yarn
383
381
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
384
382
  policy: pull-push
385
- paths:
386
- - api/node_modules
387
- - api/.yarn/install-state.gz
383
+ paths: *a3
388
384
  fallback_keys:
389
385
  - api-node-modules
390
386
  rules:
@@ -634,13 +630,13 @@ create release:
634
630
  after_script:
635
631
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
636
632
  rules:
637
- - &a2
633
+ - &a4
638
634
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
639
635
  when: never
640
- - &a3
636
+ - &a5
641
637
  if: $CI_PIPELINE_SOURCE == "trigger"
642
638
  when: never
643
- - &a4
639
+ - &a6
644
640
  if: $CI_PIPELINE_SOURCE == "schedule"
645
641
  when: never
646
642
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -655,9 +651,9 @@ create release:
655
651
  after_script:
656
652
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
657
653
  rules:
658
- - *a2
659
- - *a3
660
654
  - *a4
655
+ - *a5
656
+ - *a6
661
657
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
662
658
  when: manual
663
659
  - 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"
@@ -337,7 +335,7 @@ before_script:
337
335
  - api-yarn
338
336
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
339
337
  policy: pull-push
340
- paths:
338
+ paths: &a3
341
339
  - api/node_modules
342
340
  - api/.yarn/install-state.gz
343
341
  fallback_keys:
@@ -382,9 +380,7 @@ before_script:
382
380
  - api-yarn
383
381
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
384
382
  policy: pull-push
385
- paths:
386
- - api/node_modules
387
- - api/.yarn/install-state.gz
383
+ paths: *a3
388
384
  fallback_keys:
389
385
  - api-node-modules
390
386
  rules:
@@ -634,13 +630,13 @@ create release:
634
630
  after_script:
635
631
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
636
632
  rules:
637
- - &a2
633
+ - &a4
638
634
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
639
635
  when: never
640
- - &a3
636
+ - &a5
641
637
  if: $CI_PIPELINE_SOURCE == "trigger"
642
638
  when: never
643
- - &a4
639
+ - &a6
644
640
  if: $CI_PIPELINE_SOURCE == "schedule"
645
641
  when: never
646
642
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -655,9 +651,9 @@ create release:
655
651
  after_script:
656
652
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
657
653
  rules:
658
- - *a2
659
- - *a3
660
654
  - *a4
655
+ - *a5
656
+ - *a6
661
657
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
662
658
  when: manual
663
659
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -156,7 +156,7 @@ before_script:
156
156
  - app1/.yarn
157
157
  - key: app1-node-modules
158
158
  policy: pull-push
159
- paths:
159
+ paths: &a2
160
160
  - app1/node_modules
161
161
  - app1/.yarn/install-state.gz
162
162
  rules:
@@ -197,9 +197,7 @@ before_script:
197
197
  - app1/.yarn
198
198
  - key: app1-node-modules
199
199
  policy: pull-push
200
- paths:
201
- - app1/node_modules
202
- - app1/.yarn/install-state.gz
200
+ paths: *a2
203
201
  rules:
204
202
  - when: never
205
203
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -592,7 +590,7 @@ before_script:
592
590
  - app1-yarn
593
591
  - key: app1-node-modules-mr$CI_MERGE_REQUEST_IID
594
592
  policy: pull-push
595
- paths:
593
+ paths: &a3
596
594
  - app1/node_modules
597
595
  - app1/.yarn/install-state.gz
598
596
  fallback_keys:
@@ -637,9 +635,7 @@ before_script:
637
635
  - app1-yarn
638
636
  - key: app1-node-modules-mr$CI_MERGE_REQUEST_IID
639
637
  policy: pull-push
640
- paths:
641
- - app1/node_modules
642
- - app1/.yarn/install-state.gz
638
+ paths: *a3
643
639
  fallback_keys:
644
640
  - app1-node-modules
645
641
  rules:
@@ -1692,7 +1688,7 @@ before_script:
1692
1688
  - app2/.yarn
1693
1689
  - key: app2-node-modules
1694
1690
  policy: pull-push
1695
- paths:
1691
+ paths: &a4
1696
1692
  - app2/node_modules
1697
1693
  - app2/.yarn/install-state.gz
1698
1694
  rules:
@@ -1733,9 +1729,7 @@ before_script:
1733
1729
  - app2/.yarn
1734
1730
  - key: app2-node-modules
1735
1731
  policy: pull-push
1736
- paths:
1737
- - app2/node_modules
1738
- - app2/.yarn/install-state.gz
1732
+ paths: *a4
1739
1733
  rules:
1740
1734
  - when: never
1741
1735
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -2148,7 +2142,7 @@ before_script:
2148
2142
  - app2-yarn
2149
2143
  - key: app2-node-modules-mr$CI_MERGE_REQUEST_IID
2150
2144
  policy: pull-push
2151
- paths:
2145
+ paths: &a5
2152
2146
  - app2/node_modules
2153
2147
  - app2/.yarn/install-state.gz
2154
2148
  fallback_keys:
@@ -2193,9 +2187,7 @@ before_script:
2193
2187
  - app2-yarn
2194
2188
  - key: app2-node-modules-mr$CI_MERGE_REQUEST_IID
2195
2189
  policy: pull-push
2196
- paths:
2197
- - app2/node_modules
2198
- - app2/.yarn/install-state.gz
2190
+ paths: *a5
2199
2191
  fallback_keys:
2200
2192
  - app2-node-modules
2201
2193
  rules:
@@ -3308,7 +3300,7 @@ before_script:
3308
3300
  - kube/.yarn
3309
3301
  - key: kube-node-modules
3310
3302
  policy: pull-push
3311
- paths:
3303
+ paths: &a6
3312
3304
  - kube/node_modules
3313
3305
  - kube/.yarn/install-state.gz
3314
3306
  rules:
@@ -3349,9 +3341,7 @@ before_script:
3349
3341
  - kube/.yarn
3350
3342
  - key: kube-node-modules
3351
3343
  policy: pull-push
3352
- paths:
3353
- - kube/node_modules
3354
- - kube/.yarn/install-state.gz
3344
+ paths: *a6
3355
3345
  rules:
3356
3346
  - when: never
3357
3347
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -3990,7 +3980,7 @@ before_script:
3990
3980
  - kube-yarn
3991
3981
  - key: kube-node-modules-mr$CI_MERGE_REQUEST_IID
3992
3982
  policy: pull-push
3993
- paths:
3983
+ paths: &a7
3994
3984
  - kube/node_modules
3995
3985
  - kube/.yarn/install-state.gz
3996
3986
  fallback_keys:
@@ -4035,9 +4025,7 @@ before_script:
4035
4025
  - kube-yarn
4036
4026
  - key: kube-node-modules-mr$CI_MERGE_REQUEST_IID
4037
4027
  policy: pull-push
4038
- paths:
4039
- - kube/node_modules
4040
- - kube/.yarn/install-state.gz
4028
+ paths: *a7
4041
4029
  fallback_keys:
4042
4030
  - kube-node-modules
4043
4031
  rules:
@@ -5779,13 +5767,13 @@ create release:
5779
5767
  after_script:
5780
5768
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
5781
5769
  rules:
5782
- - &a2
5770
+ - &a8
5783
5771
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
5784
5772
  when: never
5785
- - &a3
5773
+ - &a9
5786
5774
  if: $CI_PIPELINE_SOURCE == "trigger"
5787
5775
  when: never
5788
- - &a4
5776
+ - &a10
5789
5777
  if: $CI_PIPELINE_SOURCE == "schedule"
5790
5778
  when: never
5791
5779
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -5800,9 +5788,9 @@ create release:
5800
5788
  after_script:
5801
5789
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
5802
5790
  rules:
5803
- - *a2
5804
- - *a3
5805
- - *a4
5791
+ - *a8
5792
+ - *a9
5793
+ - *a10
5806
5794
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
5807
5795
  when: manual
5808
5796
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -160,7 +160,7 @@ before_script:
160
160
  - app/.yarn
161
161
  - key: app-node-modules
162
162
  policy: pull-push
163
- paths:
163
+ paths: &a2
164
164
  - app/node_modules
165
165
  - app/.yarn/install-state.gz
166
166
  rules:
@@ -203,9 +203,7 @@ before_script:
203
203
  - app/.yarn
204
204
  - key: app-node-modules
205
205
  policy: pull-push
206
- paths:
207
- - app/node_modules
208
- - app/.yarn/install-state.gz
206
+ paths: *a2
209
207
  rules:
210
208
  - when: never
211
209
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -434,7 +432,7 @@ before_script:
434
432
  - app-yarn
435
433
  - key: app-node-modules-mr$CI_MERGE_REQUEST_IID
436
434
  policy: pull-push
437
- paths:
435
+ paths: &a3
438
436
  - app/node_modules
439
437
  - app/.yarn/install-state.gz
440
438
  fallback_keys:
@@ -481,9 +479,7 @@ before_script:
481
479
  - app-yarn
482
480
  - key: app-node-modules-mr$CI_MERGE_REQUEST_IID
483
481
  policy: pull-push
484
- paths:
485
- - app/node_modules
486
- - app/.yarn/install-state.gz
482
+ paths: *a3
487
483
  fallback_keys:
488
484
  - app-node-modules
489
485
  rules:
@@ -1026,7 +1022,7 @@ before_script:
1026
1022
  - api/.yarn
1027
1023
  - key: api-node-modules
1028
1024
  policy: pull-push
1029
- paths:
1025
+ paths: &a4
1030
1026
  - api/node_modules
1031
1027
  - api/.yarn/install-state.gz
1032
1028
  rules:
@@ -1067,9 +1063,7 @@ before_script:
1067
1063
  - api/.yarn
1068
1064
  - key: api-node-modules
1069
1065
  policy: pull-push
1070
- paths:
1071
- - api/node_modules
1072
- - api/.yarn/install-state.gz
1066
+ paths: *a4
1073
1067
  rules:
1074
1068
  - when: never
1075
1069
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -1414,7 +1408,7 @@ before_script:
1414
1408
  - api-yarn
1415
1409
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
1416
1410
  policy: pull-push
1417
- paths:
1411
+ paths: &a5
1418
1412
  - api/node_modules
1419
1413
  - api/.yarn/install-state.gz
1420
1414
  fallback_keys:
@@ -1459,9 +1453,7 @@ before_script:
1459
1453
  - api-yarn
1460
1454
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
1461
1455
  policy: pull-push
1462
- paths:
1463
- - api/node_modules
1464
- - api/.yarn/install-state.gz
1456
+ paths: *a5
1465
1457
  fallback_keys:
1466
1458
  - api-node-modules
1467
1459
  rules:
@@ -2326,13 +2318,13 @@ create release:
2326
2318
  after_script:
2327
2319
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
2328
2320
  rules:
2329
- - &a2
2321
+ - &a6
2330
2322
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
2331
2323
  when: never
2332
- - &a3
2324
+ - &a7
2333
2325
  if: $CI_PIPELINE_SOURCE == "trigger"
2334
2326
  when: never
2335
- - &a4
2327
+ - &a8
2336
2328
  if: $CI_PIPELINE_SOURCE == "schedule"
2337
2329
  when: never
2338
2330
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -2347,9 +2339,9 @@ create release:
2347
2339
  after_script:
2348
2340
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
2349
2341
  rules:
2350
- - *a2
2351
- - *a3
2352
- - *a4
2342
+ - *a6
2343
+ - *a7
2344
+ - *a8
2353
2345
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
2354
2346
  when: manual
2355
2347
  - 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"
@@ -544,7 +542,7 @@ before_script:
544
542
  - www-yarn
545
543
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
546
544
  policy: pull-push
547
- paths:
545
+ paths: &a3
548
546
  - www/node_modules
549
547
  - www/.yarn/install-state.gz
550
548
  fallback_keys:
@@ -589,9 +587,7 @@ before_script:
589
587
  - www-yarn
590
588
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
591
589
  policy: pull-push
592
- paths:
593
- - www/node_modules
594
- - www/.yarn/install-state.gz
590
+ paths: *a3
595
591
  fallback_keys:
596
592
  - www-node-modules
597
593
  rules:
@@ -1456,13 +1452,13 @@ create release:
1456
1452
  after_script:
1457
1453
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1458
1454
  rules:
1459
- - &a2
1455
+ - &a4
1460
1456
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1461
1457
  when: never
1462
- - &a3
1458
+ - &a5
1463
1459
  if: $CI_PIPELINE_SOURCE == "trigger"
1464
1460
  when: never
1465
- - &a4
1461
+ - &a6
1466
1462
  if: $CI_PIPELINE_SOURCE == "schedule"
1467
1463
  when: never
1468
1464
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1477,9 +1473,9 @@ create release:
1477
1473
  after_script:
1478
1474
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1479
1475
  rules:
1480
- - *a2
1481
- - *a3
1482
1476
  - *a4
1477
+ - *a5
1478
+ - *a6
1483
1479
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1484
1480
  when: manual
1485
1481
  - 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"
@@ -546,7 +544,7 @@ before_script:
546
544
  - www-yarn
547
545
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
548
546
  policy: pull-push
549
- paths:
547
+ paths: &a3
550
548
  - www/node_modules
551
549
  - www/.yarn/install-state.gz
552
550
  fallback_keys:
@@ -591,9 +589,7 @@ before_script:
591
589
  - www-yarn
592
590
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
593
591
  policy: pull-push
594
- paths:
595
- - www/node_modules
596
- - www/.yarn/install-state.gz
592
+ paths: *a3
597
593
  fallback_keys:
598
594
  - www-node-modules
599
595
  rules:
@@ -1464,13 +1460,13 @@ create release:
1464
1460
  after_script:
1465
1461
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1466
1462
  rules:
1467
- - &a2
1463
+ - &a4
1468
1464
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1469
1465
  when: never
1470
- - &a3
1466
+ - &a5
1471
1467
  if: $CI_PIPELINE_SOURCE == "trigger"
1472
1468
  when: never
1473
- - &a4
1469
+ - &a6
1474
1470
  if: $CI_PIPELINE_SOURCE == "schedule"
1475
1471
  when: never
1476
1472
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1485,9 +1481,9 @@ create release:
1485
1481
  after_script:
1486
1482
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1487
1483
  rules:
1488
- - *a2
1489
- - *a3
1490
1484
  - *a4
1485
+ - *a5
1486
+ - *a6
1491
1487
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1492
1488
  when: manual
1493
1489
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/
@@ -156,7 +156,7 @@ before_script:
156
156
  - app/.yarn
157
157
  - key: app-node-modules
158
158
  policy: pull-push
159
- paths:
159
+ paths: &a2
160
160
  - app/node_modules
161
161
  - app/.yarn/install-state.gz
162
162
  rules:
@@ -197,9 +197,7 @@ before_script:
197
197
  - app/.yarn
198
198
  - key: app-node-modules
199
199
  policy: pull-push
200
- paths:
201
- - app/node_modules
202
- - app/.yarn/install-state.gz
200
+ paths: *a2
203
201
  rules:
204
202
  - when: never
205
203
  if: $CI_PIPELINE_SOURCE == "trigger"
@@ -549,7 +547,7 @@ before_script:
549
547
  - app-yarn
550
548
  - key: app-node-modules-mr$CI_MERGE_REQUEST_IID
551
549
  policy: pull-push
552
- paths:
550
+ paths: &a3
553
551
  - app/node_modules
554
552
  - app/.yarn/install-state.gz
555
553
  fallback_keys:
@@ -594,9 +592,7 @@ before_script:
594
592
  - app-yarn
595
593
  - key: app-node-modules-mr$CI_MERGE_REQUEST_IID
596
594
  policy: pull-push
597
- paths:
598
- - app/node_modules
599
- - app/.yarn/install-state.gz
595
+ paths: *a3
600
596
  fallback_keys:
601
597
  - app-node-modules
602
598
  rules:
@@ -1481,13 +1477,13 @@ create release:
1481
1477
  after_script:
1482
1478
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1483
1479
  rules:
1484
- - &a2
1480
+ - &a4
1485
1481
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1486
1482
  when: never
1487
- - &a3
1483
+ - &a5
1488
1484
  if: $CI_PIPELINE_SOURCE == "trigger"
1489
1485
  when: never
1490
- - &a4
1486
+ - &a6
1491
1487
  if: $CI_PIPELINE_SOURCE == "schedule"
1492
1488
  when: never
1493
1489
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1502,9 +1498,9 @@ create release:
1502
1498
  after_script:
1503
1499
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1504
1500
  rules:
1505
- - *a2
1506
- - *a3
1507
1501
  - *a4
1502
+ - *a5
1503
+ - *a6
1508
1504
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1509
1505
  when: manual
1510
1506
  - if: $CI_COMMIT_BRANCH =~ /^[0-9]+.([0-9]+|x).x$/