@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:
@@ -253,7 +253,7 @@ before_script:
253
253
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
254
254
  - collapseable_section_end "nodeinstall"
255
255
  - collapseable_section_start "yarninstall" "Yarn install"
256
- - yarn install --immutable
256
+ - yarn install --immutable --inline-builds
257
257
  - collapseable_section_end "yarninstall"
258
258
  - yarn build
259
259
  cache:
@@ -347,7 +347,7 @@ before_script:
347
347
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
348
348
  - collapseable_section_end "nodeinstall"
349
349
  - collapseable_section_start "yarninstall" "Yarn install"
350
- - yarn install --immutable
350
+ - yarn install --immutable --inline-builds
351
351
  - collapseable_section_end "yarninstall"
352
352
  - yarn lint
353
353
  cache:
@@ -391,7 +391,7 @@ before_script:
391
391
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
392
392
  - collapseable_section_end "nodeinstall"
393
393
  - collapseable_section_start "yarninstall" "Yarn install"
394
- - yarn install --immutable
394
+ - yarn install --immutable --inline-builds
395
395
  - collapseable_section_end "yarninstall"
396
396
  - yarn test
397
397
  cache:
@@ -459,7 +459,7 @@ before_script:
459
459
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
460
460
  - collapseable_section_end "nodeinstall"
461
461
  - collapseable_section_start "yarninstall" "Yarn install"
462
- - yarn install --immutable
462
+ - yarn install --immutable --inline-builds
463
463
  - collapseable_section_end "yarninstall"
464
464
  - yarn build
465
465
  cache:
@@ -560,7 +560,7 @@ before_script:
560
560
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
561
561
  - collapseable_section_end "nodeinstall"
562
562
  - collapseable_section_start "yarninstall" "Yarn install"
563
- - yarn install --immutable
563
+ - yarn install --immutable --inline-builds
564
564
  - collapseable_section_end "yarninstall"
565
565
  - yarn build
566
566
  cache:
@@ -657,7 +657,7 @@ before_script:
657
657
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
658
658
  - collapseable_section_end "nodeinstall"
659
659
  - collapseable_section_start "yarninstall" "Yarn install"
660
- - yarn install --immutable
660
+ - yarn install --immutable --inline-builds
661
661
  - collapseable_section_end "yarninstall"
662
662
  - yarn build
663
663
  cache:
@@ -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:
@@ -284,7 +284,7 @@ before_script:
284
284
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
285
285
  - collapseable_section_end "nodeinstall"
286
286
  - collapseable_section_start "yarninstall" "Yarn install"
287
- - yarn install --immutable
287
+ - yarn install --immutable --inline-builds
288
288
  - collapseable_section_end "yarninstall"
289
289
  - yarn build
290
290
  cache:
@@ -339,9 +339,11 @@ before_script:
339
339
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/app1"
340
340
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
341
341
  - |-
342
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
342
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
343
+ COPY --chown=node:node $APP_DIR .
343
344
  RUN yarn plugin import workspace-tools
344
- RUN yarn workspaces focus --production && yarn rebuild"
345
+ RUN yarn workspaces focus --production
346
+ RUN yarn rebuild"
345
347
  - |-
346
348
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app1/package.json /app/app1/package.json
347
349
  COPY --chown=node:node app1/yarn.lock /app/app1/yarn.lock
@@ -608,7 +610,7 @@ before_script:
608
610
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
609
611
  - collapseable_section_end "nodeinstall"
610
612
  - collapseable_section_start "yarninstall" "Yarn install"
611
- - yarn install --immutable
613
+ - yarn install --immutable --inline-builds
612
614
  - collapseable_section_end "yarninstall"
613
615
  - yarn lint
614
616
  cache:
@@ -652,7 +654,7 @@ before_script:
652
654
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
653
655
  - collapseable_section_end "nodeinstall"
654
656
  - collapseable_section_start "yarninstall" "Yarn install"
655
- - yarn install --immutable
657
+ - yarn install --immutable --inline-builds
656
658
  - collapseable_section_end "yarninstall"
657
659
  - yarn test
658
660
  cache:
@@ -751,7 +753,7 @@ before_script:
751
753
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
752
754
  - collapseable_section_end "nodeinstall"
753
755
  - collapseable_section_start "yarninstall" "Yarn install"
754
- - yarn install --immutable
756
+ - yarn install --immutable --inline-builds
755
757
  - collapseable_section_end "yarninstall"
756
758
  - yarn build
