@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
@@ -165,7 +165,7 @@ before_script:
165
165
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
166
166
  - collapseable_section_end "nodeinstall"
167
167
  - collapseable_section_start "yarninstall" "Yarn install"
168
- - yarn install --immutable
168
+ - yarn install --immutable --inline-builds
169
169
  - collapseable_section_end "yarninstall"
170
170
  - yarn lint
171
171
  cache:
@@ -205,7 +205,7 @@ before_script:
205
205
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
206
206
  - collapseable_section_end "nodeinstall"
207
207
  - collapseable_section_start "yarninstall" "Yarn install"
208
- - yarn install --immutable
208
+ - yarn install --immutable --inline-builds
209
209
  - collapseable_section_end "yarninstall"
210
210
  - yarn test
211
211
  cache:
@@ -269,7 +269,7 @@ before_script:
269
269
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
270
270
  - collapseable_section_end "nodeinstall"
271
271
  - collapseable_section_start "yarninstall" "Yarn install"
272
- - yarn install --immutable
272
+ - yarn install --immutable --inline-builds
273
273
  - collapseable_section_end "yarninstall"
274
274
  - yarn build
275
275
  cache:
@@ -363,7 +363,7 @@ before_script:
363
363
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
364
364
  - collapseable_section_end "nodeinstall"
365
365
  - collapseable_section_start "yarninstall" "Yarn install"
366
- - yarn install --immutable
366
+ - yarn install --immutable --inline-builds
367
367
  - collapseable_section_end "yarninstall"
368
368
  - yarn lint
369
369
  cache:
@@ -403,7 +403,7 @@ before_script:
403
403
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
404
404
  - collapseable_section_end "nodeinstall"
405
405
  - collapseable_section_start "yarninstall" "Yarn install"
406
- - yarn install --immutable
406
+ - yarn install --immutable --inline-builds
407
407
  - collapseable_section_end "yarninstall"
408
408
  - yarn test
409
409
  cache:
@@ -467,7 +467,7 @@ before_script:
467
467
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
468
468
  - collapseable_section_end "nodeinstall"
469
469
  - collapseable_section_start "yarninstall" "Yarn install"
470
- - yarn install --immutable
470
+ - yarn install --immutable --inline-builds
471
471
  - collapseable_section_end "yarninstall"
472
472
  - yarn build
473
473
  cache:
@@ -561,7 +561,7 @@ before_script:
561
561
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
562
562
  - collapseable_section_end "nodeinstall"
563
563
  - collapseable_section_start "yarninstall" "Yarn install"
564
- - yarn install --immutable
564
+ - yarn install --immutable --inline-builds
565
565
  - collapseable_section_end "yarninstall"
566
566
  - yarn lint
567
567
  cache:
@@ -601,7 +601,7 @@ before_script:
601
601
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
602
602
  - collapseable_section_end "nodeinstall"
603
603
  - collapseable_section_start "yarninstall" "Yarn install"
604
- - yarn install --immutable
604
+ - yarn install --immutable --inline-builds
605
605
  - collapseable_section_end "yarninstall"
606
606
  - yarn test
607
607
  cache:
@@ -665,7 +665,7 @@ before_script:
665
665
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
666
666
  - collapseable_section_end "nodeinstall"
667
667
  - collapseable_section_start "yarninstall" "Yarn install"
668
- - yarn install --immutable
668
+ - yarn install --immutable --inline-builds
669
669
  - collapseable_section_end "yarninstall"
670
670
  - yarn build
671
671
  cache:
@@ -759,7 +759,7 @@ before_script:
759
759
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
760
760
  - collapseable_section_end "nodeinstall"
761
761
  - collapseable_section_start "yarninstall" "Yarn install"
762
- - yarn install --immutable
762
+ - yarn install --immutable --inline-builds
763
763
  - collapseable_section_end "yarninstall"
764
764
  - yarn lint
765
765
  cache:
@@ -803,7 +803,7 @@ before_script:
803
803
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
804
804
  - collapseable_section_end "nodeinstall"
805
805
  - collapseable_section_start "yarninstall" "Yarn install"
