@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="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
|
|
@@ -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
|
|
@@ -578,7 +580,7 @@ before_script:
|
|
|
578
580
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
579
581
|
- collapseable_section_end "nodeinstall"
|
|
580
582
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
581
|
-
- yarn install --immutable
|
|
583
|
+
- yarn install --immutable --inline-builds
|
|
582
584
|
- collapseable_section_end "yarninstall"
|
|
583
585
|
- yarn lint
|
|
584
586
|
cache:
|
|
@@ -622,7 +624,7 @@ before_script:
|
|
|
622
624
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
623
625
|
- collapseable_section_end "nodeinstall"
|
|
624
626
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
625
|
-
- yarn install --immutable
|
|
627
|
+
- yarn install --immutable --inline-builds
|
|
626
628
|
- collapseable_section_end "yarninstall"
|
|
627
629
|
- yarn test
|
|
628
630
|
cache:
|
|
@@ -700,7 +702,7 @@ before_script:
|
|
|
700
702
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
701
703
|
- collapseable_section_end "nodeinstall"
|
|
702
704
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
703
|
-
- yarn install --immutable
|
|
705
|
+
- yarn install --immutable --inline-builds
|
|
704
706
|
- collapseable_section_end "yarninstall"
|
|
705
707
|
- yarn build
|
|
706
708
|
cache:
|
|
@@ -759,9 +761,11 @@ before_script:
|
|
|
759
761
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
760
762
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
761
763
|
- |-
|
|
762
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
764
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
765
|
+
COPY --chown=node:node $APP_DIR .
|
|
763
766
|
RUN yarn plugin import workspace-tools
|
|
764
|
-
RUN yarn workspaces focus --production
|
|
767
|
+
RUN yarn workspaces focus --production
|
|
768
|
+
RUN yarn rebuild"
|
|
765
769
|
- |-
|
|
766
770
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
767
771
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1040,7 +1044,7 @@ before_script:
|
|
|
1040
1044
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1041
1045
|
- collapseable_section_end "nodeinstall"
|
|
1042
1046
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1043
|
-
- yarn install --immutable
|
|
1047
|
+
- yarn install --immutable --inline-builds
|
|
1044
1048
|
- collapseable_section_end "yarninstall"
|
|
1045
1049
|
- yarn build
|
|
1046
1050
|
cache:
|
|
@@ -1095,9 +1099,11 @@ before_script:
|
|
|
1095
1099
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1096
1100
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1097
1101
|
- |-
|
|
1098
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1102
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1103
|
+
COPY --chown=node:node $APP_DIR .
|
|
1099
1104
|
RUN yarn plugin import workspace-tools
|
|
1100
|
-
RUN yarn workspaces focus --production
|
|
1105
|
+
RUN yarn workspaces focus --production
|
|
1106
|
+
RUN yarn rebuild"
|
|
1101
1107
|
- |-
|
|
1102
1108
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1103
1109
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1361,7 +1367,7 @@ before_script:
|
|
|
1361
1367
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1362
1368
|
- collapseable_section_end "nodeinstall"
|
|
1363
1369
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1364
|
-
- yarn install --immutable
|
|
1370
|
+
- yarn install --immutable --inline-builds
|
|
1365
1371
|
- collapseable_section_end "yarninstall"
|
|
1366
1372
|
- yarn build
|
|
1367
1373
|
cache:
|
|
@@ -1416,9 +1422,11 @@ before_script:
|
|
|
1416
1422
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1417
1423
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1418
1424
|
- |-
|
|
1419
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1425
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1426
|
+
COPY --chown=node:node $APP_DIR .
|
|
1420
1427
|
RUN yarn plugin import workspace-tools
|
|
1421
|
-
RUN yarn workspaces focus --production
|
|
1428
|
+
RUN yarn workspaces focus --production
|
|
1429
|
+
RUN yarn rebuild"
|
|
1422
1430
|
- |-
|
|
1423
1431
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1424
1432
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -156,7 +156,7 @@ before_script:
|
|
|
156
156
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
157
157
|
- collapseable_section_end "nodeinstall"
|
|
158
158
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
159
|
-
- yarn install --immutable
|
|
159
|
+
- yarn install --immutable --inline-builds
|
|
160
160
|
- collapseable_section_end "yarninstall"
|
|
161
161
|
- yarn build-storybook --quiet -o ./dist
|
|
162
162
|
cache:
|
|
@@ -215,9 +215,11 @@ before_script:
|
|
|
215
215
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
|
|
216
216
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
217
217
|
- |-
|
|
218
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
218
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
219
|
+
COPY --chown=node:node $APP_DIR .
|
|
219
220
|
RUN yarn plugin import workspace-tools
|
|
220
|
-
RUN yarn workspaces focus --production
|
|
221
|
+
RUN yarn workspaces focus --production
|
|
222
|
+
RUN yarn rebuild"
|
|
221
223
|
- |-
|
|
222
224
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
|
|
223
225
|
COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
|
|
@@ -464,7 +466,7 @@ before_script:
|
|
|
464
466
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
465
467
|
- collapseable_section_end "nodeinstall"
|
|
466
468
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
467
|
-
- yarn install --immutable
|
|
469
|
+
- yarn install --immutable --inline-builds
|
|
468
470
|
- collapseable_section_end "yarninstall"
|
|
469
471
|
- yarn build-storybook --quiet -o ./dist
|
|
470
472
|
cache:
|
|
@@ -523,9 +525,11 @@ before_script:
|
|
|
523
525
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
|
|
524
526
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
525
527
|
- |-
|
|
526
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
528
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
529
|
+
COPY --chown=node:node $APP_DIR .
|
|
527
530
|
RUN yarn plugin import workspace-tools
|
|
528
|
-
RUN yarn workspaces focus --production
|
|
531
|
+
RUN yarn workspaces focus --production
|
|
532
|
+
RUN yarn rebuild"
|
|
529
533
|
- |-
|
|
530
534
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
|
|
531
535
|
COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
|
|
@@ -780,7 +784,7 @@ before_script:
|
|
|
780
784
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
781
785
|
- collapseable_section_end "nodeinstall"
|
|
782
786
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
783
|
-
- yarn install --immutable
|
|
787
|
+
- yarn install --immutable --inline-builds
|
|
784
788
|
- collapseable_section_end "yarninstall"
|
|
785
789
|
- yarn build-storybook --quiet -o ./dist
|
|
786
790
|
cache:
|
|
@@ -835,9 +839,11 @@ before_script:
|
|
|
835
839
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
|
|
836
840
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
837
841
|
- |-
|
|
838
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
842
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
843
|
+
COPY --chown=node:node $APP_DIR .
|
|
839
844
|
RUN yarn plugin import workspace-tools
|
|
840
|
-
RUN yarn workspaces focus --production
|
|
845
|
+
RUN yarn workspaces focus --production
|
|
846
|
+
RUN yarn rebuild"
|
|
841
847
|
- |-
|
|
842
848
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
|
|
843
849
|
COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
|
|
@@ -1083,7 +1089,7 @@ before_script:
|
|
|
1083
1089
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1084
1090
|
- collapseable_section_end "nodeinstall"
|
|
1085
1091
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1086
|
-
- yarn install --immutable
|
|
1092
|
+
- yarn install --immutable --inline-builds
|
|
1087
1093
|
- collapseable_section_end "yarninstall"
|
|
1088
1094
|
- yarn build-storybook --quiet -o ./dist
|
|
1089
1095
|
cache:
|
|
@@ -1138,9 +1144,11 @@ before_script:
|
|
|
1138
1144
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/api"
|
|
1139
1145
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1140
1146
|
- |-
|
|
1141
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1147
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1148
|
+
COPY --chown=node:node $APP_DIR .
|
|
1142
1149
|
RUN yarn plugin import workspace-tools
|
|
1143
|
-
RUN yarn workspaces focus --production
|
|
1150
|
+
RUN yarn workspaces focus --production
|
|
1151
|
+
RUN yarn rebuild"
|
|
1144
1152
|
- |-
|
|
1145
1153
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
|
|
1146
1154
|
COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
|
|
@@ -149,7 +149,7 @@ before_script:
|
|
|
149
149
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
150
150
|
- collapseable_section_end "nodeinstall"
|
|
151
151
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
152
|
-
- yarn install --immutable
|
|
152
|
+
- yarn install --immutable --inline-builds
|
|
153
153
|
- collapseable_section_end "yarninstall"
|
|
154
154
|
- yarn lint
|
|
155
155
|
cache:
|
|
@@ -189,7 +189,7 @@ before_script:
|
|
|
189
189
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
190
190
|
- collapseable_section_end "nodeinstall"
|
|
191
191
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
192
|
-
- yarn install --immutable
|
|
192
|
+
- yarn install --immutable --inline-builds
|
|
193
193
|
- collapseable_section_end "yarninstall"
|
|
194
194
|
- yarn test
|
|
195
195
|
cache:
|
|
@@ -261,7 +261,7 @@ before_script:
|
|
|
261
261
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
262
262
|
- collapseable_section_end "nodeinstall"
|
|
263
263
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
264
|
-
- yarn install --immutable
|
|
264
|
+
- yarn install --immutable --inline-builds
|
|
265
265
|
- collapseable_section_end "yarninstall"
|
|
266
266
|
- yarn build
|
|
267
267
|
cache:
|
|
@@ -320,9 +320,11 @@ before_script:
|
|
|
320
320
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-agent-example-app/caches/www"
|
|
321
321
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
322
322
|
- |-
|
|
323
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
323
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
324
|
+
COPY --chown=node:node $APP_DIR .
|
|
324
325
|
RUN yarn plugin import workspace-tools
|
|
325
|
-
RUN yarn workspaces focus --production
|
|
326
|
+
RUN yarn workspaces focus --production
|
|
327
|
+
RUN yarn rebuild"
|
|
326
328
|
- |-
|
|
327
329
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
|
|
328
330
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -564,7 +566,7 @@ before_script:
|
|
|
564
566
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
565
567
|
- collapseable_section_end "nodeinstall"
|
|
566
568
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
567
|
-
- yarn install --immutable
|
|
569
|
+
- yarn install --immutable --inline-builds
|
|
568
570
|
- collapseable_section_end "yarninstall"
|
|
569
571
|
- yarn lint
|
|
570
572
|
cache:
|
|
@@ -608,7 +610,7 @@ before_script:
|
|
|
608
610
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
609
611
|
- collapseable_section_end "nodeinstall"
|
|
610
612
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
611
|
-
- yarn install --immutable
|
|
613
|
+
- yarn install --immutable --inline-builds
|
|
612
614
|
- collapseable_section_end "yarninstall"
|
|
613
615
|
- yarn test
|
|
614
616
|
cache:
|
|
@@ -684,7 +686,7 @@ before_script:
|
|
|
684
686
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
685
687
|
- collapseable_section_end "nodeinstall"
|
|
686
688
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
687
|
-
- yarn install --immutable
|
|
689
|
+
- yarn install --immutable --inline-builds
|
|
688
690
|
- collapseable_section_end "yarninstall"
|
|
689
691
|
- yarn build
|
|
690
692
|
cache:
|
|
@@ -749,9 +751,11 @@ before_script:
|
|
|
749
751
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-agent-example-app/caches/www"
|
|
750
752
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
751
753
|
- |-
|
|
752
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
754
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
755
|
+
COPY --chown=node:node $APP_DIR .
|
|
753
756
|
RUN yarn plugin import workspace-tools
|
|
754
|
-
RUN yarn workspaces focus --production
|
|
757
|
+
RUN yarn workspaces focus --production
|
|
758
|
+
RUN yarn rebuild"
|
|
755
759
|
- |-
|
|
756
760
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
|
|
757
761
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -1012,7 +1016,7 @@ before_script:
|
|
|
1012
1016
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1013
1017
|
- collapseable_section_end "nodeinstall"
|
|
1014
1018
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1015
|
-
- yarn install --immutable
|
|
1019
|
+
- yarn install --immutable --inline-builds
|
|
1016
1020
|
- collapseable_section_end "yarninstall"
|
|
1017
1021
|
- yarn build
|
|
1018
1022
|
cache:
|
|
@@ -1071,9 +1075,11 @@ before_script:
|
|
|
1071
1075
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-agent-example-app/caches/www"
|
|
1072
1076
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1073
1077
|
- |-
|
|
1074
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1078
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1079
|
+
COPY --chown=node:node $APP_DIR .
|
|
1075
1080
|
RUN yarn plugin import workspace-tools
|
|
1076
|
-
RUN yarn workspaces focus --production
|
|
1081
|
+
RUN yarn workspaces focus --production
|
|
1082
|
+
RUN yarn rebuild"
|
|
1077
1083
|
- |-
|
|
1078
1084
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
|
|
1079
1085
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -1319,7 +1325,7 @@ before_script:
|
|
|
1319
1325
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1320
1326
|
- collapseable_section_end "nodeinstall"
|
|
1321
1327
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1322
|
-
- yarn install --immutable
|
|
1328
|
+
- yarn install --immutable --inline-builds
|
|
1323
1329
|
- collapseable_section_end "yarninstall"
|
|
1324
1330
|
- yarn build
|
|
1325
1331
|
cache:
|
|
@@ -1378,9 +1384,11 @@ before_script:
|
|
|
1378
1384
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-agent-example-app/caches/www"
|
|
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 www/package.json /app/www/package.json
|
|
1386
1394
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -149,7 +149,7 @@ before_script:
|
|
|
149
149
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
150
150
|
- collapseable_section_end "nodeinstall"
|
|
151
151
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
152
|
-
- yarn install --immutable
|
|
152
|
+
- yarn install --immutable --inline-builds
|
|
153
153
|
- collapseable_section_end "yarninstall"
|
|
154
154
|
- yarn lint
|
|
155
155
|
cache:
|
|
@@ -189,7 +189,7 @@ before_script:
|
|
|
189
189
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
190
190
|
- collapseable_section_end "nodeinstall"
|
|
191
191
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
192
|
-
- yarn install --immutable
|
|
192
|
+
- yarn install --immutable --inline-builds
|
|
193
193
|
- collapseable_section_end "yarninstall"
|
|
194
194
|
- yarn test
|
|
195
195
|
cache:
|
|
@@ -261,7 +261,7 @@ before_script:
|
|
|
261
261
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
262
262
|
- collapseable_section_end "nodeinstall"
|
|
263
263
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
264
|
-
- yarn install --immutable
|
|
264
|
+
- yarn install --immutable --inline-builds
|
|
265
265
|
- collapseable_section_end "yarninstall"
|
|
266
266
|
- yarn build
|
|
267
267
|
cache:
|
|
@@ -316,9 +316,11 @@ before_script:
|
|
|
316
316
|
- export DOCKER_CACHE_IMAGE="europe-west4-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-west4-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-west4-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-west4-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
|