757
759
  cache:
@@ -810,9 +812,11 @@ before_script:
810
812
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/app1"
811
813
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
812
814
  - |-
813
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
815
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
816
+ COPY --chown=node:node $APP_DIR .
814
817
  RUN yarn plugin import workspace-tools
815
- RUN yarn workspaces focus --production && yarn rebuild"
818
+ RUN yarn workspaces focus --production
819
+ RUN yarn rebuild"
816
820
  - |-
817
821
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app1/package.json /app/app1/package.json
818
822
  COPY --chown=node:node app1/yarn.lock /app/app1/yarn.lock
@@ -1121,7 +1125,7 @@ before_script:
1121
1125
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1122
1126
  - collapseable_section_end "nodeinstall"
1123
1127
  - collapseable_section_start "yarninstall" "Yarn install"
1124
- - yarn install --immutable
1128
+ - yarn install --immutable --inline-builds
1125
1129
  - collapseable_section_end "yarninstall"
1126
1130
  - yarn build
1127
1131
  cache:
@@ -1176,9 +1180,11 @@ before_script:
1176
1180
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/app1"
1177
1181
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1178
1182
  - |-
1179
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1183
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1184
+ COPY --chown=node:node $APP_DIR .
1180
1185
  RUN yarn plugin import workspace-tools
1181
- RUN yarn workspaces focus --production && yarn rebuild"
1186
+ RUN yarn workspaces focus --production
1187
+ RUN yarn rebuild"
1182
1188
  - |-
1183
1189
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app1/package.json /app/app1/package.json
1184
1190
  COPY --chown=node:node app1/yarn.lock /app/app1/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="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/app1"
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 app1/package.json /app/app1/package.json
1535
1543
  COPY --chown=node:node app1/yarn.lock /app/app1/yarn.lock
@@ -1789,7 +1797,7 @@ before_script:
1789
1797
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1790
1798
  - collapseable_section_end "nodeinstall"
1791
1799
  - collapseable_section_start "yarninstall" "Yarn install"
1792
- - yarn install --immutable
1800
+ - yarn install --immutable --inline-builds
1793
1801
  - collapseable_section_end "yarninstall"
1794
1802
  - yarn lint
1795
1803
  cache:
@@ -1829,7 +1837,7 @@ before_script:
1829
1837
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1830
1838
  - collapseable_section_end "nodeinstall"
1831
1839
  - collapseable_section_start "yarninstall" "Yarn install"
1832
- - yarn install --immutable
1840
+ - yarn install --immutable --inline-builds
1833
1841
  - collapseable_section_end "yarninstall"
1834
1842
  - yarn test
1835
1843
  cache:
@@ -1934,7 +1942,7 @@ before_script:
1934
1942
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1935
1943
  - collapseable_section_end "nodeinstall"
1936
1944
  - collapseable_section_start "yarninstall" "Yarn install"
1937
- - yarn install --immutable
1945
+ - yarn install --immutable --inline-builds
1938
1946
  - collapseable_section_end "yarninstall"
1939
1947
  - yarn build
1940
1948
  cache:
@@ -1989,9 +1997,11 @@ before_script:
1989
1997
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/app2"
1990
1998
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1991
1999
  - |-
1992
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
2000
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
2001
+ COPY --chown=node:node $APP_DIR .
1993
2002
  RUN yarn plugin import workspace-tools
1994
- RUN yarn workspaces focus --production && yarn rebuild"
2003
+ RUN yarn workspaces focus --production
2004
+ RUN yarn rebuild"
1995
2005
  - |-
1996
2006
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app2/package.json /app/app2/package.json
1997
2007
  COPY --chown=node:node app2/yarn.lock /app/app2/yarn.lock
@@ -2268,7 +2278,7 @@ before_script:
2268
2278
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
2269
2279
  - collapseable_section_end "nodeinstall"
2270
2280
  - collapseable_section_start "yarninstall" "Yarn install"
2271
- - yarn install --immutable
2281
+ - yarn install --immutable --inline-builds
2272
2282
  - collapseable_section_end "yarninstall"
2273
2283
  - yarn lint
2274
2284
  cache:
@@ -2312,7 +2322,7 @@ before_script:
2312
2322
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
2313
2323
  - collapseable_section_end "nodeinstall"
2314
2324
  - collapseable_section_start "yarninstall" "Yarn install"
2315
- - yarn install --immutable
2325
+ - yarn install --immutable --inline-builds
2316
2326
  - collapseable_section_end "yarninstall"
