@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/www"
|
|
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 www/package.json /app/www/package.json
|
|
324
326
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -560,7 +562,7 @@ before_script:
|
|
|
560
562
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
561
563
|
- collapseable_section_end "nodeinstall"
|
|
562
564
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
563
|
-
- yarn install --immutable
|
|
565
|
+
- yarn install --immutable --inline-builds
|
|
564
566
|
- collapseable_section_end "yarninstall"
|
|
565
567
|
- yarn lint
|
|
566
568
|
cache:
|
|
@@ -604,7 +606,7 @@ before_script:
|
|
|
604
606
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
605
607
|
- collapseable_section_end "nodeinstall"
|
|
606
608
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
607
|
-
- yarn install --immutable
|
|
609
|
+
- yarn install --immutable --inline-builds
|
|
608
610
|
- collapseable_section_end "yarninstall"
|
|
609
611
|
- yarn test
|
|
610
612
|
cache:
|
|
@@ -680,7 +682,7 @@ before_script:
|
|
|
680
682
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
681
683
|
- collapseable_section_end "nodeinstall"
|
|
682
684
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
683
|
-
- yarn install --immutable
|
|
685
|
+
- yarn install --immutable --inline-builds
|
|
684
686
|
- collapseable_section_end "yarninstall"
|
|
685
687
|
- yarn build
|
|
686
688
|
cache:
|
|
@@ -739,9 +741,11 @@ before_script:
|
|
|
739
741
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/www"
|
|
740
742
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
741
743
|
- |-
|
|
742
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
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 www/package.json /app/www/package.json
|
|
747
751
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -1002,7 +1006,7 @@ before_script:
|
|
|
1002
1006
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1003
1007
|
- collapseable_section_end "nodeinstall"
|
|
1004
1008
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1005
|
-
- yarn install --immutable
|
|
1009
|
+
- yarn install --immutable --inline-builds
|
|
1006
1010
|
- collapseable_section_end "yarninstall"
|
|
1007
1011
|
- yarn build
|
|
1008
1012
|
cache:
|
|
@@ -1057,9 +1061,11 @@ before_script:
|
|
|
1057
1061
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/www"
|
|
1058
1062
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1059
1063
|
- |-
|
|
1060
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
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 www/package.json /app/www/package.json
|
|
1065
1071
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -1305,7 +1311,7 @@ before_script:
|
|
|
1305
1311
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1306
1312
|
- collapseable_section_end "nodeinstall"
|
|
1307
1313
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1308
|
-
- yarn install --immutable
|
|
1314
|
+
- yarn install --immutable --inline-builds
|
|
1309
1315
|
- collapseable_section_end "yarninstall"
|
|
1310
1316
|
- yarn build
|
|
1311
1317
|
cache:
|
|
@@ -1360,9 +1366,11 @@ before_script:
|
|
|
1360
1366
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/www"
|
|
1361
1367
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1362
1368
|
- |-
|
|
1363
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
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 www/package.json /app/www/package.json
|
|
1368
1376
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -149,7 +149,7 @@ before_script:
|
|
|
149
149
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
150
150
|
- collapseable_section_end "nodeinstall"
|
|
151
151
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
152
|
-
- yarn install --immutable
|
|
152
|
+
- yarn install --immutable --inline-builds
|
|
153
153
|
- collapseable_section_end "yarninstall"
|
|
154
154
|
- yarn lint
|
|
155
155
|
cache:
|
|
@@ -189,7 +189,7 @@ before_script:
|
|
|
189
189
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
190
190
|
- collapseable_section_end "nodeinstall"
|
|
191
191
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
192
|
-
- yarn install --immutable
|
|
192
|
+
- yarn install --immutable --inline-builds
|
|
193
193
|
- collapseable_section_end "yarninstall"
|
|
194
194
|
- yarn test
|
|
195
195
|
cache:
|
|
@@ -261,7 +261,7 @@ before_script:
|
|
|
261
261
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
262
262
|
- collapseable_section_end "nodeinstall"
|
|
263
263
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
264
|
-
- yarn install --immutable
|
|
264
|
+
- yarn install --immutable --inline-builds
|
|
265
265
|
- collapseable_section_end "yarninstall"
|
|
266
266
|
- yarn build
|
|
267
267
|
cache:
|
|
@@ -318,9 +318,11 @@ before_script:
|
|
|
318
318
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/www"
|
|
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 www/package.json /app/www/package.json
|
|
326
328
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -562,7 +564,7 @@ before_script:
|
|
|
562
564
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
563
565
|
- collapseable_section_end "nodeinstall"
|
|
564
566
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
565
|
-
- yarn install --immutable
|
|
567
|
+
- yarn install --immutable --inline-builds
|
|
566
568
|
- collapseable_section_end "yarninstall"
|
|
567
569
|
- yarn lint
|
|
568
570
|
cache:
|
|
@@ -606,7 +608,7 @@ before_script:
|
|
|
606
608
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
607
609
|
- collapseable_section_end "nodeinstall"
|
|
608
610
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
609
|
-
- yarn install --immutable
|
|
611
|
+
- yarn install --immutable --inline-builds
|
|
610
612
|
- collapseable_section_end "yarninstall"
|
|
611
613
|
- yarn test
|
|
612
614
|
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:
|
|
@@ -743,9 +745,11 @@ before_script:
|
|
|
743
745
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/www"
|
|
744
746
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
745
747
|
- |-
|
|
746
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
748
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
749
|
+
COPY --chown=node:node $APP_DIR .
|
|
747
750
|
RUN yarn plugin import workspace-tools
|
|
748
|
-
RUN yarn workspaces focus --production
|
|
751
|
+
RUN yarn workspaces focus --production
|
|
752
|
+
RUN yarn rebuild"
|
|
749
753
|
- |-
|
|
750
754
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
|
|
751
755
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -1006,7 +1010,7 @@ before_script:
|
|
|
1006
1010
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1007
1011
|
- collapseable_section_end "nodeinstall"
|
|
1008
1012
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1009
|
-
- yarn install --immutable
|
|
1013
|
+
- yarn install --immutable --inline-builds
|
|
1010
1014
|
- collapseable_section_end "yarninstall"
|
|
1011
1015
|
- yarn build
|
|
1012
1016
|
cache:
|
|
@@ -1063,9 +1067,11 @@ before_script:
|
|
|
1063
1067
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/www"
|
|
1064
1068
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1065
1069
|
- |-
|
|
1066
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1070
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1071
|
+
COPY --chown=node:node $APP_DIR .
|
|
1067
1072
|
RUN yarn plugin import workspace-tools
|
|
1068
|
-
RUN yarn workspaces focus --production
|
|
1073
|
+
RUN yarn workspaces focus --production
|
|
1074
|
+
RUN yarn rebuild"
|
|
1069
1075
|
- |-
|
|
1070
1076
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
|
|
1071
1077
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -1311,7 +1317,7 @@ before_script:
|
|
|
1311
1317
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1312
1318
|
- collapseable_section_end "nodeinstall"
|
|
1313
1319
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1314
|
-
- yarn install --immutable
|
|
1320
|
+
- yarn install --immutable --inline-builds
|
|
1315
1321
|
- collapseable_section_end "yarninstall"
|
|
1316
1322
|
- yarn build
|
|
1317
1323
|
cache:
|
|
@@ -1368,9 +1374,11 @@ before_script:
|
|
|
1368
1374
|
- export DOCKER_CACHE_IMAGE="asia-east1-docker.pkg.dev/asdf/catladder-deploy/pan-test-app/caches/www"
|
|
1369
1375
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1370
1376
|
- |-
|
|
1371
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1377
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1378
|
+
COPY --chown=node:node $APP_DIR .
|
|
1372
1379
|
RUN yarn plugin import workspace-tools
|
|
1373
|
-
RUN yarn workspaces focus --production
|
|
1380
|
+
RUN yarn workspaces focus --production
|
|
1381
|
+
RUN yarn rebuild"
|
|
1374
1382
|
- |-
|
|
1375
1383
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
|
|
1376
1384
|
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:
|
|
@@ -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/my-project-id/catladder-deploy/pan-test-app/caches/my-app"
|
|
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 app/package.json /app/app/package.json
|
|
326
328
|
COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
|
|
@@ -565,7 +567,7 @@ before_script:
|
|
|
565
567
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
566
568
|
- collapseable_section_end "nodeinstall"
|
|
567
569
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
568
|
-
- yarn install --immutable
|
|
570
|
+
- yarn install --immutable --inline-builds
|
|
569
571
|
- collapseable_section_end "yarninstall"
|
|
570
572
|
- yarn lint
|
|
571
573
|
cache:
|
|
@@ -609,7 +611,7 @@ before_script:
|
|
|
609
611
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
610
612
|
- collapseable_section_end "nodeinstall"
|
|
611
613
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
612
|
-
- yarn install --immutable
|
|
614
|
+
- yarn install --immutable --inline-builds
|
|
613
615
|
- collapseable_section_end "yarninstall"
|
|
614
616
|
- yarn test
|
|
615
617
|
cache:
|
|
@@ -689,7 +691,7 @@ before_script:
|
|
|
689
691
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
690
692
|
- collapseable_section_end "nodeinstall"
|
|
691
693
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
692
|
-
- yarn install --immutable
|
|
694
|
+
- yarn install --immutable --inline-builds
|
|
693
695
|
- collapseable_section_end "yarninstall"
|
|
694
696
|
- yarn build
|
|
695
697
|
cache:
|
|
@@ -748,9 +750,11 @@ before_script:
|
|
|
748
750
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/my-project-id/catladder-deploy/pan-test-app/caches/my-app"
|
|
749
751
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
750
752
|
- |-
|
|
751
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
753
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
754
|
+
COPY --chown=node:node $APP_DIR .
|
|
752
755
|
RUN yarn plugin import workspace-tools
|
|
753
|
-
RUN yarn workspaces focus --production
|
|
756
|
+
RUN yarn workspaces focus --production
|
|
757
|
+
RUN yarn rebuild"
|
|
754
758
|
- |-
|
|
755
759
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
|
|
756
760
|
COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
|
|
@@ -1019,7 +1023,7 @@ before_script:
|
|
|
1019
1023
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1020
1024
|
- collapseable_section_end "nodeinstall"
|
|
1021
1025
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1022
|
-
- yarn install --immutable
|
|
1026
|
+
- yarn install --immutable --inline-builds
|
|
1023
1027
|
- collapseable_section_end "yarninstall"
|
|
1024
1028
|
- yarn build
|
|
1025
1029
|
cache:
|
|
@@ -1074,9 +1078,11 @@ before_script:
|
|
|
1074
1078
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/my-project-id/catladder-deploy/pan-test-app/caches/my-app"
|
|
1075
1079
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1076
1080
|
- |-
|
|
1077
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1081
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1082
|
+
COPY --chown=node:node $APP_DIR .
|
|
1078
1083
|
RUN yarn plugin import workspace-tools
|
|
1079
|
-
RUN yarn workspaces focus --production
|
|
1084
|
+
RUN yarn workspaces focus --production
|
|
1085
|
+
RUN yarn rebuild"
|
|
1080
1086
|
- |-
|
|
1081
1087
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
|
|
1082
1088
|
COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
|
|
@@ -1327,7 +1333,7 @@ before_script:
|
|
|
1327
1333
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1328
1334
|
- collapseable_section_end "nodeinstall"
|
|
1329
1335
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1330
|
-
- yarn install --immutable
|
|
1336
|
+
- yarn install --immutable --inline-builds
|
|
1331
1337
|
- collapseable_section_end "yarninstall"
|
|
1332
1338
|
- yarn build
|
|
1333
1339
|
cache:
|
|
@@ -1382,9 +1388,11 @@ before_script:
|
|
|
1382
1388
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/my-project-id/catladder-deploy/pan-test-app/caches/my-app"
|
|
1383
1389
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1384
1390
|
- |-
|
|
1385
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1391
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1392
|
+
COPY --chown=node:node $APP_DIR .
|
|
1386
1393
|
RUN yarn plugin import workspace-tools
|
|
1387
|
-
RUN yarn workspaces focus --production
|
|
1394
|
+
RUN yarn workspaces focus --production
|
|
1395
|
+
RUN yarn rebuild"
|
|
1388
1396
|
- |-
|
|
1389
1397
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node app/package.json /app/app/package.json
|
|
1390
1398
|
COPY --chown=node:node app/yarn.lock /app/app/yarn.lock
|