806
- - yarn install --immutable
806
+ - yarn install --immutable --inline-builds
807
807
  - collapseable_section_end "yarninstall"
808
808
  - yarn test
809
809
  cache:
@@ -871,7 +871,7 @@ before_script:
871
871
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
872
872
  - collapseable_section_end "nodeinstall"
873
873
  - collapseable_section_start "yarninstall" "Yarn install"
874
- - yarn install --immutable
874
+ - yarn install --immutable --inline-builds
875
875
  - collapseable_section_end "yarninstall"
876
876
  - yarn build
877
877
  cache:
@@ -972,7 +972,7 @@ before_script:
972
972
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
973
973
  - collapseable_section_end "nodeinstall"
974
974
  - collapseable_section_start "yarninstall" "Yarn install"
975
- - yarn install --immutable
975
+ - yarn install --immutable --inline-builds
976
976
  - collapseable_section_end "yarninstall"
977
977
  - yarn build
978
978
  cache:
@@ -1069,7 +1069,7 @@ before_script:
1069
1069
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1070
1070
  - collapseable_section_end "nodeinstall"
1071
1071
  - collapseable_section_start "yarninstall" "Yarn install"
1072
- - yarn install --immutable
1072
+ - yarn install --immutable --inline-builds
1073
1073
  - collapseable_section_end "yarninstall"
1074
1074
  - yarn build
1075
1075
  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:
@@ -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/www"
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 www/package.json /app/www/package.json
324
326
  COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
@@ -615,7 +617,7 @@ before_script:
615
617
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
616
618
  - collapseable_section_end "nodeinstall"
617
619
  - collapseable_section_start "yarninstall" "Yarn install"
618
- - yarn install --immutable
620
+ - yarn install --immutable --inline-builds
619
621
  - collapseable_section_end "yarninstall"
620
622
  - yarn lint
621
623
  cache:
@@ -659,7 +661,7 @@ before_script:
659
661
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
660
662
  - collapseable_section_end "nodeinstall"
661
663
  - collapseable_section_start "yarninstall" "Yarn install"
662
- - yarn install --immutable
664
+ - yarn install --immutable --inline-builds
663
665
  - collapseable_section_end "yarninstall"
664
666
  - yarn test
665
667
  cache:
@@ -735,7 +737,7 @@ before_script:
735
737
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
736
738
  - collapseable_section_end "nodeinstall"
737
739
  - collapseable_section_start "yarninstall" "Yarn install"
738
- - yarn install --immutable
740
+ - yarn install --immutable --inline-builds
739
741
  - collapseable_section_end "yarninstall"
740
742
  - yarn build
741
743
  cache:
@@ -794,9 +796,11 @@ before_script:
794
796
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/www"
795
797
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
796
798
  - |-
797
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
799
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
800
+ COPY --chown=node:node $APP_DIR .
798
801
  RUN yarn plugin import workspace-tools
799
- RUN yarn workspaces focus --production && yarn rebuild"
802
+ RUN yarn workspaces focus --production
803
+ RUN yarn rebuild"
800
804
  - |-
801
805
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
802
806
  COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
@@ -1114,7 +1118,7 @@ before_script:
1114
1118
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1115
1119
  - collapseable_section_end "nodeinstall"
1116
1120
  - collapseable_section_start "yarninstall" "Yarn install"
1117
- - yarn install --immutable
1121
+ - yarn install --immutable --inline-builds
1118
1122
  - collapseable_section_end "yarninstall"
1119
1123
  - yarn build
1120
1124
  cache:
@@ -1169,9 +1173,11 @@ before_script:
1169
1173
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/www"
1170
1174
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1171
1175
  - |-
1172
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1176
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1177
+ COPY --chown=node:node $APP_DIR .
1173
1178
  RUN yarn plugin import workspace-tools
1174
- RUN yarn workspaces focus --production && yarn rebuild"
1179
+ RUN yarn workspaces focus --production
1180
+ RUN yarn rebuild"
1175
1181
  - |-
1176
1182
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
1177
1183
  COPY --chown=node:node www/yarn.lock /app/www/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/www"
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 www/package.json /app/www/package.json
1535
1543
  COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
