@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
  - 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"
@@ -544,7 +542,7 @@ before_script:
544
542
  - api-yarn
545
543
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
546
544
  policy: pull-push
547
- paths:
545
+ paths: &a3
548
546
  - api/node_modules
549
547
  - api/.yarn/install-state.gz
550
548
  fallback_keys:
@@ -589,9 +587,7 @@ before_script:
589
587
  - api-yarn
590
588
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
591
589
  policy: pull-push
592
- paths:
593
- - api/node_modules
594
- - api/.yarn/install-state.gz
590
+ paths: *a3
595
591
  fallback_keys:
596
592
  - api-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
  - 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"
@@ -544,7 +542,7 @@ before_script:
544
542
  - api-yarn
545
543
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
546
544
  policy: pull-push
547
- paths:
545
+ paths: &a3
548
546
  - api/node_modules
549
547
  - api/.yarn/install-state.gz
550
548
  fallback_keys:
@@ -589,9 +587,7 @@ before_script:
589
587
  - api-yarn
590
588
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
591
589
  policy: pull-push
592
- paths:
593
- - api/node_modules
594
- - api/.yarn/install-state.gz
590
+ paths: *a3
595
591
  fallback_keys:
596
592
  - api-node-modules
597
593
  rules:
@@ -1474,13 +1470,13 @@ create release:
1474
1470
  after_script:
1475
1471
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1476
1472
  rules:
1477
- - &a2
1473
+ - &a4
1478
1474
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1479
1475
  when: never
1480
- - &a3
1476
+ - &a5
1481
1477
  if: $CI_PIPELINE_SOURCE == "trigger"
1482
1478
  when: never
1483
- - &a4
1479
+ - &a6
1484
1480
  if: $CI_PIPELINE_SOURCE == "schedule"
1485
1481
  when: never
1486
1482
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1495,9 +1491,9 @@ create release:
1495
1491
  after_script:
1496
1492
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1497
1493
  rules:
1498
- - *a2
1499
- - *a3
1500
1494
  - *a4
1495
+ - *a5
1496
+ - *a6
1501
1497
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1502
1498
  when: manual
1503
1499
  - 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"
@@ -561,7 +559,7 @@ before_script:
561
559
  - api-yarn
562
560
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
563
561
  policy: pull-push
564
- paths:
562
+ paths: &a3
565
563
  - api/node_modules
566
564
  - api/.yarn/install-state.gz
567
565
  fallback_keys:
@@ -606,9 +604,7 @@ before_script:
606
604
  - api-yarn
607
605
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
608
606
  policy: pull-push
609
- paths:
610
- - api/node_modules
611
- - api/.yarn/install-state.gz
607
+ paths: *a3
612
608
  fallback_keys:
613
609
  - api-node-modules
614
610
  rules:
@@ -1524,13 +1520,13 @@ create release:
1524
1520
  after_script:
1525
1521
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1526
1522
  rules:
1527
- - &a2
1523
+ - &a4
1528
1524
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1529
1525
  when: never
1530
- - &a3
1526
+ - &a5
1531
1527
  if: $CI_PIPELINE_SOURCE == "trigger"
1532
1528
  when: never
1533
- - &a4
1529
+ - &a6
1534
1530
  if: $CI_PIPELINE_SOURCE == "schedule"
1535
1531
  when: never
1536
1532
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1545,9 +1541,9 @@ create release:
1545
1541
  after_script:
1546
1542
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1547
1543
  rules:
1548
- - *a2
1549
- - *a3
1550
1544
  - *a4
1545
+ - *a5
1546
+ - *a6
1551
1547
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1552
1548
  when: manual
1553
1549
  - 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"
@@ -561,7 +559,7 @@ before_script:
561
559
  - api-yarn
562
560
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
563
561
  policy: pull-push
564
- paths:
562
+ paths: &a3
565
563
  - api/node_modules
566
564
  - api/.yarn/install-state.gz
567
565
  fallback_keys:
@@ -606,9 +604,7 @@ before_script:
606
604
  - api-yarn
607
605
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
608
606
  policy: pull-push
609
- paths:
610
- - api/node_modules
611
- - api/.yarn/install-state.gz
607
+ paths: *a3
612
608
  fallback_keys:
613
609
  - api-node-modules
614
610
  rules:
@@ -1524,13 +1520,13 @@ create release:
1524
1520
  after_script:
1525
1521
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1526
1522
  rules:
1527
- - &a2
1523
+ - &a4
1528
1524
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1529
1525
  when: never
1530
- - &a3
1526
+ - &a5
1531
1527
  if: $CI_PIPELINE_SOURCE == "trigger"
1532
1528
  when: never
1533
- - &a4
1529
+ - &a6
1534
1530
  if: $CI_PIPELINE_SOURCE == "schedule"
1535
1531
  when: never
1536
1532
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1545,9 +1541,9 @@ create release:
1545
1541
  after_script:
1546
1542
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1547
1543
  rules:
1548
- - *a2
1549
- - *a3
1550
1544
  - *a4
1545
+ - *a5
1546
+ - *a6
1551
1547
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1552
1548
  when: manual
1553
1549
  - 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"
@@ -544,7 +542,7 @@ before_script:
544
542
  - api-yarn
545
543
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
546
544
  policy: pull-push
547
- paths:
545
+ paths: &a3
548
546
  - api/node_modules
549
547
  - api/.yarn/install-state.gz
550
548
  fallback_keys:
@@ -589,9 +587,7 @@ before_script:
589
587
  - api-yarn
590
588
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
591
589
  policy: pull-push
592
- paths:
593
- - api/node_modules
594
- - api/.yarn/install-state.gz
590
+ paths: *a3
595
591
  fallback_keys:
596
592
  - api-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
  - 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"
@@ -544,7 +542,7 @@ before_script:
544
542
  - api-yarn
545
543
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
546
544
  policy: pull-push
547
- paths:
545
+ paths: &a3
548
546
  - api/node_modules
549
547
  - api/.yarn/install-state.gz
550
548
  fallback_keys:
@@ -589,9 +587,7 @@ before_script:
589
587
  - api-yarn
590
588
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
591
589
  policy: pull-push
592
- paths:
593
- - api/node_modules
594
- - api/.yarn/install-state.gz
590
+ paths: *a3
595
591
  fallback_keys:
596
592
  - api-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
  - 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"
@@ -562,7 +560,7 @@ before_script:
562
560
  - api-yarn
563
561
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
564
562
  policy: pull-push
565
- paths:
563
+ paths: &a3
566
564
  - api/node_modules
567
565
  - api/.yarn/install-state.gz
568
566
  fallback_keys:
@@ -607,9 +605,7 @@ before_script:
607
605
  - api-yarn
608
606
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
609
607
  policy: pull-push
610
- paths:
611
- - api/node_modules
612
- - api/.yarn/install-state.gz
608
+ paths: *a3
613
609
  fallback_keys:
614
610
  - api-node-modules
615
611
  rules:
@@ -1528,13 +1524,13 @@ create release:
1528
1524
  after_script:
1529
1525
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1530
1526
  rules:
1531
- - &a2
1527
+ - &a4
1532
1528
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1533
1529
  when: never
1534
- - &a3
1530
+ - &a5
1535
1531
  if: $CI_PIPELINE_SOURCE == "trigger"
1536
1532
  when: never
1537
- - &a4
1533
+ - &a6
1538
1534
  if: $CI_PIPELINE_SOURCE == "schedule"
1539
1535
  when: never
1540
1536
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1549,9 +1545,9 @@ create release:
1549
1545
  after_script:
1550
1546
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1551
1547
  rules:
1552
- - *a2
1553
- - *a3
1554
1548
  - *a4
1549
+ - *a5
1550
+ - *a6
1555
1551
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1556
1552
  when: manual
1557
1553
  - 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"
@@ -544,7 +542,7 @@ before_script:
544
542
  - api-yarn
545
543
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
546
544
  policy: pull-push
547
- paths:
545
+ paths: &a3
548
546
  - api/node_modules
549
547
  - api/.yarn/install-state.gz
550
548
  fallback_keys:
@@ -589,9 +587,7 @@ before_script:
589
587
  - api-yarn
590
588
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
591
589
  policy: pull-push
592
- paths:
593
- - api/node_modules
594
- - api/.yarn/install-state.gz
590
+ paths: *a3
595
591
  fallback_keys:
596
592
  - api-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"
@@ -548,7 +546,7 @@ before_script:
548
546
  - www-yarn
549
547
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
550
548
  policy: pull-push
551
- paths:
549
+ paths: &a3
552
550
  - www/node_modules
553
551
  - www/.yarn/install-state.gz
554
552
  fallback_keys:
@@ -593,9 +591,7 @@ before_script:
593
591
  - www-yarn
594
592
  - key: www-node-modules-mr$CI_MERGE_REQUEST_IID
595
593
  policy: pull-push
596
- paths:
597
- - www/node_modules
598
- - www/.yarn/install-state.gz
594
+ paths: *a3
599
595
  fallback_keys:
600
596
  - www-node-modules
601
597
  rules:
@@ -1549,13 +1545,13 @@ create release:
1549
1545
  after_script:
1550
1546
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1551
1547
  rules:
1552
- - &a2
1548
+ - &a4
1553
1549
  if: $CI_COMMIT_MESSAGE =~ /^chore\\(release\\).*/
1554
1550
  when: never
1555
- - &a3
1551
+ - &a5
1556
1552
  if: $CI_PIPELINE_SOURCE == "trigger"
1557
1553
  when: never
1558
- - &a4
1554
+ - &a6
1559
1555
  if: $CI_PIPELINE_SOURCE == "schedule"
1560
1556
  when: never
1561
1557
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -1570,9 +1566,9 @@ create release:
1570
1566
  after_script:
1571
1567
  - echo '👉 If this job failed with access denied, the project access token might be invald - run \`project-renew-token\` in catladder CLI to fix.'
1572
1568
  rules:
1573
- - *a2
1574
- - *a3
1575
1569
  - *a4
1570
+ - *a5
1571
+ - *a6
1576
1572
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1577
1573
  when: manual
1578
1574
  - 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"
@@ -544,7 +542,7 @@ before_script:
544
542
  - api-yarn
545
543
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
546
544
  policy: pull-push
547
- paths:
545
+ paths: &a3
548
546
  - api/node_modules
549
547
  - api/.yarn/install-state.gz
550
548
  fallback_keys:
@@ -589,9 +587,7 @@ before_script:
589
587
  - api-yarn
590
588
  - key: api-node-modules-mr$CI_MERGE_REQUEST_IID
591
589
  policy: pull-push
592
- paths:
593
- - api/node_modules
594
- - api/.yarn/install-state.gz
590
+ paths: *a3
595
591
  fallback_keys:
596
592
  - api-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$/