@catladder/pipeline 3.26.0 → 3.27.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.
- package/dist/build/node/yarn.js +3 -2
- package/dist/constants.js +1 -1
- package/dist/deploy/types/googleCloudRun.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/examples/__snapshots__/automatic-releases.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-http2.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +8 -8
- package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +12 -8
- package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +48 -36
- package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +32 -24
- package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +16 -12
- package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +16 -12
- package/examples/__snapshots__/custom-deploy.test.ts.snap +16 -12
- package/examples/__snapshots__/custom-envs.test.ts.snap +14 -14
- package/examples/__snapshots__/custom-verify-job.test.ts.snap +16 -12
- package/examples/__snapshots__/git-submodule.test.ts.snap +16 -12
- package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +16 -12
- package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +16 -12
- package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +32 -24
- package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +16 -12
- package/examples/__snapshots__/local-dot-env.test.ts.snap +16 -12
- package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +8 -8
- package/examples/__snapshots__/modify-generated-files.test.ts.snap +8 -8
- package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +8 -8
- package/examples/__snapshots__/multiline-var.test.ts.snap +48 -36
- package/examples/__snapshots__/native-app.test.ts.snap +24 -20
- package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +16 -12
- package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +16 -12
- package/examples/__snapshots__/override-secrets.test.ts.snap +16 -12
- package/examples/__snapshots__/referencing-other-vars.test.ts.snap +48 -36
- package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +16 -16
- package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +24 -16
- package/examples/__snapshots__/workspace-api-www.test.ts.snap +24 -16
- package/package.json +1 -1
- package/src/build/node/yarn.ts +3 -2
- package/src/deploy/types/googleCloudRun.ts +1 -1
|
@@ -149,7 +149,7 @@ before_script:
|
|
|
149
149
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
150
150
|
- collapseable_section_end "nodeinstall"
|
|
151
151
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
152
|
-
- yarn install --immutable
|
|
152
|
+
- yarn install --immutable --inline-builds
|
|
153
153
|
- collapseable_section_end "yarninstall"
|
|
154
154
|
- yarn lint
|
|
155
155
|
cache:
|
|
@@ -189,7 +189,7 @@ before_script:
|
|
|
189
189
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
190
190
|
- collapseable_section_end "nodeinstall"
|
|
191
191
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
192
|
-
- yarn install --immutable
|
|
192
|
+
- yarn install --immutable --inline-builds
|
|
193
193
|
- collapseable_section_end "yarninstall"
|
|
194
194
|
- yarn test
|
|
195
195
|
cache:
|
|
@@ -253,7 +253,7 @@ before_script:
|
|
|
253
253
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
254
254
|
- collapseable_section_end "nodeinstall"
|
|
255
255
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
256
|
-
- yarn install --immutable
|
|
256
|
+
- yarn install --immutable --inline-builds
|
|
257
257
|
- collapseable_section_end "yarninstall"
|
|
258
258
|
- yarn build
|
|
259
259
|
cache:
|
|
@@ -398,7 +398,7 @@ before_script:
|
|
|
398
398
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
399
399
|
- collapseable_section_end "nodeinstall"
|
|
400
400
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
401
|
-
- yarn install --immutable
|
|
401
|
+
- yarn install --immutable --inline-builds
|
|
402
402
|
- collapseable_section_end "yarninstall"
|
|
403
403
|
- yarn lint
|
|
404
404
|
cache:
|
|
@@ -442,7 +442,7 @@ before_script:
|
|
|
442
442
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
443
443
|
- collapseable_section_end "nodeinstall"
|
|
444
444
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
445
|
-
- yarn install --immutable
|
|
445
|
+
- yarn install --immutable --inline-builds
|
|
446
446
|
- collapseable_section_end "yarninstall"
|
|
447
447
|
- yarn test
|
|
448
448
|
cache:
|
|
@@ -510,7 +510,7 @@ before_script:
|
|
|
510
510
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
511
511
|
- collapseable_section_end "nodeinstall"
|
|
512
512
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
513
|
-
- yarn install --immutable
|
|
513
|
+
- yarn install --immutable --inline-builds
|
|
514
514
|
- collapseable_section_end "yarninstall"
|
|
515
515
|
- yarn build
|
|
516
516
|
cache:
|
|
@@ -662,7 +662,7 @@ before_script:
|
|
|
662
662
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
663
663
|
- collapseable_section_end "nodeinstall"
|
|
664
664
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
665
|
-
- yarn install --immutable
|
|
665
|
+
- yarn install --immutable --inline-builds
|
|
666
666
|
- collapseable_section_end "yarninstall"
|
|
667
667
|
- yarn build
|
|
668
668
|
cache:
|
|
@@ -804,7 +804,7 @@ before_script:
|
|
|
804
804
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
805
805
|
- collapseable_section_end "nodeinstall"
|
|
806
806
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
807
|
-
- yarn install --immutable
|
|
807
|
+
- yarn install --immutable --inline-builds
|
|
808
808
|
- collapseable_section_end "yarninstall"
|
|
809
809
|
- yarn build
|
|
810
810
|
cache:
|
|
@@ -943,7 +943,7 @@ before_script:
|
|
|
943
943
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
944
944
|
- collapseable_section_end "nodeinstall"
|
|
945
945
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
946
|
-
- yarn install --immutable
|
|
946
|
+
- yarn install --immutable --inline-builds
|
|
947
947
|
- collapseable_section_end "yarninstall"
|
|
948
948
|
- yarn lint
|
|
949
949
|
cache:
|
|
@@ -983,7 +983,7 @@ before_script:
|
|
|
983
983
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
984
984
|
- collapseable_section_end "nodeinstall"
|
|
985
985
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
986
|
-
- yarn install --immutable
|
|
986
|
+
- yarn install --immutable --inline-builds
|
|
987
987
|
- collapseable_section_end "yarninstall"
|
|
988
988
|
- yarn test
|
|
989
989
|
cache:
|
|
@@ -1047,7 +1047,7 @@ before_script:
|
|
|
1047
1047
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1048
1048
|
- collapseable_section_end "nodeinstall"
|
|
1049
1049
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1050
|
-
- yarn install --immutable
|
|
1050
|
+
- yarn install --immutable --inline-builds
|
|
1051
1051
|
- collapseable_section_end "yarninstall"
|
|
1052
1052
|
- yarn build
|
|
1053
1053
|
cache:
|
|
@@ -1194,7 +1194,7 @@ before_script:
|
|
|
1194
1194
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1195
1195
|
- collapseable_section_end "nodeinstall"
|
|
1196
1196
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1197
|
-
- yarn install --immutable
|
|
1197
|
+
- yarn install --immutable --inline-builds
|
|
1198
1198
|
- collapseable_section_end "yarninstall"
|
|
1199
1199
|
- yarn lint
|
|
1200
1200
|
cache:
|
|
@@ -1238,7 +1238,7 @@ before_script:
|
|
|
1238
1238
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1239
1239
|
- collapseable_section_end "nodeinstall"
|
|
1240
1240
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1241
|
-
- yarn install --immutable
|
|
1241
|
+
- yarn install --immutable --inline-builds
|
|
1242
1242
|
- collapseable_section_end "yarninstall"
|
|
1243
1243
|
- yarn test
|
|
1244
1244
|
cache:
|
|
@@ -1306,7 +1306,7 @@ before_script:
|
|
|
1306
1306
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1307
1307
|
- collapseable_section_end "nodeinstall"
|
|
1308
1308
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1309
|
-
- yarn install --immutable
|
|
1309
|
+
- yarn install --immutable --inline-builds
|
|
1310
1310
|
- collapseable_section_end "yarninstall"
|
|
1311
1311
|
- yarn build
|
|
1312
1312
|
cache:
|
|
@@ -1460,7 +1460,7 @@ before_script:
|
|
|
1460
1460
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1461
1461
|
- collapseable_section_end "nodeinstall"
|
|
1462
1462
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1463
|
-
- yarn install --immutable
|
|
1463
|
+
- yarn install --immutable --inline-builds
|
|
1464
1464
|
- collapseable_section_end "yarninstall"
|
|
1465
1465
|
- yarn build
|
|
1466
1466
|
cache:
|
|
@@ -1604,7 +1604,7 @@ before_script:
|
|
|
1604
1604
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1605
1605
|
- collapseable_section_end "nodeinstall"
|
|
1606
1606
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1607
|
-
- yarn install --immutable
|
|
1607
|
+
- yarn install --immutable --inline-builds
|
|
1608
1608
|
- collapseable_section_end "yarninstall"
|
|
1609
1609
|
- yarn build
|
|
1610
1610
|
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:
|
|
@@ -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:
|
|
@@ -344,7 +344,7 @@ before_script:
|
|
|
344
344
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
345
345
|
- collapseable_section_end "nodeinstall"
|
|
346
346
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
347
|
-
- yarn install --immutable
|
|
347
|
+
- yarn install --immutable --inline-builds
|
|
348
348
|
- collapseable_section_end "yarninstall"
|
|
349
349
|
- yarn lint
|
|
350
350
|
cache:
|
|
@@ -388,7 +388,7 @@ before_script:
|
|
|
388
388
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
389
389
|
- collapseable_section_end "nodeinstall"
|
|
390
390
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
391
|
-
- yarn install --immutable
|
|
391
|
+
- yarn install --immutable --inline-builds
|
|
392
392
|
- collapseable_section_end "yarninstall"
|
|
393
393
|
- yarn test
|
|
394
394
|
cache:
|
|
@@ -466,7 +466,7 @@ before_script:
|
|
|
466
466
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
467
467
|
- collapseable_section_end "nodeinstall"
|
|
468
468
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
469
|
-
- yarn install --immutable
|
|
469
|
+
- yarn install --immutable --inline-builds
|
|
470
470
|
- collapseable_section_end "yarninstall"
|
|
471
471
|
- yarn build
|
|
472
472
|
cache:
|
|
@@ -566,7 +566,7 @@ before_script:
|
|
|
566
566
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
567
567
|
- collapseable_section_end "nodeinstall"
|
|
568
568
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
569
|
-
- yarn install --immutable
|
|
569
|
+
- yarn install --immutable --inline-builds
|
|
570
570
|
- collapseable_section_end "yarninstall"
|
|
571
571
|
- yarn build
|
|
572
572
|
cache:
|
|
@@ -660,7 +660,7 @@ before_script:
|
|
|
660
660
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
661
661
|
- collapseable_section_end "nodeinstall"
|
|
662
662
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
663
|
-
- yarn install --immutable
|
|
663
|
+
- yarn install --immutable --inline-builds
|
|
664
664
|
- collapseable_section_end "yarninstall"
|
|
665
665
|
- yarn build
|
|
666
666
|
cache:
|
|
@@ -724,7 +724,8 @@ before_script:
|
|
|
724
724
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
725
725
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
726
726
|
- |-
|
|
727
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
727
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
728
|
+
COPY --chown=node:node $APP_DIR .
|
|
728
729
|
RUN yarn plugin import workspace-tools
|
|
729
730
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
730
731
|
- |-
|
|
@@ -950,7 +951,8 @@ before_script:
|
|
|
950
951
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
951
952
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
952
953
|
- |-
|
|
953
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
954
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
955
|
+
COPY --chown=node:node $APP_DIR .
|
|
954
956
|
RUN yarn plugin import workspace-tools
|
|
955
957
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
956
958
|
- |-
|
|
@@ -1184,7 +1186,8 @@ before_script:
|
|
|
1184
1186
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1185
1187
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1186
1188
|
- |-
|
|
1187
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1189
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1190
|
+
COPY --chown=node:node $APP_DIR .
|
|
1188
1191
|
RUN yarn plugin import workspace-tools
|
|
1189
1192
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1190
1193
|
- |-
|
|
@@ -1403,7 +1406,8 @@ before_script:
|
|
|
1403
1406
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1404
1407
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1405
1408
|
- |-
|
|
1406
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1409
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1410
|
+
COPY --chown=node:node $APP_DIR .
|
|
1407
1411
|
RUN yarn plugin import workspace-tools
|
|
1408
1412
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1409
1413
|
- |-
|
|
@@ -1622,7 +1626,8 @@ before_script:
|
|
|
1622
1626
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
|
|
1623
1627
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1624
1628
|
- |-
|
|
1625
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1629
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1630
|
+
COPY --chown=node:node $APP_DIR .
|
|
1626
1631
|
RUN yarn plugin import workspace-tools
|
|
1627
1632
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1628
1633
|
- |-
|
|
@@ -1851,7 +1856,8 @@ before_script:
|
|
|
1851
1856
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
|
|
1852
1857
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1853
1858
|
- |-
|
|
1854
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1859
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1860
|
+
COPY --chown=node:node $APP_DIR .
|
|
1855
1861
|
RUN yarn plugin import workspace-tools
|
|
1856
1862
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1857
1863
|
- |-
|
|
@@ -2088,7 +2094,8 @@ before_script:
|
|
|
2088
2094
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
|
|
2089
2095
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
2090
2096
|
- |-
|
|
2091
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
2097
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
2098
|
+
COPY --chown=node:node $APP_DIR .
|
|
2092
2099
|
RUN yarn plugin import workspace-tools
|
|
2093
2100
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
2094
2101
|
- |-
|
|
@@ -2310,7 +2317,8 @@ before_script:
|
|
|
2310
2317
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
|
|
2311
2318
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
2312
2319
|
- |-
|
|
2313
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
2320
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
2321
|
+
COPY --chown=node:node $APP_DIR .
|
|
2314
2322
|
RUN yarn plugin import workspace-tools
|
|
2315
2323
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
2316
2324
|
- |-
|
|
@@ -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:
|
|
@@ -342,7 +342,7 @@ before_script:
|
|
|
342
342
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
343
343
|
- collapseable_section_end "nodeinstall"
|
|
344
344
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
345
|
-
- yarn install --immutable
|
|
345
|
+
- yarn install --immutable --inline-builds
|
|
346
346
|
- collapseable_section_end "yarninstall"
|
|
347
347
|
- yarn lint
|
|
348
348
|
cache:
|
|
@@ -386,7 +386,7 @@ before_script:
|
|
|
386
386
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
387
387
|
- collapseable_section_end "nodeinstall"
|
|
388
388
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
389
|
-
- yarn install --immutable
|
|
389
|
+
- yarn install --immutable --inline-builds
|
|
390
390
|
- collapseable_section_end "yarninstall"
|
|
391
391
|
- yarn test
|
|
392
392
|
cache:
|
|
@@ -464,7 +464,7 @@ before_script:
|
|
|
464
464
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
465
465
|
- collapseable_section_end "nodeinstall"
|
|
466
466
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
467
|
-
- yarn install --immutable
|
|
467
|
+
- yarn install --immutable --inline-builds
|
|
468
468
|
- collapseable_section_end "yarninstall"
|
|
469
469
|
- yarn build
|
|
470
470
|
cache:
|
|
@@ -562,7 +562,7 @@ before_script:
|
|
|
562
562
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
563
563
|
- collapseable_section_end "nodeinstall"
|
|
564
564
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
565
|
-
- yarn install --immutable
|
|
565
|
+
- yarn install --immutable --inline-builds
|
|
566
566
|
- collapseable_section_end "yarninstall"
|
|
567
567
|
- yarn build
|
|
568
568
|
cache:
|
|
@@ -654,7 +654,7 @@ before_script:
|
|
|
654
654
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
655
655
|
- collapseable_section_end "nodeinstall"
|
|
656
656
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
657
|
-
- yarn install --immutable
|
|
657
|
+
- yarn install --immutable --inline-builds
|
|
658
658
|
- collapseable_section_end "yarninstall"
|
|
659
659
|
- yarn build
|
|
660
660
|
cache:
|
|
@@ -716,7 +716,8 @@ before_script:
|
|
|
716
716
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
717
717
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
718
718
|
- |-
|
|
719
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
719
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
720
|
+
COPY --chown=node:node $APP_DIR .
|
|
720
721
|
RUN yarn plugin import workspace-tools
|
|
721
722
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
722
723
|
- |-
|
|
@@ -942,7 +943,8 @@ before_script:
|
|
|
942
943
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
943
944
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
944
945
|
- |-
|
|
945
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
946
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
947
|
+
COPY --chown=node:node $APP_DIR .
|
|
946
948
|
RUN yarn plugin import workspace-tools
|
|
947
949
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
948
950
|
- |-
|
|
@@ -1176,7 +1178,8 @@ before_script:
|
|
|
1176
1178
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1177
1179
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1178
1180
|
- |-
|
|
1179
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1181
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1182
|
+
COPY --chown=node:node $APP_DIR .
|
|
1180
1183
|
RUN yarn plugin import workspace-tools
|
|
1181
1184
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1182
1185
|
- |-
|
|
@@ -1395,7 +1398,8 @@ before_script:
|
|
|
1395
1398
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1396
1399
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1397
1400
|
- |-
|
|
1398
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1401
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1402
|
+
COPY --chown=node:node $APP_DIR .
|
|
1399
1403
|
RUN yarn plugin import workspace-tools
|
|
1400
1404
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1401
1405
|
- |-
|
|
@@ -1614,7 +1618,8 @@ before_script:
|
|
|
1614
1618
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
|
|
1615
1619
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1616
1620
|
- |-
|
|
1617
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1621
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1622
|
+
COPY --chown=node:node $APP_DIR .
|
|
1618
1623
|
RUN yarn plugin import workspace-tools
|
|
1619
1624
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1620
1625
|
- |-
|
|
@@ -1843,7 +1848,8 @@ before_script:
|
|
|
1843
1848
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
|
|
1844
1849
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1845
1850
|
- |-
|
|
1846
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1851
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1852
|
+
COPY --chown=node:node $APP_DIR .
|
|
1847
1853
|
RUN yarn plugin import workspace-tools
|
|
1848
1854
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1849
1855
|
- |-
|
|
@@ -2080,7 +2086,8 @@ before_script:
|
|
|
2080
2086
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
|
|
2081
2087
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
2082
2088
|
- |-
|
|
2083
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
2089
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
2090
|
+
COPY --chown=node:node $APP_DIR .
|
|
2084
2091
|
RUN yarn plugin import workspace-tools
|
|
2085
2092
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
2086
2093
|
- |-
|
|
@@ -2302,7 +2309,8 @@ before_script:
|
|
|
2302
2309
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/www"
|
|
2303
2310
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
2304
2311
|
- |-
|
|
2305
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
2312
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
2313
|
+
COPY --chown=node:node $APP_DIR .
|
|
2306
2314
|
RUN yarn plugin import workspace-tools
|
|
2307
2315
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
2308
2316
|
- |-
|
package/package.json
CHANGED
package/src/build/node/yarn.ts
CHANGED
|
@@ -12,8 +12,8 @@ const getYarnInstallCommand = (context: Context) => {
|
|
|
12
12
|
if (context.packageManagerInfo.isClassic) {
|
|
13
13
|
return YARN_INSTALL_CLASSIC;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
return `yarn install --immutable`;
|
|
15
|
+
// inline builds make debugging easier as it prints it out in the logs, instead of writing it in temp files
|
|
16
|
+
return `yarn install --immutable --inline-builds`;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
export const ensureNodeVersion = (context: Context) =>
|
|
@@ -78,6 +78,7 @@ RUN ${YARN_INSTALL_CLASSIC} --production
|
|
|
78
78
|
// rebuild first does not work as it will run postinstall and that might require files in the app
|
|
79
79
|
return new BashExpression(
|
|
80
80
|
`
|
|
81
|
+
ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
81
82
|
${DOCKER_COPY_FILES}
|
|
82
83
|
${maybeAddWorkspaceToolsCommand}
|
|
83
84
|
RUN ${YARN_BERRY_PROD_REBUILD}
|
|
@@ -559,7 +559,7 @@ export type DeployConfigCloudRunExecuteHttp = {
|
|
|
559
559
|
/**
|
|
560
560
|
* the http-method to use. Defaults to "POST" (as specified by google cloud scheduler)
|
|
561
561
|
*/
|
|
562
|
-
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
562
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "PURGE";
|
|
563
563
|
|
|
564
564
|
/**
|
|
565
565
|
* the body to send
|