@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.
- package/dist/build/node/yarn.d.ts +2 -1
- package/dist/build/node/yarn.js +7 -3
- package/dist/build/types.d.ts +6 -0
- 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 +24 -16
- package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-http2.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +8 -8
- package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +20 -12
- package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +72 -48
- package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +48 -32
- package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +24 -16
- package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +24 -16
- package/examples/__snapshots__/custom-deploy.test.ts.snap +24 -16
- package/examples/__snapshots__/custom-envs.test.ts.snap +14 -14
- package/examples/__snapshots__/custom-verify-job.test.ts.snap +24 -16
- package/examples/__snapshots__/git-submodule.test.ts.snap +24 -16
- package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +24 -16
- package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +24 -16
- package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +48 -32
- package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +24 -16
- package/examples/__snapshots__/local-dot-env.test.ts.snap +24 -16
- 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 +72 -48
- package/examples/__snapshots__/native-app.test.ts.snap +32 -24
- package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +24 -16
- package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +24 -16
- package/examples/__snapshots__/override-secrets.test.ts.snap +24 -16
- package/examples/__snapshots__/referencing-other-vars.test.ts.snap +72 -48
- package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +16 -16
- package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +40 -24
- package/examples/__snapshots__/workspace-api-www.test.ts.snap +40 -24
- package/package.json +1 -1
- package/src/build/node/yarn.ts +18 -5
- package/src/build/types.ts +6 -0
- 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="asia-east1-docker.pkg.dev/asdf/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="
|
|
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
|
|
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="asia-east1-docker.pkg.dev/asdf/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="
|
|
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
|
|
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="asia-east1-docker.pkg.dev/asdf/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="
|
|
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
|
|
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="asia-east1-docker.pkg.dev/asdf/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="
|
|
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
|
|
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:
|
|
@@ -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="
|
|
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
|
|
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:
|
|
@@ -682,7 +684,7 @@ before_script:
|
|
|
682
684
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
683
685
|
- collapseable_section_end "nodeinstall"
|
|
684
686
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
685
|
-
- yarn install --immutable
|
|
687
|
+
- yarn install --immutable --inline-builds
|
|
686
688
|
- collapseable_section_end "yarninstall"
|
|
687
689
|
- yarn build
|
|
688
690
|
cache:
|
|
@@ -741,9 +743,11 @@ before_script:
|
|
|
741
743
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
742
744
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
743
745
|
- |-
|
|
744
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
746
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
747
|
+
COPY --chown=node:node $APP_DIR .
|
|
745
748
|
RUN yarn plugin import workspace-tools
|
|
746
|
-
RUN yarn workspaces focus --production
|
|
749
|
+
RUN yarn workspaces focus --production
|
|
750
|
+
RUN yarn rebuild"
|
|
747
751
|
- |-
|
|
748
752
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
749
753
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1020,7 +1024,7 @@ before_script:
|
|
|
1020
1024
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1021
1025
|
- collapseable_section_end "nodeinstall"
|
|
1022
1026
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1023
|
-
- yarn install --immutable
|
|
1027
|
+
- yarn install --immutable --inline-builds
|
|
1024
1028
|
- collapseable_section_end "yarninstall"
|
|
1025
1029
|
- yarn build
|
|
1026
1030
|
cache:
|
|
@@ -1075,9 +1079,11 @@ before_script:
|
|
|
1075
1079
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1076
1080
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1077
1081
|
- |-
|
|
1078
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1082
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1083
|
+
COPY --chown=node:node $APP_DIR .
|
|
1079
1084
|
RUN yarn plugin import workspace-tools
|
|
1080
|
-
RUN yarn workspaces focus --production
|
|
1085
|
+
RUN yarn workspaces focus --production
|
|
1086
|
+
RUN yarn rebuild"
|
|
1081
1087
|
- |-
|
|
1082
1088
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1083
1089
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1323,7 +1329,7 @@ before_script:
|
|
|
1323
1329
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1324
1330
|
- collapseable_section_end "nodeinstall"
|
|
1325
1331
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1326
|
-
- yarn install --immutable
|
|
1332
|
+
- yarn install --immutable --inline-builds
|
|
1327
1333
|
- collapseable_section_end "yarninstall"
|
|
1328
1334
|
- yarn build
|
|
1329
1335
|
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/api"
|
|
1379
1385
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1380
1386
|
- |-
|
|
1381
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
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
|
|
1390
|
+
RUN yarn workspaces focus --production
|
|
1391
|
+
RUN yarn rebuild"
|
|
1384
1392
|
- |-
|
|
1385
1393
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1386
1394
|
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="europe-west6-docker.pkg.dev/google-project-id/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="
|
|
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
|
|
324
|
+
RUN yarn workspaces focus --production
|
|
325
|
+
RUN yarn rebuild"
|
|
324
326
|
- |-
|
|
325
327
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
326
328
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -577,7 +579,7 @@ before_script:
|
|
|
577
579
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
578
580
|
- collapseable_section_end "nodeinstall"
|
|
579
581
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
580
|
-
- yarn install --immutable
|
|
582
|
+
- yarn install --immutable --inline-builds
|
|
581
583
|
- collapseable_section_end "yarninstall"
|
|
582
584
|
- yarn lint
|
|
583
585
|
cache:
|
|
@@ -621,7 +623,7 @@ before_script:
|
|
|
621
623
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
622
624
|
- collapseable_section_end "nodeinstall"
|
|
623
625
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
624
|
-
- yarn install --immutable
|
|
626
|
+
- yarn install --immutable --inline-builds
|
|
625
627
|
- collapseable_section_end "yarninstall"
|
|
626
628
|
- yarn test
|
|
627
629
|
cache:
|
|
@@ -699,7 +701,7 @@ before_script:
|
|
|
699
701
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
700
702
|
- collapseable_section_end "nodeinstall"
|
|
701
703
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
702
|
-
- yarn install --immutable
|
|
704
|
+
- yarn install --immutable --inline-builds
|
|
703
705
|
- collapseable_section_end "yarninstall"
|
|
704
706
|
- yarn build
|
|
705
707
|
cache:
|
|
@@ -758,9 +760,11 @@ before_script:
|
|
|
758
760
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
759
761
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
760
762
|
- |-
|
|
761
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
763
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
764
|
+
COPY --chown=node:node $APP_DIR .
|
|
762
765
|
RUN yarn plugin import workspace-tools
|
|
763
|
-
RUN yarn workspaces focus --production
|
|
766
|
+
RUN yarn workspaces focus --production
|
|
767
|
+
RUN yarn rebuild"
|
|
764
768
|
- |-
|
|
765
769
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
766
770
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1038,7 +1042,7 @@ before_script:
|
|
|
1038
1042
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1039
1043
|
- collapseable_section_end "nodeinstall"
|
|
1040
1044
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1041
|
-
- yarn install --immutable
|
|
1045
|
+
- yarn install --immutable --inline-builds
|
|
1042
1046
|
- collapseable_section_end "yarninstall"
|
|
1043
1047
|
- yarn build
|
|
1044
1048
|
cache:
|
|
@@ -1093,9 +1097,11 @@ before_script:
|
|
|
1093
1097
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1094
1098
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1095
1099
|
- |-
|
|
1096
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1100
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1101
|
+
COPY --chown=node:node $APP_DIR .
|
|
1097
1102
|
RUN yarn plugin import workspace-tools
|
|
1098
|
-
RUN yarn workspaces focus --production
|
|
1103
|
+
RUN yarn workspaces focus --production
|
|
1104
|
+
RUN yarn rebuild"
|
|
1099
1105
|
- |-
|
|
1100
1106
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1101
1107
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1358,7 +1364,7 @@ before_script:
|
|
|
1358
1364
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1359
1365
|
- collapseable_section_end "nodeinstall"
|
|
1360
1366
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1361
|
-
- yarn install --immutable
|
|
1367
|
+
- yarn install --immutable --inline-builds
|
|
1362
1368
|
- collapseable_section_end "yarninstall"
|
|
1363
1369
|
- yarn build
|
|
1364
1370
|
cache:
|
|
@@ -1413,9 +1419,11 @@ before_script:
|
|
|
1413
1419
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1414
1420
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1415
1421
|
- |-
|
|
1416
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1422
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1423
|
+
COPY --chown=node:node $APP_DIR .
|
|
1417
1424
|
RUN yarn plugin import workspace-tools
|
|
1418
|
-
RUN yarn workspaces focus --production
|
|
1425
|
+
RUN yarn workspaces focus --production
|
|
1426
|
+
RUN yarn rebuild"
|
|
1419
1427
|
- |-
|
|
1420
1428
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1421
1429
|
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="europe-west6-docker.pkg.dev/google-project-id/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="
|
|
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
|
|
324
|
+
RUN yarn workspaces focus --production
|
|
325
|
+
RUN yarn rebuild"
|
|
324
326
|
- |-
|
|
325
327
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
326
328
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -577,7 +579,7 @@ before_script:
|
|
|
577
579
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
578
580
|
- collapseable_section_end "nodeinstall"
|
|
579
581
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
580
|
-
- yarn install --immutable
|
|
582
|
+
- yarn install --immutable --inline-builds
|
|
581
583
|
- collapseable_section_end "yarninstall"
|
|
582
584
|
- yarn lint
|
|
583
585
|
cache:
|
|
@@ -621,7 +623,7 @@ before_script:
|
|
|
621
623
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
622
624
|
- collapseable_section_end "nodeinstall"
|
|
623
625
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
624
|
-
- yarn install --immutable
|
|
626
|
+
- yarn install --immutable --inline-builds
|
|
625
627
|
- collapseable_section_end "yarninstall"
|
|
626
628
|
- yarn test
|
|
627
629
|
cache:
|
|
@@ -699,7 +701,7 @@ before_script:
|
|
|
699
701
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
700
702
|
- collapseable_section_end "nodeinstall"
|
|
701
703
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
702
|
-
- yarn install --immutable
|
|
704
|
+
- yarn install --immutable --inline-builds
|
|
703
705
|
- collapseable_section_end "yarninstall"
|
|
704
706
|
- yarn build
|
|
705
707
|
cache:
|
|
@@ -758,9 +760,11 @@ before_script:
|
|
|
758
760
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
759
761
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
760
762
|
- |-
|
|
761
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
763
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
764
|
+
COPY --chown=node:node $APP_DIR .
|
|
762
765
|
RUN yarn plugin import workspace-tools
|
|
763
|
-
RUN yarn workspaces focus --production
|
|
766
|
+
RUN yarn workspaces focus --production
|
|
767
|
+
RUN yarn rebuild"
|
|
764
768
|
- |-
|
|
765
769
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
766
770
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1038,7 +1042,7 @@ before_script:
|
|
|
1038
1042
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1039
1043
|
- collapseable_section_end "nodeinstall"
|
|
1040
1044
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1041
|
-
- yarn install --immutable
|
|
1045
|
+
- yarn install --immutable --inline-builds
|
|
1042
1046
|
- collapseable_section_end "yarninstall"
|
|
1043
1047
|
- yarn build
|
|
1044
1048
|
cache:
|
|
@@ -1093,9 +1097,11 @@ before_script:
|
|
|
1093
1097
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1094
1098
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1095
1099
|
- |-
|
|
1096
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1100
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1101
|
+
COPY --chown=node:node $APP_DIR .
|
|
1097
1102
|
RUN yarn plugin import workspace-tools
|
|
1098
|
-
RUN yarn workspaces focus --production
|
|
1103
|
+
RUN yarn workspaces focus --production
|
|
1104
|
+
RUN yarn rebuild"
|
|
1099
1105
|
- |-
|
|
1100
1106
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1101
1107
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1358,7 +1364,7 @@ before_script:
|
|
|
1358
1364
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1359
1365
|
- collapseable_section_end "nodeinstall"
|
|
1360
1366
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1361
|
-
- yarn install --immutable
|
|
1367
|
+
- yarn install --immutable --inline-builds
|
|
1362
1368
|
- collapseable_section_end "yarninstall"
|
|
1363
1369
|
- yarn build
|
|
1364
1370
|
cache:
|
|
@@ -1413,9 +1419,11 @@ before_script:
|
|
|
1413
1419
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1414
1420
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1415
1421
|
- |-
|
|
1416
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1422
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1423
|
+
COPY --chown=node:node $APP_DIR .
|
|
1417
1424
|
RUN yarn plugin import workspace-tools
|
|
1418
|
-
RUN yarn workspaces focus --production
|
|
1425
|
+
RUN yarn workspaces focus --production
|
|
1426
|
+
RUN yarn rebuild"
|
|
1419
1427
|
- |-
|
|
1420
1428
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1421
1429
|
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:
|
|
@@ -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="
|
|
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
|
|
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="
|
|
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
|
|
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="
|
|
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
|
|
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="
|
|
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
|
|
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
|