2317
2327
  - yarn test
2318
2328
  cache:
@@ -2421,7 +2431,7 @@ before_script:
2421
2431
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
2422
2432
  - collapseable_section_end "nodeinstall"
2423
2433
  - collapseable_section_start "yarninstall" "Yarn install"
2424
- - yarn install --immutable
2434
+ - yarn install --immutable --inline-builds
2425
2435
  - collapseable_section_end "yarninstall"
2426
2436
  - yarn build
2427
2437
  cache:
@@ -2480,9 +2490,11 @@ before_script:
2480
2490
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/app2"
2481
2491
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
2482
2492
  - |-
2483
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
2493
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
2494
+ COPY --chown=node:node $APP_DIR .
2484
2495
  RUN yarn plugin import workspace-tools
2485
- RUN yarn workspaces focus --production && yarn rebuild"
2496
+ RUN yarn workspaces focus --production
2497
+ RUN yarn rebuild"
2486
2498
  - |-
2487
2499
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app2/package.json /app/app2/package.json
2488
2500
  COPY --chown=node:node app2/yarn.lock /app/app2/yarn.lock
@@ -2811,7 +2823,7 @@ before_script:
2811
2823
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
2812
2824
  - collapseable_section_end "nodeinstall"
2813
2825
  - collapseable_section_start "yarninstall" "Yarn install"
2814
- - yarn install --immutable
2826
+ - yarn install --immutable --inline-builds
2815
2827
  - collapseable_section_end "yarninstall"
2816
2828
  - yarn build
2817
2829
  cache:
@@ -2866,9 +2878,11 @@ before_script:
2866
2878
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/app2"
2867
2879
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
2868
2880
  - |-
2869
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
2881
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
2882
+ COPY --chown=node:node $APP_DIR .
2870
2883
  RUN yarn plugin import workspace-tools
2871
- RUN yarn workspaces focus --production && yarn rebuild"
2884
+ RUN yarn workspaces focus --production
2885
+ RUN yarn rebuild"
2872
2886
  - |-
2873
2887
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app2/package.json /app/app2/package.json
2874
2888
  COPY --chown=node:node app2/yarn.lock /app/app2/yarn.lock
@@ -3182,7 +3196,7 @@ before_script:
3182
3196
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
3183
3197
  - collapseable_section_end "nodeinstall"
3184
3198
  - collapseable_section_start "yarninstall" "Yarn install"
3185
- - yarn install --immutable
3199
+ - yarn install --immutable --inline-builds
3186
3200
  - collapseable_section_end "yarninstall"
3187
3201
  - yarn build
3188
3202
  cache:
@@ -3237,9 +3251,11 @@ before_script:
3237
3251
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/app2"
3238
3252
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
3239
3253
  - |-
3240
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
3254
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
3255
+ COPY --chown=node:node $APP_DIR .
3241
3256
  RUN yarn plugin import workspace-tools
3242
- RUN yarn workspaces focus --production && yarn rebuild"
3257
+ RUN yarn workspaces focus --production
3258
+ RUN yarn rebuild"
3243
3259
  - |-
3244
3260
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app2/package.json /app/app2/package.json
3245
3261
  COPY --chown=node:node app2/yarn.lock /app/app2/yarn.lock
@@ -3509,7 +3525,7 @@ before_script:
3509
3525
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
3510
3526
  - collapseable_section_end "nodeinstall"
3511
3527
  - collapseable_section_start "yarninstall" "Yarn install"
3512
- - yarn install --immutable
3528
+ - yarn install --immutable --inline-builds
3513
3529
  - collapseable_section_end "yarninstall"
3514
3530
  - yarn lint
3515
3531
  cache:
@@ -3549,7 +3565,7 @@ before_script:
3549
3565
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
3550
3566
  - collapseable_section_end "nodeinstall"
3551
3567
  - collapseable_section_start "yarninstall" "Yarn install"
3552
- - yarn install --immutable
3568
+ - yarn install --immutable --inline-builds
3553
3569
  - collapseable_section_end "yarninstall"
3554
3570
  - yarn test
3555
3571
  cache:
@@ -3689,7 +3705,7 @@ before_script:
3689
3705
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
3690
3706
  - collapseable_section_end "nodeinstall"
3691
3707
  - collapseable_section_start "yarninstall" "Yarn install"
3692
- - yarn install --immutable
3708
+ - yarn install --immutable --inline-builds
3693
3709
  - collapseable_section_end "yarninstall"
3694
3710
  - yarn build
3695
3711
  cache:
@@ -3745,9 +3761,11 @@ before_script:
3745
3761
  - export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
3746
3762
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
3747
3763
  - |-
3748
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
3764
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
3765
+ COPY --chown=node:node $APP_DIR .
3749
3766
  RUN yarn plugin import workspace-tools
3750
- RUN yarn workspaces focus --production && yarn rebuild"
3767
+ RUN yarn workspaces focus --production
3768
+ RUN yarn rebuild"
3751
3769
  - |-
3752
3770
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node kube/package.json /app/kube/package.json
3753
3771
  COPY --chown=node:node kube/yarn.lock /app/kube/yarn.lock
@@ -4214,7 +4232,7 @@ before_script:
4214
4232
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
4215
4233
  - collapseable_section_end "nodeinstall"
4216
4234
  - collapseable_section_start "yarninstall" "Yarn install"
4217
- - yarn install --immutable
4235
+ - yarn install --immutable --inline-builds
4218
4236
  - collapseable_section_end "yarninstall"
4219
4237
  - yarn lint
4220
4238
  cache:
@@ -4258,7 +4276,7 @@ before_script:
4258
4276
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
4259
4277
  - collapseable_section_end "nodeinstall"
4260
4278
  - collapseable_section_start "yarninstall" "Yarn install"
4261
- - yarn install --immutable
4279
+ - yarn install --immutable --inline-builds
4262
4280
  - collapseable_section_end "yarninstall"
4263
4281
  - yarn test
4264
4282
  cache:
@@ -4402,7 +4420,7 @@ before_script:
4402
4420
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
4403
4421
  - collapseable_section_end "nodeinstall"
4404
4422
  - collapseable_section_start "yarninstall" "Yarn install"
4405
- - yarn install --immutable
4423
+ - yarn install --immutable --inline-builds
4406
4424
  - collapseable_section_end "yarninstall"
4407
4425
  - yarn build
4408
4426
  cache:
@@ -4462,9 +4480,11 @@ before_script:
4462
4480
  - export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
4463
4481
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
4464
4482
  - |-
4465
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
4483
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
4484
+ COPY --chown=node:node $APP_DIR .
4466
4485
  RUN yarn plugin import workspace-tools
4467
- RUN yarn workspaces focus --production && yarn rebuild"
4486
+ RUN yarn workspaces focus --production
4487
+ RUN yarn rebuild"
4468
4488
  - |-
4469
4489
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node kube/package.json /app/kube/package.json
4470
4490
  COPY --chown=node:node kube/yarn.lock /app/kube/yarn.lock
@@ -5013,7 +5033,7 @@ before_script:
5013
5033
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
5014
5034
  - collapseable_section_end "nodeinstall"
5015
5035
  - collapseable_section_start "yarninstall" "Yarn install"
5016
- - yarn install --immutable
5036
+ - yarn install --immutable --inline-builds
5017
5037
  - collapseable_section_end "yarninstall"
5018
5038
  - yarn build
5019
5039
  cache:
@@ -5069,9 +5089,11 @@ before_script:
5069
5089
  - export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
5070
5090
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
5071
5091
  - |-
5072
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
5092
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
5093
+ COPY --chown=node:node $APP_DIR .
5073
5094
  RUN yarn plugin import workspace-tools
5074
- RUN yarn workspaces focus --production && yarn rebuild"
5095
+ RUN yarn workspaces focus --production
5096
+ RUN yarn rebuild"
5075
5097
  - |-
5076
5098
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node kube/package.json /app/kube/package.json
5077
5099
  COPY --chown=node:node kube/yarn.lock /app/kube/yarn.lock
@@ -5610,7 +5632,7 @@ before_script:
5610
5632
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
5611
5633
  - collapseable_section_end "nodeinstall"
5612
5634
  - collapseable_section_start "yarninstall" "Yarn install"
5613
- - yarn install --immutable
5635
+ - yarn install --immutable --inline-builds
5614
5636
  - collapseable_section_end "yarninstall"
5615
5637
  - yarn build
5616
5638
  cache:
@@ -5666,9 +5688,11 @@ before_script:
5666
5688
  - export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
5667
5689
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
5668
5690
  - |-
5669
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
5691
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
5692
+ COPY --chown=node:node $APP_DIR .
5670
5693
  RUN yarn plugin import workspace-tools
5671
- RUN yarn workspaces focus --production && yarn rebuild"
5694
+ RUN yarn workspaces focus --production
5695
+ RUN yarn rebuild"
5672
5696
  - |-
5673
5697
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node kube/package.json /app/kube/package.json
5674
5698
  COPY --chown=node:node kube/yarn.lock /app/kube/yarn.lock
@@ -153,7 +153,7 @@ before_script:
153
153
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
154
154
  - collapseable_section_end "nodeinstall"
155
155
  - collapseable_section_start "yarninstall" "Yarn install"
156
- - yarn install --immutable
156
+ - yarn install --immutable --inline-builds
157
157
  - collapseable_section_end "yarninstall"
158
158
  - yarn lint
159
159
  cache:
@@ -195,7 +195,7 @@ before_script:
195
195
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
196
196
  - collapseable_section_end "nodeinstall"
197
197
  - collapseable_section_start "yarninstall" "Yarn install"
198
- - yarn install --immutable
198
+ - yarn install --immutable --inline-builds
199
199
  - collapseable_section_end "yarninstall"
200
200
  - yarn test
201
201
  cache:
@@ -271,7 +271,7 @@ before_script:
271
271
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
272
272
  - collapseable_section_end "nodeinstall"
273
273
  - collapseable_section_start "yarninstall" "Yarn install"
274
- - yarn install --immutable
274
+ - yarn install --immutable --inline-builds
275
275
  - collapseable_section_end "yarninstall"
276
276
  - bundle config set --local path 'vendor/ruby'
277
277
  - gem install bundler
@@ -448,7 +448,7 @@ before_script:
448
448
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
449
449
  - collapseable_section_end "nodeinstall"
450
450
  - collapseable_section_start "yarninstall" "Yarn install"
451
- - yarn install --immutable
451
+ - yarn install --immutable --inline-builds
452
452
  - collapseable_section_end "yarninstall"
453
453
  - yarn lint
454
454
  cache:
@@ -494,7 +494,7 @@ before_script:
494
494
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
495
495
  - collapseable_section_end "nodeinstall"
496
496
  - collapseable_section_start "yarninstall" "Yarn install"
497
- - yarn install --immutable
497
+ - yarn install --immutable --inline-builds
498
498
  - collapseable_section_end "yarninstall"
499
499
  - yarn test
500
500
  cache:
@@ -574,7 +574,7 @@ before_script:
574
574
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
575
575
  - collapseable_section_end "nodeinstall"
576
576
  - collapseable_section_start "yarninstall" "Yarn install"
577
- - yarn install --immutable
577
+ - yarn install --immutable --inline-builds
578
578
  - collapseable_section_end "yarninstall"
579
579
  - bundle config set --local path 'vendor/ruby'
580
580
  - gem install bundler
@@ -766,7 +766,7 @@ before_script:
766
766
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
767
767
  - collapseable_section_end "nodeinstall"
768
768
  - collapseable_section_start "yarninstall" "Yarn install"
769
- - yarn install --immutable
769
+ - yarn install --immutable --inline-builds
770
770
  - collapseable_section_end "yarninstall"
771
771
  - bundle config set --local path 'vendor/ruby'
772
772
  - gem install bundler
@@ -948,7 +948,7 @@ before_script:
948
948
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
949
949
  - collapseable_section_end "nodeinstall"
950
950
  - collapseable_section_start "yarninstall" "Yarn install"
951
- - yarn install --immutable
951
+ - yarn install --immutable --inline-builds
952
952
  - collapseable_section_end "yarninstall"
953
953
  - bundle config set --local path 'vendor/ruby'
954
954
  - gem install bundler
@@ -1115,7 +1115,7 @@ before_script:
1115
1115
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1116
1116
  - collapseable_section_end "nodeinstall"
1117
1117
  - collapseable_section_start "yarninstall" "Yarn install"
1118
- - yarn install --immutable
1118
+ - yarn install --immutable --inline-builds
1119
1119
  - collapseable_section_end "yarninstall"
1120
1120
  - yarn lint
1121
1121
  cache:
@@ -1155,7 +1155,7 @@ before_script:
1155
1155
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1156
1156
  - collapseable_section_end "nodeinstall"
1157
1157
  - collapseable_section_start "yarninstall" "Yarn install"
1158
- - yarn install --immutable
1158
+ - yarn install --immutable --inline-builds
1159
1159
  - collapseable_section_end "yarninstall"
1160
1160
  - yarn test
1161
1161
  cache:
@@ -1227,7 +1227,7 @@ before_script:
1227
1227
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1228
1228
  - collapseable_section_end "nodeinstall"
1229
1229
  - collapseable_section_start "yarninstall" "Yarn install"
1230
- - yarn install --immutable
1230
+ - yarn install --immutable --inline-builds
1231
1231
  - collapseable_section_end "yarninstall"
1232
1232
  - yarn build
1233
1233
  cache:
@@ -1282,9 +1282,11 @@ before_script:
1282
1282
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
1283
1283
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1284
1284
  - |-
1285
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1285
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1286
+ COPY --chown=node:node $APP_DIR .
1286
1287
  RUN yarn plugin import workspace-tools
1287
- RUN yarn workspaces focus --production && yarn rebuild"
1288
+ RUN yarn workspaces focus --production
1289
+ RUN yarn rebuild"
1288
1290
  - |-
1289
1291
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
1290
1292
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -1526,7 +1528,7 @@ before_script:
1526
1528
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1527
1529
  - collapseable_section_end "nodeinstall"
1528
1530
  - collapseable_section_start "yarninstall" "Yarn install"
1529
- - yarn install --immutable
1531
+ - yarn install --immutable --inline-builds
1530
1532
  - collapseable_section_end "yarninstall"
1531
1533
  - yarn lint
1532
1534
  cache:
@@ -1570,7 +1572,7 @@ before_script:
1570
1572
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1571
1573
  - collapseable_section_end "nodeinstall"
1572
1574
  - collapseable_section_start "yarninstall" "Yarn install"
1573
- - yarn install --immutable
1575
+ - yarn install --immutable --inline-builds
1574
1576
  - collapseable_section_end "yarninstall"
1575
1577
  - yarn test
1576
1578
  cache:
@@ -1646,7 +1648,7 @@ before_script:
1646
1648
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1647
1649
  - collapseable_section_end "nodeinstall"
1648
1650
  - collapseable_section_start "yarninstall" "Yarn install"
1649
- - yarn install --immutable
1651
+ - yarn install --immutable --inline-builds
1650
1652
  - collapseable_section_end "yarninstall"
1651
1653
  - yarn build
1652
1654
  cache:
@@ -1705,9 +1707,11 @@ before_script:
1705
1707
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
1706
1708
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1707
1709
  - |-
1708
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1710
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1711
+ COPY --chown=node:node $APP_DIR .
1709
1712
  RUN yarn plugin import workspace-tools
1710
- RUN yarn workspaces focus --production && yarn rebuild"
1713
+ RUN yarn workspaces focus --production
1714
+ RUN yarn rebuild"
1711
1715
  - |-
1712
1716
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
1713
1717
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -1968,7 +1972,7 @@ before_script:
1968
1972
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1969
1973
  - collapseable_section_end "nodeinstall"
1970
1974
  - collapseable_section_start "yarninstall" "Yarn install"
1971
- - yarn install --immutable
1975
+ - yarn install --immutable --inline-builds
1972
1976
  - collapseable_section_end "yarninstall"
1973
1977
  - yarn build
1974
1978
  cache:
@@ -2023,9 +2027,11 @@ before_script:
2023
2027
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
2024
2028
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
2025
2029
  - |-
2026
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
2030
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
2031
+ COPY --chown=node:node $APP_DIR .
2027
2032
  RUN yarn plugin import workspace-tools
2028
- RUN yarn workspaces focus --production && yarn rebuild"
2033
+ RUN yarn workspaces focus --production
2034
+ RUN yarn rebuild"
2029
2035
  - |-
2030
2036
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
2031
2037
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -2271,7 +2277,7 @@ before_script:
2271
2277
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
2272
2278
  - collapseable_section_end "nodeinstall"
2273
2279
  - collapseable_section_start "yarninstall" "Yarn install"
2274
- - yarn install --immutable
2280
+ - yarn install --immutable --inline-builds
2275
2281
  - collapseable_section_end "yarninstall"
2276
2282
  - yarn build
2277
2283
  cache:
@@ -2326,9 +2332,11 @@ before_script:
2326
2332
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
2327
2333
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
2328
2334
  - |-
2329
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
2335
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
2336
+ COPY --chown=node:node $APP_DIR .
2330
2337
  RUN yarn plugin import workspace-tools
2331
- RUN yarn workspaces focus --production && yarn rebuild"
2338
+ RUN yarn workspaces focus --production
2339
+ RUN yarn rebuild"
2332
2340
  - |-
2333
2341
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
2334
2342
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock