@catladder/pipeline 3.26.0 → 3.28.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 (57) hide show
  1. package/dist/build/node/yarn.d.ts +2 -1
  2. package/dist/build/node/yarn.js +7 -3
  3. package/dist/build/types.d.ts +6 -0
  4. package/dist/constants.js +1 -1
  5. package/dist/deploy/types/googleCloudRun.d.ts +1 -1
  6. package/dist/tsconfig.tsbuildinfo +1 -1
  7. package/examples/__snapshots__/automatic-releases.test.ts.snap +24 -16
  8. package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +24 -16
  9. package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +24 -16
  10. package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +24 -16
  11. package/examples/__snapshots__/cloud-run-http2.test.ts.snap +24 -16
  12. package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +24 -16
  13. package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +8 -8
  14. package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +24 -16
  15. package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +24 -16
  16. package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +24 -16
  17. package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +24 -16
  18. package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +24 -16
  19. package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +24 -16
  20. package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +24 -16
  21. package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +24 -16
  22. package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +24 -16
  23. package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +24 -16
  24. package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +20 -12
  25. package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +24 -16
  26. package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +24 -16
  27. package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +24 -16
  28. package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +24 -16
  29. package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +72 -48
  30. package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +48 -32
  31. package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +24 -16
  32. package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +24 -16
  33. package/examples/__snapshots__/custom-deploy.test.ts.snap +24 -16
  34. package/examples/__snapshots__/custom-envs.test.ts.snap +14 -14
  35. package/examples/__snapshots__/custom-verify-job.test.ts.snap +24 -16
  36. package/examples/__snapshots__/git-submodule.test.ts.snap +24 -16
  37. package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +24 -16
  38. package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +24 -16
  39. package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +48 -32
  40. package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +24 -16
  41. package/examples/__snapshots__/local-dot-env.test.ts.snap +24 -16
  42. package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +8 -8
  43. package/examples/__snapshots__/modify-generated-files.test.ts.snap +8 -8
  44. package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +8 -8
  45. package/examples/__snapshots__/multiline-var.test.ts.snap +72 -48
  46. package/examples/__snapshots__/native-app.test.ts.snap +32 -24
  47. package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +24 -16
  48. package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +24 -16
  49. package/examples/__snapshots__/override-secrets.test.ts.snap +24 -16
  50. package/examples/__snapshots__/referencing-other-vars.test.ts.snap +72 -48
  51. package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +16 -16
  52. package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +40 -24
  53. package/examples/__snapshots__/workspace-api-www.test.ts.snap +40 -24
  54. package/package.json +1 -1
  55. package/src/build/node/yarn.ts +18 -5
  56. package/src/build/types.ts +6 -0
  57. package/src/deploy/types/googleCloudRun.ts +1 -1
@@ -149,7 +149,7 @@ before_script:
149
149
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
150
150
  - collapseable_section_end "nodeinstall"
151
151
  - collapseable_section_start "yarninstall" "Yarn install"
152
- - yarn install --immutable
152
+ - yarn install --immutable --inline-builds
153
153
  - collapseable_section_end "yarninstall"
154
154
  - yarn lint
155
155
  cache:
@@ -189,7 +189,7 @@ before_script:
189
189
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
190
190
  - collapseable_section_end "nodeinstall"
191
191
  - collapseable_section_start "yarninstall" "Yarn install"
192
- - yarn install --immutable
192
+ - yarn install --immutable --inline-builds
193
193
  - collapseable_section_end "yarninstall"
194
194
  - yarn test
195
195
  cache:
@@ -261,7 +261,7 @@ before_script:
261
261
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
262
262
  - collapseable_section_end "nodeinstall"
263
263
  - collapseable_section_start "yarninstall" "Yarn install"
264
- - yarn install --immutable
264
+ - yarn install --immutable --inline-builds
265
265
  - collapseable_section_end "yarninstall"
266
266
  - yarn build
267
267
  cache:
@@ -316,9 +316,11 @@ before_script:
316
316
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
317
317
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
318
318
  - |-
319
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
319
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
320
+ COPY --chown=node:node $APP_DIR .
320
321
  RUN yarn plugin import workspace-tools
321
- RUN yarn workspaces focus --production && yarn rebuild"
322
+ RUN yarn workspaces focus --production
323
+ RUN yarn rebuild"
322
324
  - |-
323
325
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
324
326
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
@@ -560,7 +562,7 @@ before_script:
560
562
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
561
563
  - collapseable_section_end "nodeinstall"
562
564
  - collapseable_section_start "yarninstall" "Yarn install"
563
- - yarn install --immutable
565
+ - yarn install --immutable --inline-builds
564
566
  - collapseable_section_end "yarninstall"
565
567
  - yarn lint
566
568
  cache:
@@ -604,7 +606,7 @@ before_script:
604
606
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
605
607
  - collapseable_section_end "nodeinstall"
606
608
  - collapseable_section_start "yarninstall" "Yarn install"
607
- - yarn install --immutable
609
+ - yarn install --immutable --inline-builds
608
610
  - collapseable_section_end "yarninstall"
609
611
  - yarn test
610
612
  cache:
@@ -680,7 +682,7 @@ before_script:
680
682
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
681
683
  - collapseable_section_end "nodeinstall"
682
684
  - collapseable_section_start "yarninstall" "Yarn install"
683
- - yarn install --immutable
685
+ - yarn install --immutable --inline-builds
684
686
  - collapseable_section_end "yarninstall"
685
687
  - yarn build
686
688
  cache:
@@ -739,9 +741,11 @@ before_script:
739
741
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
740
742
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
741
743
  - |-
742
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
744
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
745
+ COPY --chown=node:node $APP_DIR .
743
746
  RUN yarn plugin import workspace-tools
744
- RUN yarn workspaces focus --production && yarn rebuild"
747
+ RUN yarn workspaces focus --production
748
+ RUN yarn rebuild"
745
749
  - |-
746
750
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
747
751
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
@@ -1002,7 +1006,7 @@ before_script:
1002
1006
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1003
1007
  - collapseable_section_end "nodeinstall"
1004
1008
  - collapseable_section_start "yarninstall" "Yarn install"
1005
- - yarn install --immutable
1009
+ - yarn install --immutable --inline-builds
1006
1010
  - collapseable_section_end "yarninstall"
1007
1011
  - yarn build
1008
1012
  cache:
@@ -1057,9 +1061,11 @@ before_script:
1057
1061
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
1058
1062
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1059
1063
  - |-
1060
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1064
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1065
+ COPY --chown=node:node $APP_DIR .
1061
1066
  RUN yarn plugin import workspace-tools
1062
- RUN yarn workspaces focus --production && yarn rebuild"
1067
+ RUN yarn workspaces focus --production
1068
+ RUN yarn rebuild"
1063
1069
  - |-
1064
1070
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
1065
1071
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
@@ -1305,7 +1311,7 @@ before_script:
1305
1311
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1306
1312
  - collapseable_section_end "nodeinstall"
1307
1313
  - collapseable_section_start "yarninstall" "Yarn install"
1308
- - yarn install --immutable
1314
+ - yarn install --immutable --inline-builds
1309
1315
  - collapseable_section_end "yarninstall"
1310
1316
  - yarn build
1311
1317
  cache:
@@ -1360,9 +1366,11 @@ before_script:
1360
1366
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
1361
1367
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1362
1368
  - |-
1363
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1369
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1370
+ COPY --chown=node:node $APP_DIR .
1364
1371
  RUN yarn plugin import workspace-tools
1365
- RUN yarn workspaces focus --production && yarn rebuild"
1372
+ RUN yarn workspaces focus --production
1373
+ RUN yarn rebuild"
1366
1374
  - |-
1367
1375
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
1368
1376
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
@@ -149,7 +149,7 @@ before_script:
149
149
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
150
150
  - collapseable_section_end "nodeinstall"
151
151
  - collapseable_section_start "yarninstall" "Yarn install"
152
- - yarn install --immutable
152
+ - yarn install --immutable --inline-builds
153
153
  - collapseable_section_end "yarninstall"
154
154
  - yarn lint
155
155
  cache:
@@ -189,7 +189,7 @@ before_script:
189
189
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
190
190
  - collapseable_section_end "nodeinstall"
191
191
  - collapseable_section_start "yarninstall" "Yarn install"
192
- - yarn install --immutable
192
+ - yarn install --immutable --inline-builds
193
193
  - collapseable_section_end "yarninstall"
194
194
  - yarn test