@@ -150,7 +150,7 @@ before_script:
150
150
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
151
151
  - collapseable_section_end "nodeinstall"
152
152
  - collapseable_section_start "yarninstall" "Yarn install"
153
- - yarn install --immutable
153
+ - yarn install --immutable --inline-builds
154
154
  - collapseable_section_end "yarninstall"
155
155
  - yarn lint
156
156
  cache:
@@ -190,7 +190,7 @@ before_script:
190
190
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
191
191
  - collapseable_section_end "nodeinstall"
192
192
  - collapseable_section_start "yarninstall" "Yarn install"
193
- - yarn install --immutable
193
+ - yarn install --immutable --inline-builds
194
194
  - collapseable_section_end "yarninstall"
195
195
  - yarn test
196
196
  cache:
@@ -262,7 +262,7 @@ before_script:
262
262
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
263
263
  - collapseable_section_end "nodeinstall"
264
264
  - collapseable_section_start "yarninstall" "Yarn install"
265
- - yarn install --immutable
265
+ - yarn install --immutable --inline-builds
266
266
  - collapseable_section_end "yarninstall"
267
267
  - yarn build
268
268
  cache:
@@ -317,9 +317,11 @@ before_script:
317
317
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/my-project-id/catladder-deploy/pan-test-app/caches/app"
318
318
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
319
319
  - |-
320
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
320
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
321
+ COPY --chown=node:node $APP_DIR .
321
322
  RUN yarn plugin import workspace-tools
322
- RUN yarn workspaces focus --production && yarn rebuild"
323
+ RUN yarn workspaces focus --production
324
+ RUN yarn rebuild"
323
325
  - |-
324
326
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
325
327
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
@@ -561,7 +563,7 @@ before_script:
561
563
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
562
564
  - collapseable_section_end "nodeinstall"
563
565
  - collapseable_section_start "yarninstall" "Yarn install"
564
- - yarn install --immutable
566
+ - yarn install --immutable --inline-builds
565
567
  - collapseable_section_end "yarninstall"
566
568
  - yarn lint
567
569
  cache:
@@ -605,7 +607,7 @@ before_script:
605
607
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
606
608
  - collapseable_section_end "nodeinstall"
607
609
  - collapseable_section_start "yarninstall" "Yarn install"
608
- - yarn install --immutable
610
+ - yarn install --immutable --inline-builds
609
611
  - collapseable_section_end "yarninstall"
610
612
  - yarn test
611
613
  cache:
@@ -681,7 +683,7 @@ before_script:
681
683
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
682
684
  - collapseable_section_end "nodeinstall"
683
685
  - collapseable_section_start "yarninstall" "Yarn install"
684
- - yarn install --immutable
686
+ - yarn install --immutable --inline-builds
685
687
  - collapseable_section_end "yarninstall"
686
688
  - yarn build
687
689
  cache:
@@ -740,9 +742,11 @@ before_script:
740
742
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/my-project-id/catladder-deploy/pan-test-app/caches/app"
741
743
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
742
744
  - |-
743
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
745
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
746
+ COPY --chown=node:node $APP_DIR .
744
747
  RUN yarn plugin import workspace-tools
745
- RUN yarn workspaces focus --production && yarn rebuild"
748
+ RUN yarn workspaces focus --production
749
+ RUN yarn rebuild"
746
750
  - |-
747
751
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
748
752
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
@@ -1003,7 +1007,7 @@ before_script:
1003
1007
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1004
1008
  - collapseable_section_end "nodeinstall"
1005
1009
  - collapseable_section_start "yarninstall" "Yarn install"
1006
- - yarn install --immutable
1010
+ - yarn install --immutable --inline-builds
1007
1011
  - collapseable_section_end "yarninstall"
1008
1012
  - yarn build
1009
1013
  cache:
@@ -1058,9 +1062,11 @@ before_script:
1058
1062
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/my-project-id/catladder-deploy/pan-test-app/caches/app"
1059
1063
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1060
1064
  - |-
1061
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1065
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1066
+ COPY --chown=node:node $APP_DIR .
1062
1067
  RUN yarn plugin import workspace-tools
1063
- RUN yarn workspaces focus --production && yarn rebuild"
1068
+ RUN yarn workspaces focus --production
1069
+ RUN yarn rebuild"
1064
1070
  - |-
1065
1071
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
1066
1072
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
@@ -1306,7 +1312,7 @@ before_script:
1306
1312
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1307
1313
  - collapseable_section_end "nodeinstall"
1308
1314
  - collapseable_section_start "yarninstall" "Yarn install"
1309
- - yarn install --immutable
1315
+ - yarn install --immutable --inline-builds
1310
1316
  - collapseable_section_end "yarninstall"
1311
1317
  - yarn build
1312
1318
  cache:
@@ -1361,9 +1367,11 @@ before_script:
1361
1367
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/my-project-id/catladder-deploy/pan-test-app/caches/app"
1362
1368
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1363
1369
  - |-
1364
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1370
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1371
+ COPY --chown=node:node $APP_DIR .
1365
1372
  RUN yarn plugin import workspace-tools
1366
- RUN yarn workspaces focus --production && yarn rebuild"
1373
+ RUN yarn workspaces focus --production
1374
+ RUN yarn rebuild"
1367
1375
  - |-
1368
1376
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
1369
1377
  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:
@@ -243,7 +243,7 @@ before_script:
243
243
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
244
244
  - collapseable_section_end "nodeinstall"
245
245
  - collapseable_section_start "yarninstall" "Yarn install"
246
- - yarn install --immutable
246
+ - yarn install --immutable --inline-builds
247
247
  - collapseable_section_end "yarninstall"
248
248
  - yarn build
249
249
  cache:
@@ -298,9 +298,11 @@ before_script:
298
298
  - export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
299
299
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
300
300
  - |-
301
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
301
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
302
+ COPY --chown=node:node $APP_DIR .
302
303
  RUN yarn plugin import workspace-tools
303
- RUN yarn workspaces focus --production && yarn rebuild"
304
+ RUN yarn workspaces focus --production
305
+ RUN yarn rebuild"
304
306
  - |-
305
307
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
306
308
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -642,7 +644,7 @@ before_script:
642
644
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
643
645
  - collapseable_section_end "nodeinstall"
644
646
  - collapseable_section_start "yarninstall" "Yarn install"
645
- - yarn install --immutable
647
+ - yarn install --immutable --inline-builds
646
648
  - collapseable_section_end "yarninstall"
647
649
  - yarn lint
648
650
  cache:
@@ -686,7 +688,7 @@ before_script:
686
688
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
687
689
  - collapseable_section_end "nodeinstall"
688
690
  - collapseable_section_start "yarninstall" "Yarn install"
689
- - yarn install --immutable
691
+ - yarn install --immutable --inline-builds
690
692
  - collapseable_section_end "yarninstall"
691
693
  - yarn test
692
694
  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_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
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 api/package.json /app/api/package.json
811
815
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -1143,7 +1147,7 @@ before_script:
1143
1147
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1144
1148
  - collapseable_section_end "nodeinstall"
1145
1149
  - collapseable_section_start "yarninstall" "Yarn install"
1146
- - yarn install --immutable
1150
+ - yarn install --immutable --inline-builds
1147
1151
  - collapseable_section_end "yarninstall"
1148
1152
  - yarn build
1149
1153
  cache:
@@ -1198,9 +1202,11 @@ before_script:
1198
1202
  - export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
1199
1203
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1200
1204
  - |-
1201
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1205
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1206
+ COPY --chown=node:node $APP_DIR .
1202
1207
  RUN yarn plugin import workspace-tools
1203
- RUN yarn workspaces focus --production && yarn rebuild"
1208
+ RUN yarn workspaces focus --production
1209
+ RUN yarn rebuild"
1204
1210
  - |-
1205
1211
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
1206
1212
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -1528,7 +1534,7 @@ before_script:
1528
1534
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1529
1535
  - collapseable_section_end "nodeinstall"
1530
1536
  - collapseable_section_start "yarninstall" "Yarn install"
1531
- - yarn install --immutable
1537
+ - yarn install --immutable --inline-builds
1532
1538
  - collapseable_section_end "yarninstall"
1533
1539
  - yarn build
1534
1540
  cache:
@@ -1583,9 +1589,11 @@ before_script:
1583
1589
  - export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
1584
1590
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1585
1591
  - |-
1586
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1592
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1593
+ COPY --chown=node:node $APP_DIR .
1587
1594
  RUN yarn plugin import workspace-tools
1588
- RUN yarn workspaces focus --production && yarn rebuild"
1595
+ RUN yarn workspaces focus --production
1596
+ RUN yarn rebuild"
1589
1597
  - |-
1590
1598
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
1591
1599
  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:
@@ -245,7 +245,7 @@ before_script:
245
245
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
246
246
  - collapseable_section_end "nodeinstall"
247
247
  - collapseable_section_start "yarninstall" "Yarn install"
248
- - yarn install --immutable
248
+ - yarn install --immutable --inline-builds
249
249
  - collapseable_section_end "yarninstall"
250
250
  - yarn build
251
251
  cache:
@@ -300,9 +300,11 @@ before_script:
300
300
  - export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
301
301
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
302
302
  - |-
303
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
303
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
304
+ COPY --chown=node:node $APP_DIR .
304
305
  RUN yarn plugin import workspace-tools
305
- RUN yarn workspaces focus --production && yarn rebuild"
306
+ RUN yarn workspaces focus --production
307
+ RUN yarn rebuild"
306
308
  - |-
307
309
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
308
310
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -647,7 +649,7 @@ before_script:
647
649
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
648
650
  - collapseable_section_end "nodeinstall"
649
651
  - collapseable_section_start "yarninstall" "Yarn install"
650
- - yarn install --immutable
652
+ - yarn install --immutable --inline-builds
651
653
  - collapseable_section_end "yarninstall"
652
654
  - yarn lint
653
655
  cache:
@@ -691,7 +693,7 @@ before_script:
691
693
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
692
694
  - collapseable_section_end "nodeinstall"
693
695
  - collapseable_section_start "yarninstall" "Yarn install"
694
- - yarn install --immutable
696
+ - yarn install --immutable --inline-builds
695
697
  - collapseable_section_end "yarninstall"
696
698
  - yarn test
697
699
  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_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
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 api/package.json /app/api/package.json
818
822
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -1155,7 +1159,7 @@ before_script:
1155
1159
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1156
1160
  - collapseable_section_end "nodeinstall"
1157
1161
  - collapseable_section_start "yarninstall" "Yarn install"
1158
- - yarn install --immutable
1162
+ - yarn install --immutable --inline-builds
1159
1163
  - collapseable_section_end "yarninstall"
1160
1164
  - yarn build
1161
1165
  cache:
@@ -1210,9 +1214,11 @@ before_script:
1210
1214
  - export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
1211
1215
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1212
1216
  - |-
1213
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1217
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1218
+ COPY --chown=node:node $APP_DIR .
1214
1219
  RUN yarn plugin import workspace-tools
1215
- RUN yarn workspaces focus --production && yarn rebuild"
1220
+ RUN yarn workspaces focus --production
1221
+ RUN yarn rebuild"
1216
1222
  - |-
1217
1223
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
1218
1224
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
@@ -1545,7 +1551,7 @@ before_script:
1545
1551
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1546
1552
  - collapseable_section_end "nodeinstall"
1547
1553
  - collapseable_section_start "yarninstall" "Yarn install"
1548
- - yarn install --immutable
1554
+ - yarn install --immutable --inline-builds
1549
1555
  - collapseable_section_end "yarninstall"
1550
1556
  - yarn build
1551
1557
  cache:
@@ -1600,9 +1606,11 @@ before_script:
1600
1606
  - export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
1601
1607
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1602
1608
  - |-
1603
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1609
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1610
+ COPY --chown=node:node $APP_DIR .
1604
1611
  RUN yarn plugin import workspace-tools
1605
- RUN yarn workspaces focus --production && yarn rebuild"
1612
+ RUN yarn workspaces focus --production
1613
+ RUN yarn rebuild"
1606
1614
  - |-
1607
1615
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
1608
1616
  COPY --chown=node:node api/yarn.lock /app/api/yarn.lock