@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="europe-west6-docker.pkg.dev/google-project-id/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 api/package.json /app/api/package.json
324
326
  COPY --chown=node:node api/yarn.lock /app/api/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="europe-west6-docker.pkg.dev/google-project-id/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 api/package.json /app/api/package.json
747
751
  COPY --chown=node:node api/yarn.lock /app/api/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="europe-west6-docker.pkg.dev/google-project-id/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 api/package.json /app/api/package.json
1065
1071
  COPY --chown=node:node api/yarn.lock /app/api/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="europe-west6-docker.pkg.dev/google-project-id/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 api/package.json /app/api/package.json
1368
1376
  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:
@@ -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
  - echo "add healthcheck package"
268
268
  - meteor add panter:healthroute --allow-superuser
@@ -559,7 +559,7 @@ before_script:
559
559
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
560
560
  - collapseable_section_end "nodeinstall"
561
561
  - collapseable_section_start "yarninstall" "Yarn install"
562
- - yarn install --immutable
562
+ - yarn install --immutable --inline-builds
563
563
  - collapseable_section_end "yarninstall"
564
564
  - yarn lint
565
565
  cache:
@@ -603,7 +603,7 @@ before_script:
603
603
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
604
604
  - collapseable_section_end "nodeinstall"
605
605
  - collapseable_section_start "yarninstall" "Yarn install"
606
- - yarn install --immutable
606
+ - yarn install --immutable --inline-builds
607
607
  - collapseable_section_end "yarninstall"
608
608
  - yarn test
609
609
  cache:
@@ -680,7 +680,7 @@ before_script:
680
680
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
681
681
  - collapseable_section_end "nodeinstall"
682
682
  - collapseable_section_start "yarninstall" "Yarn install"
683
- - yarn install --immutable
683
+ - yarn install --immutable --inline-builds
684
684
  - collapseable_section_end "yarninstall"
685
685
  - echo "add healthcheck package"
686
686
  - meteor add panter:healthroute --allow-superuser
@@ -1001,7 +1001,7 @@ before_script:
1001
1001
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1002
1002
  - collapseable_section_end "nodeinstall"
1003
1003
  - collapseable_section_start "yarninstall" "Yarn install"
1004
- - yarn install --immutable
1004
+ - yarn install --immutable --inline-builds
1005
1005
  - collapseable_section_end "yarninstall"
1006
1006
  - echo "add healthcheck package"
1007
1007
  - meteor add panter:healthroute --allow-superuser
@@ -1303,7 +1303,7 @@ before_script:
1303
1303
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1304
1304
  - collapseable_section_end "nodeinstall"
1305
1305
  - collapseable_section_start "yarninstall" "Yarn install"
1306
- - yarn install --immutable
1306
+ - yarn install --immutable --inline-builds
1307
1307
  - collapseable_section_end "yarninstall"
1308
1308
  - echo "add healthcheck package"
1309
1309
  - meteor add panter:healthroute --allow-superuser
@@ -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:
@@ -320,9 +320,11 @@ before_script:
320
320
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
321
321
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
322
322
  - |-
323
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
323
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
324
+ COPY --chown=node:node $APP_DIR .
324
325
  RUN yarn plugin import workspace-tools
325
- RUN yarn workspaces focus --production && yarn rebuild"
326
+ RUN yarn workspaces focus --production
327
+ RUN yarn rebuild"
326
328
  - |-
327
329
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
328
330
  COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
@@ -564,7 +566,7 @@ before_script:
564
566
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
565
567
  - collapseable_section_end "nodeinstall"
566
568
  - collapseable_section_start "yarninstall" "Yarn install"
567
- - yarn install --immutable
569
+ - yarn install --immutable --inline-builds
568
570
  - collapseable_section_end "yarninstall"
569
571
  - yarn lint
570
572
  cache:
@@ -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 test
614
616
  cache:
@@ -684,7 +686,7 @@ before_script:
684
686
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
685
687
  - collapseable_section_end "nodeinstall"
686
688
  - collapseable_section_start "yarninstall" "Yarn install"
687
- - yarn install --immutable
689
+ - yarn install --immutable --inline-builds
688
690
  - collapseable_section_end "yarninstall"
689
691
  - yarn build
690
692
  cache:
@@ -749,9 +751,11 @@ before_script:
749
751
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
750
752
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
751
753
  - |-
752
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
754
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
755
+ COPY --chown=node:node $APP_DIR .
753
756
  RUN yarn plugin import workspace-tools
754
- RUN yarn workspaces focus --production && yarn rebuild"
757
+ RUN yarn workspaces focus --production
758
+ RUN yarn rebuild"
755
759
  - |-
756
760
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
757
761
  COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
@@ -1012,7 +1016,7 @@ before_script:
1012
1016
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1013
1017
  - collapseable_section_end "nodeinstall"
1014
1018
  - collapseable_section_start "yarninstall" "Yarn install"
1015
- - yarn install --immutable
1019
+ - yarn install --immutable --inline-builds
1016
1020
  - collapseable_section_end "yarninstall"
1017
1021
  - yarn build
1018
1022
  cache:
@@ -1071,9 +1075,11 @@ before_script:
1071
1075
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
1072
1076
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1073
1077
  - |-
1074
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1078
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1079
+ COPY --chown=node:node $APP_DIR .
1075
1080
  RUN yarn plugin import workspace-tools
1076
- RUN yarn workspaces focus --production && yarn rebuild"
1081
+ RUN yarn workspaces focus --production
1082
+ RUN yarn rebuild"
1077
1083
  - |-
1078
1084
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
1079
1085
  COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
@@ -1319,7 +1325,7 @@ before_script:
1319
1325
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1320
1326
  - collapseable_section_end "nodeinstall"
1321
1327
  - collapseable_section_start "yarninstall" "Yarn install"
1322
- - yarn install --immutable
1328
+ - yarn install --immutable --inline-builds
1323
1329
  - collapseable_section_end "yarninstall"
1324
1330
  - yarn build
1325
1331
  cache:
@@ -1378,9 +1384,11 @@ before_script:
1378
1384
  - export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
1379
1385
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1380
1386
  - |-
1381
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1387
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1388
+ COPY --chown=node:node $APP_DIR .
1382
1389
  RUN yarn plugin import workspace-tools
1383
- RUN yarn workspaces focus --production && yarn rebuild"
1390
+ RUN yarn workspaces focus --production
1391
+ RUN yarn rebuild"
1384
1392
  - |-
1385
1393
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
1386
1394
  COPY --chown=node:node www/yarn.lock /app/www/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:
@@ -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="europe-west6-docker.pkg.dev/google-project-id/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 api/package.json /app/api/package.json
324
326
  COPY --chown=node:node api/yarn.lock /app/api/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="europe-west6-docker.pkg.dev/google-project-id/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 api/package.json /app/api/package.json
747
751
  COPY --chown=node:node api/yarn.lock /app/api/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="europe-west6-docker.pkg.dev/google-project-id/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 api/package.json /app/api/package.json
1065
1071
  COPY --chown=node:node api/yarn.lock /app/api/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="europe-west6-docker.pkg.dev/google-project-id/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 api/package.json /app/api/package.json
1368
1376
  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:
@@ -263,7 +263,7 @@ before_script:
263
263
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
264
264
  - collapseable_section_end "nodeinstall"
265
265
  - collapseable_section_start "yarninstall" "Yarn install"
266
- - yarn install --immutable
266
+ - yarn install --immutable --inline-builds
267
267
  - collapseable_section_end "yarninstall"
268
268
  - yarn build
269
269
  cache:
@@ -318,9 +318,11 @@ before_script:
318
318
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
319
319
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
320
320
  - |-
321
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
321
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
322
+ COPY --chown=node:node $APP_DIR .
322
323
  RUN yarn plugin import workspace-tools
323
- RUN yarn workspaces focus --production && yarn rebuild"
324
+ RUN yarn workspaces focus --production
325
+ RUN yarn rebuild"
324
326
  - |-
325
327
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
326
328
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
@@ -587,7 +589,7 @@ before_script:
587
589
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
588
590
  - collapseable_section_end "nodeinstall"
589
591
  - collapseable_section_start "yarninstall" "Yarn install"
590
- - yarn install --immutable
592
+ - yarn install --immutable --inline-builds
591
593
  - collapseable_section_end "yarninstall"
592
594
  - yarn lint
593
595
  cache:
@@ -631,7 +633,7 @@ before_script:
631
633
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
632
634
  - collapseable_section_end "nodeinstall"
633
635
  - collapseable_section_start "yarninstall" "Yarn install"
634
- - yarn install --immutable
636
+ - yarn install --immutable --inline-builds
635
637
  - collapseable_section_end "yarninstall"
636
638
  - yarn test
637
639
  cache:
@@ -709,7 +711,7 @@ before_script:
709
711
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
710
712
  - collapseable_section_end "nodeinstall"
711
713
  - collapseable_section_start "yarninstall" "Yarn install"
712
- - yarn install --immutable
714
+ - yarn install --immutable --inline-builds
713
715
  - collapseable_section_end "yarninstall"
714
716
  - yarn build
715
717
  cache:
@@ -768,9 +770,11 @@ before_script:
768
770
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
769
771
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
770
772
  - |-
771
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
773
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
774
+ COPY --chown=node:node $APP_DIR .
772
775
  RUN yarn plugin import workspace-tools
773
- RUN yarn workspaces focus --production && yarn rebuild"
776
+ RUN yarn workspaces focus --production
777
+ RUN yarn rebuild"
774
778
  - |-
775
779
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
776
780
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
@@ -1058,7 +1062,7 @@ before_script:
1058
1062
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1059
1063
  - collapseable_section_end "nodeinstall"
1060
1064
  - collapseable_section_start "yarninstall" "Yarn install"
1061
- - yarn install --immutable
1065
+ - yarn install --immutable --inline-builds
1062
1066
  - collapseable_section_end "yarninstall"
1063
1067
  - yarn build
1064
1068
  cache:
@@ -1113,9 +1117,11 @@ before_script:
1113
1117
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
1114
1118
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1115
1119
  - |-
1116
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1120
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1121
+ COPY --chown=node:node $APP_DIR .
1117
1122
  RUN yarn plugin import workspace-tools
1118
- RUN yarn workspaces focus --production && yarn rebuild"
1123
+ RUN yarn workspaces focus --production
1124
+ RUN yarn rebuild"
1119
1125
  - |-
1120
1126
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
1121
1127
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
@@ -1388,7 +1394,7 @@ before_script:
1388
1394
  - if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
1389
1395
  - collapseable_section_end "nodeinstall"
1390
1396
  - collapseable_section_start "yarninstall" "Yarn install"
1391
- - yarn install --immutable
1397
+ - yarn install --immutable --inline-builds
1392
1398
  - collapseable_section_end "yarninstall"
1393
1399
  - yarn build
1394
1400
  cache:
@@ -1443,9 +1449,11 @@ before_script:
1443
1449
  - export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
1444
1450
  - export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
1445
1451
  - |-
1446
- export DOCKER_COPY_AND_INSTALL_APP="COPY --chown=node:node $APP_DIR .
1452
+ export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
1453
+ COPY --chown=node:node $APP_DIR .
1447
1454
  RUN yarn plugin import workspace-tools
1448
- RUN yarn workspaces focus --production && yarn rebuild"
1455
+ RUN yarn workspaces focus --production
1456
+ RUN yarn rebuild"
1449
1457
  - |-
1450
1458
  export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
1451
1459
  COPY --chown=node:node app/yarn.lock /app/app/yarn.lock