195
195
  cache:
@@ -277,7 +277,7 @@ before_script:
277
277
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
278
278
  - collapseable_section_end "nodeinstall"
279
279
  - collapseable_section_start "yarninstall" "Yarn install"
280
- - yarn install --immutable
280
+ - yarn install --immutable --inline-builds
281
281
  - collapseable_section_end "yarninstall"
282
282
  - yarn build
283
283
  cache:
@@ -332,9 +332,11 @@ before_script:
332
332
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
333
333
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
334
334
  - |-
335
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
335
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
336
+ COPY --chown=node:node $APP_DIR .
336
337
  RUN yarn plugin import workspace-tools
337
- RUN yarn workspaces focus --production && yarn rebuild"
338
+ RUN yarn workspaces focus --production
339
+ RUN yarn rebuild"
338
340
  - |-
339
341
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
340
342
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -638,7 +640,7 @@ before_script:
638
640
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
639
641
  - collapseable_section_end "nodeinstall"
640
642
  - collapseable_section_start "yarninstall" "Yarn install"
641
- - yarn install --immutable
643
+ - yarn install --immutable --inline-builds
642
644
  - collapseable_section_end "yarninstall"
643
645
  - yarn lint
644
646
  cache:
@@ -682,7 +684,7 @@ before_script:
682
684
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
683
685
  - collapseable_section_end "nodeinstall"
684
686
  - collapseable_section_start "yarninstall" "Yarn install"
685
- - yarn install --immutable
687
+ - yarn install --immutable --inline-builds
686
688
  - collapseable_section_end "yarninstall"
687
689
  - yarn test
688
690
  cache:
@@ -774,7 +776,7 @@ before_script:
774
776
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
775
777
  - collapseable_section_end "nodeinstall"
776
778
  - collapseable_section_start "yarninstall" "Yarn install"
777
- - yarn install --immutable
779
+ - yarn install --immutable --inline-builds
778
780
  - collapseable_section_end "yarninstall"
779
781
  - yarn build
780
782
  cache:
@@ -833,9 +835,11 @@ before_script:
833
835
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
834
836
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
835
837
  - |-
836
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
838
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
839
+ COPY --chown=node:node $APP_DIR .
837
840
  RUN yarn plugin import workspace-tools
838
- RUN yarn workspaces focus --production && yarn rebuild"
841
+ RUN yarn workspaces focus --production
842
+ RUN yarn rebuild"
839
843
  - |-
840
844
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
841
845
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -1177,7 +1181,7 @@ before_script:
1177
1181
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1178
1182
  - collapseable_section_end "nodeinstall"
1179
1183
  - collapseable_section_start "yarninstall" "Yarn install"
1180
- - yarn install --immutable
1184
+ - yarn install --immutable --inline-builds
1181
1185
  - collapseable_section_end "yarninstall"
1182
1186
  - yarn build
1183
1187
  cache:
@@ -1232,9 +1236,11 @@ before_script:
1232
1236
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
1233
1237
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1234
1238
  - |-
1235
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1239
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1240
+ COPY --chown=node:node $APP_DIR .
1236
1241
  RUN yarn plugin import workspace-tools
1237
- RUN yarn workspaces focus --production && yarn rebuild"
1242
+ RUN yarn workspaces focus --production
1243
+ RUN yarn rebuild"
1238
1244
  - |-
1239
1245
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
1240
1246
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -1558,7 +1564,7 @@ before_script:
1558
1564
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1559
1565
  - collapseable_section_end "nodeinstall"
1560
1566
  - collapseable_section_start "yarninstall" "Yarn install"
1561
- - yarn install --immutable
1567
+ - yarn install --immutable --inline-builds
1562
1568
  - collapseable_section_end "yarninstall"
1563
1569
  - yarn build
1564
1570
  cache:
@@ -1613,9 +1619,11 @@ before_script:
1613
1619
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
1614
1620
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1615
1621
  - |-
1616
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1622
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1623
+ COPY --chown=node:node $APP_DIR .
1617
1624
  RUN yarn plugin import workspace-tools
1618
- RUN yarn workspaces focus --production && yarn rebuild"
1625
+ RUN yarn workspaces focus --production
1626
+ RUN yarn rebuild"
1619
1627
  - |-
1620
1628
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
1621
1629
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -149,7 +149,7 @@ before_script:
149
149
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
150
150
  - collapseable_section_end "nodeinstall"
151
151
  - collapseable_section_start "yarninstall" "Yarn install"
152
- - yarn install --immutable
152
+ - yarn install --immutable --inline-builds
153
153
  - collapseable_section_end "yarninstall"
154
154
  - yarn lint
155
155
  cache:
@@ -189,7 +189,7 @@ before_script:
189
189
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
190
190
  - collapseable_section_end "nodeinstall"
191
191
  - collapseable_section_start "yarninstall" "Yarn install"
192
- - yarn install --immutable
192
+ - yarn install --immutable --inline-builds
193
193
  - collapseable_section_end "yarninstall"
194
194
  - yarn test
195
195
  cache:
@@ -275,7 +275,7 @@ before_script:
275
275
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
276
276
  - collapseable_section_end "nodeinstall"
277
277
  - collapseable_section_start "yarninstall" "Yarn install"
278
- - yarn install --immutable
278
+ - yarn install --immutable --inline-builds
279
279
  - collapseable_section_end "yarninstall"
280
280
  - yarn build
281
281
  cache:
@@ -330,9 +330,11 @@ before_script:
330
330
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/db1"
331
331
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
332
332
  - |-
333
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
333
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
334
+ COPY --chown=node:node $APP_DIR .
334
335
  RUN yarn plugin import workspace-tools
335
- RUN yarn workspaces focus --production && yarn rebuild"
336
+ RUN yarn workspaces focus --production
337
+ RUN yarn rebuild"
336
338
  - |-
337
339
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node packages/db1/package.json /app/packages/db1/package.json
338
340
  COPY --chown=node:node packages/db1/yarn.lock /app/packages/db1/yarn.lock
@@ -610,7 +612,7 @@ before_script:
610
612
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
611
613
  - collapseable_section_end "nodeinstall"
612
614
  - collapseable_section_start "yarninstall" "Yarn install"
613
- - yarn install --immutable
615
+ - yarn install --immutable --inline-builds
614
616
  - collapseable_section_end "yarninstall"
615
617
  - yarn lint
616
618
  cache:
@@ -654,7 +656,7 @@ before_script:
654
656
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
655
657
  - collapseable_section_end "nodeinstall"
656
658
  - collapseable_section_start "yarninstall" "Yarn install"
657
- - yarn install --immutable
659
+ - yarn install --immutable --inline-builds
658
660
  - collapseable_section_end "yarninstall"
659
661
  - yarn test
660
662
  cache:
@@ -744,7 +746,7 @@ before_script:
744
746
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
745
747
  - collapseable_section_end "nodeinstall"
746
748
  - collapseable_section_start "yarninstall" "Yarn install"
747
- - yarn install --immutable
749
+ - yarn install --immutable --inline-builds
748
750
  - collapseable_section_end "yarninstall"
749
751
  - yarn build
750
752
  cache:
@@ -803,9 +805,11 @@ before_script:
803
805
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/db1"
804
806
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
805
807
  - |-
806
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
808
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
809
+ COPY --chown=node:node $APP_DIR .
807
810
  RUN yarn plugin import workspace-tools
808
- RUN yarn workspaces focus --production && yarn rebuild"
811
+ RUN yarn workspaces focus --production
812
+ RUN yarn rebuild"
809
813
  - |-
810
814
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node packages/db1/package.json /app/packages/db1/package.json
811
815
  COPY --chown=node:node packages/db1/yarn.lock /app/packages/db1/yarn.lock
@@ -1119,7 +1123,7 @@ before_script:
1119
1123
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1120
1124
  - collapseable_section_end "nodeinstall"
1121
1125
  - collapseable_section_start "yarninstall" "Yarn install"
1122
- - yarn install --immutable
1126
+ - yarn install --immutable --inline-builds
1123
1127
  - collapseable_section_end "yarninstall"
1124
1128
  - yarn build
1125
1129
  cache:
@@ -1174,9 +1178,11 @@ before_script:
1174
1178
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/db1"
1175
1179
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1176
1180
  - |-
1177
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1181
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1182
+ COPY --chown=node:node $APP_DIR .
1178
1183
  RUN yarn plugin import workspace-tools
1179
- RUN yarn workspaces focus --production && yarn rebuild"
1184
+ RUN yarn workspaces focus --production
1185
+ RUN yarn rebuild"
1180
1186
  - |-
1181
1187
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node packages/db1/package.json /app/packages/db1/package.json
1182
1188
  COPY --chown=node:node packages/db1/yarn.lock /app/packages/db1/yarn.lock
@@ -1472,7 +1478,7 @@ before_script:
1472
1478
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1473
1479
  - collapseable_section_end "nodeinstall"
1474
1480
  - collapseable_section_start "yarninstall" "Yarn install"
1475
- - yarn install --immutable
1481
+ - yarn install --immutable --inline-builds
1476
1482
  - collapseable_section_end "yarninstall"
1477
1483
  - yarn build
1478
1484
  cache:
@@ -1527,9 +1533,11 @@ before_script:
1527
1533
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/db1"
1528
1534
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1529
1535
  - |-
1530
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1536
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1537
+ COPY --chown=node:node $APP_DIR .
1531
1538
  RUN yarn plugin import workspace-tools
1532
- RUN yarn workspaces focus --production && yarn rebuild"
1539
+ RUN yarn workspaces focus --production
1540
+ RUN yarn rebuild"
1533
1541
  - |-
1534
1542
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node packages/db1/package.json /app/packages/db1/package.json
1535
1543
  COPY --chown=node:node packages/db1/yarn.lock /app/packages/db1/yarn.lock
@@ -1800,7 +1808,7 @@ before_script:
1800
1808
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1801
1809
  - collapseable_section_end "nodeinstall"
1802
1810
  - collapseable_section_start "yarninstall" "Yarn install"
1803
- - yarn install --immutable
1811
+ - yarn install --immutable --inline-builds
1804
1812
  - collapseable_section_end "yarninstall"
1805
1813
  - yarn lint
1806
1814
  cache:
@@ -1840,7 +1848,7 @@ before_script:
1840
1848
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1841
1849
  - collapseable_section_end "nodeinstall"
1842
1850
  - collapseable_section_start "yarninstall" "Yarn install"
1843
- - yarn install --immutable
1851
+ - yarn install --immutable --inline-builds
1844
1852
  - collapseable_section_end "yarninstall"
1845
1853
  - yarn test
1846
1854
  cache:
@@ -1926,7 +1934,7 @@ before_script:
1926
1934
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1927
1935
  - collapseable_section_end "nodeinstall"
1928
1936
  - collapseable_section_start "yarninstall" "Yarn install"
1929
- - yarn install --immutable
1937
+ - yarn install --immutable --inline-builds
1930
1938
  - collapseable_section_end "yarninstall"
1931
1939
  - yarn build
1932
1940
  cache:
@@ -1981,9 +1989,11 @@ before_script:
1981
1989
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/db2"
1982
1990
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1983
1991
  - |-
1984
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1992
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1993
+ COPY --chown=node:node $APP_DIR .
1985
1994
  RUN yarn plugin import workspace-tools
1986
- RUN yarn workspaces focus --production && yarn rebuild"
1995
+ RUN yarn workspaces focus --production
1996
+ RUN yarn rebuild"
1987
1997
  - |-
1988
1998
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node packages/db2/package.json /app/packages/db2/package.json
1989
1999
  COPY --chown=node:node packages/db2/yarn.lock /app/packages/db2/yarn.lock
@@ -2261,7 +2271,7 @@ before_script:
2261
2271
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
2262
2272
  - collapseable_section_end "nodeinstall"
2263
2273
  - collapseable_section_start "yarninstall" "Yarn install"
2264
- - yarn install --immutable
2274
+ - yarn install --immutable --inline-builds
2265
2275
  - collapseable_section_end "yarninstall"
2266
2276
  - yarn lint
2267
2277
  cache:
@@ -2305,7 +2315,7 @@ before_script:
2305
2315
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
2306
2316
  - collapseable_section_end "nodeinstall"
2307
2317
  - collapseable_section_start "yarninstall" "Yarn install"
2308
- - yarn install --immutable
2318
+ - yarn install --immutable --inline-builds
2309
2319
  - collapseable_section_end "yarninstall"
2310
2320
  - yarn test
2311
2321
  cache:
@@ -2395,7 +2405,7 @@ before_script:
2395
2405
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
2396
2406
  - collapseable_section_end "nodeinstall"
2397
2407
  - collapseable_section_start "yarninstall" "Yarn install"
2398
- - yarn install --immutable
2408
+ - yarn install --immutable --inline-builds
2399
2409
  - collapseable_section_end "yarninstall"
2400
2410
  - yarn build
2401
2411
  cache:
@@ -2454,9 +2464,11 @@ before_script:
2454
2464
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/db2"
2455
2465
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
2456
2466
  - |-
2457
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
2467
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
2468
+ COPY --chown=node:node $APP_DIR .
2458
2469
  RUN yarn plugin import workspace-tools
2459
- RUN yarn workspaces focus --production && yarn rebuild"
2470
+ RUN yarn workspaces focus --production
2471
+ RUN yarn rebuild"
2460
2472
  - |-
2461
2473
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node packages/db2/package.json /app/packages/db2/package.json
2462
2474
  COPY --chown=node:node packages/db2/yarn.lock /app/packages/db2/yarn.lock
@@ -2770,7 +2782,7 @@ before_script:
2770
2782
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
2771
2783
  - collapseable_section_end "nodeinstall"
2772
2784
  - collapseable_section_start "yarninstall" "Yarn install"
2773
- - yarn install --immutable
2785
+ - yarn install --immutable --inline-builds
2774
2786
  - collapseable_section_end "yarninstall"
2775
2787
  - yarn build
2776
2788
  cache:
@@ -2825,9 +2837,11 @@ before_script:
2825
2837
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/db2"
2826
2838
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
2827
2839
  - |-
2828
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
2840
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
2841
+ COPY --chown=node:node $APP_DIR .
2829
2842
  RUN yarn plugin import workspace-tools
2830
- RUN yarn workspaces focus --production && yarn rebuild"
2843
+ RUN yarn workspaces focus --production
2844
+ RUN yarn rebuild"
2831
2845
  - |-
2832
2846
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node packages/db2/package.json /app/packages/db2/package.json
2833
2847
  COPY --chown=node:node packages/db2/yarn.lock /app/packages/db2/yarn.lock
@@ -3123,7 +3137,7 @@ before_script:
3123
3137
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
3124
3138
  - collapseable_section_end "nodeinstall"
3125
3139
  - collapseable_section_start "yarninstall" "Yarn install"
3126
- - yarn install --immutable
3140
+ - yarn install --immutable --inline-builds
3127
3141
  - collapseable_section_end "yarninstall"
3128
3142
  - yarn build
3129
3143
  cache:
@@ -3178,9 +3192,11 @@ before_script:
3178
3192
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/db2"
3179
3193
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
3180
3194
  - |-
3181
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
3195
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
3196
+ COPY --chown=node:node $APP_DIR .
3182
3197
  RUN yarn plugin import workspace-tools
3183
- RUN yarn workspaces focus --production && yarn rebuild"
3198
+ RUN yarn workspaces focus --production
3199
+ RUN yarn rebuild"
3184
3200
  - |-
3185
3201
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node packages/db2/package.json /app/packages/db2/package.json
3186
3202
  COPY --chown=node:node packages/db2/yarn.lock /app/packages/db2/yarn.lock
@@ -3451,7 +3467,7 @@ before_script:
3451
3467
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
3452
3468
  - collapseable_section_end "nodeinstall"
3453
3469
  - collapseable_section_start "yarninstall" "Yarn install"
3454
- - yarn install --immutable
3470
+ - yarn install --immutable --inline-builds
3455
3471
  - collapseable_section_end "yarninstall"
3456
3472
  - yarn lint
3457
3473
  cache:
@@ -3491,7 +3507,7 @@ before_script:
3491
3507
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
3492
3508
  - collapseable_section_end "nodeinstall"
3493
3509
  - collapseable_section_start "yarninstall" "Yarn install"
3494
- - yarn install --immutable
3510
+ - yarn install --immutable --inline-builds
3495
3511
  - collapseable_section_end "yarninstall"
3496
3512
  - yarn test
3497
3513
  cache:
@@ -3577,7 +3593,7 @@ before_script:
3577
3593
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
3578
3594
  - collapseable_section_end "nodeinstall"
3579
3595
  - collapseable_section_start "yarninstall" "Yarn install"
3580
- - yarn install --immutable
3596
+ - yarn install --immutable --inline-builds
3581
3597
  - collapseable_section_end "yarninstall"
3582
3598
  - yarn build:worker
3583
3599
  cache:
@@ -3632,9 +3648,11 @@ before_script:
3632
3648
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
3633
3649
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
3634
3650
  - |-
3635
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
3651
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
3652
+ COPY --chown=node:node $APP_DIR .
3636
3653
  RUN yarn plugin import workspace-tools
3637
- RUN yarn workspaces focus --production && yarn rebuild"
3654
+ RUN yarn workspaces focus --production
3655
+ RUN yarn rebuild"
3638
3656
  - |-
3639
3657
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
3640
3658
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -3901,7 +3919,7 @@ before_script:
3901
3919
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
3902
3920
  - collapseable_section_end "nodeinstall"
3903
3921
  - collapseable_section_start "yarninstall" "Yarn install"
3904
- - yarn install --immutable
3922
+ - yarn install --immutable --inline-builds
3905
3923
  - collapseable_section_end "yarninstall"
3906
3924
  - yarn lint
3907
3925
  cache:
@@ -3945,7 +3963,7 @@ before_script:
3945
3963
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
3946
3964
  - collapseable_section_end "nodeinstall"
3947
3965
  - collapseable_section_start "yarninstall" "Yarn install"
3948
- - yarn install --immutable
3966
+ - yarn install --immutable --inline-builds
3949
3967
  - collapseable_section_end "yarninstall"
3950
3968
  - yarn test
3951
3969
  cache:
@@ -4035,7 +4053,7 @@ before_script:
4035
4053
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
4036
4054
  - collapseable_section_end "nodeinstall"
4037
4055
  - collapseable_section_start "yarninstall" "Yarn install"
4038
- - yarn install --immutable
4056
+ - yarn install --immutable --inline-builds
4039
4057
  - collapseable_section_end "yarninstall"
4040
4058
  - yarn build:worker
4041
4059
  cache:
@@ -4094,9 +4112,11 @@ before_script:
4094
4112
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
4095
4113
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
4096
4114
  - |-
4097
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
4115
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
4116
+ COPY --chown=node:node $APP_DIR .
4098
4117
  RUN yarn plugin import workspace-tools
4099
- RUN yarn workspaces focus --production && yarn rebuild"
4118
+ RUN yarn workspaces focus --production
4119
+ RUN yarn rebuild"
4100
4120
  - |-
4101
4121
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
4102
4122
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -4399,7 +4419,7 @@ before_script:
4399
4419
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
4400
4420
  - collapseable_section_end "nodeinstall"
4401
4421
  - collapseable_section_start "yarninstall" "Yarn install"
4402
- - yarn install --immutable
4422
+ - yarn install --immutable --inline-builds
4403
4423
  - collapseable_section_end "yarninstall"
4404
4424
  - yarn build:worker
4405
4425
  cache:
@@ -4454,9 +4474,11 @@ before_script:
4454
4474
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
4455
4475
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
4456
4476
  - |-
4457
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
4477
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
4478
+ COPY --chown=node:node $APP_DIR .
4458
4479
  RUN yarn plugin import workspace-tools
4459
- RUN yarn workspaces focus --production && yarn rebuild"
4480
+ RUN yarn workspaces focus --production
4481
+ RUN yarn rebuild"
4460
4482
  - |-
4461
4483
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
4462
4484
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -4741,7 +4763,7 @@ before_script:
4741
4763
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
4742
4764
  - collapseable_section_end "nodeinstall"
4743
4765
  - collapseable_section_start "yarninstall" "Yarn install"
4744
- - yarn install --immutable
4766
+ - yarn install --immutable --inline-builds
4745
4767
  - collapseable_section_end "yarninstall"
4746
4768
  - yarn build:worker
4747
4769
  cache:
@@ -4796,9 +4818,11 @@ before_script:
4796
4818
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
4797
4819
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
4798
4820
  - |-
4799
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
4821
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
4822
+ COPY --chown=node:node $APP_DIR .
4800
4823
  RUN yarn plugin import workspace-tools
4801
- RUN yarn workspaces focus --production && yarn rebuild"
4824
+ RUN yarn workspaces focus --production
4825
+ RUN yarn rebuild"
4802
4826
  - |-
4803
4827
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
4804
4828
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock