@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/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
@@ -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/www"
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 www/package.json /app/www/package.json
747
751
  COPY --chown=node:node www/yarn.lock /app/www/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/www"
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 www/package.json /app/www/package.json
1065
1071
  COPY --chown=node:node www/yarn.lock /app/www/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/www"
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 www/package.json /app/www/package.json
1368
1376
  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/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
@@ -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/www"
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 www/package.json /app/www/package.json
747
751
  COPY --chown=node:node www/yarn.lock /app/www/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/www"
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 www/package.json /app/www/package.json
1065
1071
  COPY --chown=node:node www/yarn.lock /app/www/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/www"
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 www/package.json /app/www/package.json
1368
1376
  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/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
@@ -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/www"
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 www/package.json /app/www/package.json
747
751
  COPY --chown=node:node www/yarn.lock /app/www/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/www"
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 www/package.json /app/www/package.json
1065
1071
  COPY --chown=node:node www/yarn.lock /app/www/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/www"
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 www/package.json /app/www/package.json
1368
1376
  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/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
@@ -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/www"
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 www/package.json /app/www/package.json
747
751
  COPY --chown=node:node www/yarn.lock /app/www/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/www"
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 www/package.json /app/www/package.json
1065
1071
  COPY --chown=node:node www/yarn.lock /app/www/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/www"
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 www/package.json /app/www/package.json
1368
1376
  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