@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:
|
|
@@ -273,7 +273,7 @@ before_script:
|
|
|
273
273
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
274
274
|
- collapseable_section_end "nodeinstall"
|
|
275
275
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
276
|
-
- yarn install --immutable
|
|
276
|
+
- yarn install --immutable --inline-builds
|
|
277
277
|
- collapseable_section_end "yarninstall"
|
|
278
278
|
- yarn build
|
|
279
279
|
cache:
|
|
@@ -328,9 +328,11 @@ before_script:
|
|
|
328
328
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
329
329
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
330
330
|
- |-
|
|
331
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
331
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
332
|
+
COPY --chown=node:node $APP_DIR .
|
|
332
333
|
RUN yarn plugin import workspace-tools
|
|
333
|
-
RUN yarn workspaces focus --production
|
|
334
|
+
RUN yarn workspaces focus --production
|
|
335
|
+
RUN yarn rebuild"
|
|
334
336
|
- |-
|
|
335
337
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
336
338
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -594,7 +596,7 @@ before_script:
|
|
|
594
596
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
595
597
|
- collapseable_section_end "nodeinstall"
|
|
596
598
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
597
|
-
- yarn install --immutable
|
|
599
|
+
- yarn install --immutable --inline-builds
|
|
598
600
|
- collapseable_section_end "yarninstall"
|
|
599
601
|
- yarn lint
|
|
600
602
|
cache:
|
|
@@ -638,7 +640,7 @@ before_script:
|
|
|
638
640
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
639
641
|
- collapseable_section_end "nodeinstall"
|
|
640
642
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
641
|
-
- yarn install --immutable
|
|
643
|
+
- yarn install --immutable --inline-builds
|
|
642
644
|
- collapseable_section_end "yarninstall"
|
|
643
645
|
- yarn test
|
|
644
646
|
cache:
|
|
@@ -726,7 +728,7 @@ before_script:
|
|
|
726
728
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
727
729
|
- collapseable_section_end "nodeinstall"
|
|
728
730
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
729
|
-
- yarn install --immutable
|
|
731
|
+
- yarn install --immutable --inline-builds
|
|
730
732
|
- collapseable_section_end "yarninstall"
|
|
731
733
|
- yarn build
|
|
732
734
|
cache:
|
|
@@ -785,9 +787,11 @@ before_script:
|
|
|
785
787
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
786
788
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
787
789
|
- |-
|
|
788
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
790
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
791
|
+
COPY --chown=node:node $APP_DIR .
|
|
789
792
|
RUN yarn plugin import workspace-tools
|
|
790
|
-
RUN yarn workspaces focus --production
|
|
793
|
+
RUN yarn workspaces focus --production
|
|
794
|
+
RUN yarn rebuild"
|
|
791
795
|
- |-
|
|
792
796
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
793
797
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1085,7 +1089,7 @@ before_script:
|
|
|
1085
1089
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1086
1090
|
- collapseable_section_end "nodeinstall"
|
|
1087
1091
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1088
|
-
- yarn install --immutable
|
|
1092
|
+
- yarn install --immutable --inline-builds
|
|
1089
1093
|
- collapseable_section_end "yarninstall"
|
|
1090
1094
|
- yarn build
|
|
1091
1095
|
cache:
|
|
@@ -1140,9 +1144,11 @@ before_script:
|
|
|
1140
1144
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1141
1145
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1142
1146
|
- |-
|
|
1143
|
-
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 .
|
|
1144
1149
|
RUN yarn plugin import workspace-tools
|
|
1145
|
-
RUN yarn workspaces focus --production
|
|
1150
|
+
RUN yarn workspaces focus --production
|
|
1151
|
+
RUN yarn rebuild"
|
|
1146
1152
|
- |-
|
|
1147
1153
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1148
1154
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1422,7 +1428,7 @@ before_script:
|
|
|
1422
1428
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1423
1429
|
- collapseable_section_end "nodeinstall"
|
|
1424
1430
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1425
|
-
- yarn install --immutable
|
|
1431
|
+
- yarn install --immutable --inline-builds
|
|
1426
1432
|
- collapseable_section_end "yarninstall"
|
|
1427
1433
|
- yarn build
|
|
1428
1434
|
cache:
|
|
@@ -1477,9 +1483,11 @@ before_script:
|
|
|
1477
1483
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1478
1484
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1479
1485
|
- |-
|
|
1480
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1486
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1487
|
+
COPY --chown=node:node $APP_DIR .
|
|
1481
1488
|
RUN yarn plugin import workspace-tools
|
|
1482
|
-
RUN yarn workspaces focus --production
|
|
1489
|
+
RUN yarn workspaces focus --production
|
|
1490
|
+
RUN yarn rebuild"
|
|
1483
1491
|
- |-
|
|
1484
1492
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1485
1493
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1736,7 +1744,7 @@ before_script:
|
|
|
1736
1744
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1737
1745
|
- collapseable_section_end "nodeinstall"
|
|
1738
1746
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1739
|
-
- yarn install --immutable
|
|
1747
|
+
- yarn install --immutable --inline-builds
|
|
1740
1748
|
- collapseable_section_end "yarninstall"
|
|
1741
1749
|
- yarn lint
|
|
1742
1750
|
cache:
|
|
@@ -1776,7 +1784,7 @@ before_script:
|
|
|
1776
1784
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1777
1785
|
- collapseable_section_end "nodeinstall"
|
|
1778
1786
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1779
|
-
- yarn install --immutable
|
|
1787
|
+
- yarn install --immutable --inline-builds
|
|
1780
1788
|
- collapseable_section_end "yarninstall"
|
|
1781
1789
|
- yarn test
|
|
1782
1790
|
cache:
|
|
@@ -1860,7 +1868,7 @@ before_script:
|
|
|
1860
1868
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1861
1869
|
- collapseable_section_end "nodeinstall"
|
|
1862
1870
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1863
|
-
- yarn install --immutable
|
|
1871
|
+
- yarn install --immutable --inline-builds
|
|
1864
1872
|
- collapseable_section_end "yarninstall"
|
|
1865
1873
|
- yarn build:worker
|
|
1866
1874
|
cache:
|
|
@@ -1915,9 +1923,11 @@ before_script:
|
|
|
1915
1923
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/worker"
|
|
1916
1924
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1917
1925
|
- |-
|
|
1918
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1926
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1927
|
+
COPY --chown=node:node $APP_DIR .
|
|
1919
1928
|
RUN yarn plugin import workspace-tools
|
|
1920
|
-
RUN yarn workspaces focus --production
|
|
1929
|
+
RUN yarn workspaces focus --production
|
|
1930
|
+
RUN yarn rebuild"
|
|
1921
1931
|
- |-
|
|
1922
1932
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1923
1933
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -2181,7 +2191,7 @@ before_script:
|
|
|
2181
2191
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2182
2192
|
- collapseable_section_end "nodeinstall"
|
|
2183
2193
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
2184
|
-
- yarn install --immutable
|
|
2194
|
+
- yarn install --immutable --inline-builds
|
|
2185
2195
|
- collapseable_section_end "yarninstall"
|
|
2186
2196
|
- yarn lint
|
|
2187
2197
|
cache:
|
|
@@ -2225,7 +2235,7 @@ before_script:
|
|
|
2225
2235
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2226
2236
|
- collapseable_section_end "nodeinstall"
|
|
2227
2237
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
2228
|
-
- yarn install --immutable
|
|
2238
|
+
- yarn install --immutable --inline-builds
|
|
2229
2239
|
- collapseable_section_end "yarninstall"
|
|
2230
2240
|
- yarn test
|
|
2231
2241
|
cache:
|
|
@@ -2313,7 +2323,7 @@ before_script:
|
|
|
2313
2323
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2314
2324
|
- collapseable_section_end "nodeinstall"
|
|
2315
2325
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
2316
|
-
- yarn install --immutable
|
|
2326
|
+
- yarn install --immutable --inline-builds
|
|
2317
2327
|
- collapseable_section_end "yarninstall"
|
|
2318
2328
|
- yarn build:worker
|
|
2319
2329
|
cache:
|
|
@@ -2372,9 +2382,11 @@ before_script:
|
|
|
2372
2382
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/worker"
|
|
2373
2383
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
2374
2384
|
- |-
|
|
2375
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
2385
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
2386
|
+
COPY --chown=node:node $APP_DIR .
|
|
2376
2387
|
RUN yarn plugin import workspace-tools
|
|
2377
|
-
RUN yarn workspaces focus --production
|
|
2388
|
+
RUN yarn workspaces focus --production
|
|
2389
|
+
RUN yarn rebuild"
|
|
2378
2390
|
- |-
|
|
2379
2391
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
2380
2392
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -2672,7 +2684,7 @@ before_script:
|
|
|
2672
2684
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2673
2685
|
- collapseable_section_end "nodeinstall"
|
|
2674
2686
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
2675
|
-
- yarn install --immutable
|
|
2687
|
+
- yarn install --immutable --inline-builds
|
|
2676
2688
|
- collapseable_section_end "yarninstall"
|
|
2677
2689
|
- yarn build:worker
|
|
2678
2690
|
cache:
|
|
@@ -2727,9 +2739,11 @@ before_script:
|
|
|
2727
2739
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/worker"
|
|
2728
2740
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
2729
2741
|
- |-
|
|
2730
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
2742
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
2743
|
+
COPY --chown=node:node $APP_DIR .
|
|
2731
2744
|
RUN yarn plugin import workspace-tools
|
|
2732
|
-
RUN yarn workspaces focus --production
|
|
2745
|
+
RUN yarn workspaces focus --production
|
|
2746
|
+
RUN yarn rebuild"
|
|
2733
2747
|
- |-
|
|
2734
2748
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
2735
2749
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -3009,7 +3023,7 @@ before_script:
|
|
|
3009
3023
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
3010
3024
|
- collapseable_section_end "nodeinstall"
|
|
3011
3025
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
3012
|
-
- yarn install --immutable
|
|
3026
|
+
- yarn install --immutable --inline-builds
|
|
3013
3027
|
- collapseable_section_end "yarninstall"
|
|
3014
3028
|
- yarn build:worker
|
|
3015
3029
|
cache:
|
|
@@ -3064,9 +3078,11 @@ before_script:
|
|
|
3064
3078
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/worker"
|
|
3065
3079
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
3066
3080
|
- |-
|
|
3067
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
3081
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
3082
|
+
COPY --chown=node:node $APP_DIR .
|
|
3068
3083
|
RUN yarn plugin import workspace-tools
|
|
3069
|
-
RUN yarn workspaces focus --production
|
|
3084
|
+
RUN yarn workspaces focus --production
|
|
3085
|
+
RUN yarn rebuild"
|
|
3070
3086
|
- |-
|
|
3071
3087
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
3072
3088
|
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:
|
|
@@ -279,7 +279,7 @@ before_script:
|
|
|
279
279
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
280
280
|
- collapseable_section_end "nodeinstall"
|
|
281
281
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
282
|
-
- yarn install --immutable
|
|
282
|
+
- yarn install --immutable --inline-builds
|
|
283
283
|
- collapseable_section_end "yarninstall"
|
|
284
284
|
- yarn build
|
|
285
285
|
cache:
|
|
@@ -334,9 +334,11 @@ before_script:
|
|
|
334
334
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
335
335
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
336
336
|
- |-
|
|
337
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
337
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
338
|
+
COPY --chown=node:node $APP_DIR .
|
|
338
339
|
RUN yarn plugin import workspace-tools
|
|
339
|
-
RUN yarn workspaces focus --production
|
|
340
|
+
RUN yarn workspaces focus --production
|
|
341
|
+
RUN yarn rebuild"
|
|
340
342
|
- |-
|
|
341
343
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
342
344
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -670,7 +672,7 @@ before_script:
|
|
|
670
672
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
671
673
|
- collapseable_section_end "nodeinstall"
|
|
672
674
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
673
|
-
- yarn install --immutable
|
|
675
|
+
- yarn install --immutable --inline-builds
|
|
674
676
|
- collapseable_section_end "yarninstall"
|
|
675
677
|
- yarn lint
|
|
676
678
|
cache:
|
|
@@ -714,7 +716,7 @@ before_script:
|
|
|
714
716
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
715
717
|
- collapseable_section_end "nodeinstall"
|
|
716
718
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
717
|
-
- yarn install --immutable
|
|
719
|
+
- yarn install --immutable --inline-builds
|
|
718
720
|
- collapseable_section_end "yarninstall"
|
|
719
721
|
- yarn test
|
|
720
722
|
cache:
|
|
@@ -808,7 +810,7 @@ before_script:
|
|
|
808
810
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
809
811
|
- collapseable_section_end "nodeinstall"
|
|
810
812
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
811
|
-
- yarn install --immutable
|
|
813
|
+
- yarn install --immutable --inline-builds
|
|
812
814
|
- collapseable_section_end "yarninstall"
|
|
813
815
|
- yarn build
|
|
814
816
|
cache:
|
|
@@ -867,9 +869,11 @@ before_script:
|
|
|
867
869
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
868
870
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
869
871
|
- |-
|
|
870
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
872
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
873
|
+
COPY --chown=node:node $APP_DIR .
|
|
871
874
|
RUN yarn plugin import workspace-tools
|
|
872
|
-
RUN yarn workspaces focus --production
|
|
875
|
+
RUN yarn workspaces focus --production
|
|
876
|
+
RUN yarn rebuild"
|
|
873
877
|
- |-
|
|
874
878
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
875
879
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1235,7 +1239,7 @@ before_script:
|
|
|
1235
1239
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1236
1240
|
- collapseable_section_end "nodeinstall"
|
|
1237
1241
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1238
|
-
- yarn install --immutable
|
|
1242
|
+
- yarn install --immutable --inline-builds
|
|
1239
1243
|
- collapseable_section_end "yarninstall"
|
|
1240
1244
|
- yarn build
|
|
1241
1245
|
cache:
|
|
@@ -1290,9 +1294,11 @@ before_script:
|
|
|
1290
1294
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1291
1295
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1292
1296
|
- |-
|
|
1293
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1297
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1298
|
+
COPY --chown=node:node $APP_DIR .
|
|
1294
1299
|
RUN yarn plugin import workspace-tools
|
|
1295
|
-
RUN yarn workspaces focus --production
|
|
1300
|
+
RUN yarn workspaces focus --production
|
|
1301
|
+
RUN yarn rebuild"
|
|
1296
1302
|
- |-
|
|
1297
1303
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1298
1304
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1646,7 +1652,7 @@ before_script:
|
|
|
1646
1652
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1647
1653
|
- collapseable_section_end "nodeinstall"
|
|
1648
1654
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1649
|
-
- yarn install --immutable
|
|
1655
|
+
- yarn install --immutable --inline-builds
|
|
1650
1656
|
- collapseable_section_end "yarninstall"
|
|
1651
1657
|
- yarn build
|
|
1652
1658
|
cache:
|
|
@@ -1701,9 +1707,11 @@ before_script:
|
|
|
1701
1707
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1702
1708
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1703
1709
|
- |-
|
|
1704
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1710
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1711
|
+
COPY --chown=node:node $APP_DIR .
|
|
1705
1712
|
RUN yarn plugin import workspace-tools
|
|
1706
|
-
RUN yarn workspaces focus --production
|
|
1713
|
+
RUN yarn workspaces focus --production
|
|
1714
|
+
RUN yarn rebuild"
|
|
1707
1715
|
- |-
|
|
1708
1716
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1709
1717
|
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
|
|
@@ -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:
|
|
@@ -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
|
|
@@ -1004,7 +1008,7 @@ before_script:
|
|
|
1004
1008
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1005
1009
|
- collapseable_section_end "nodeinstall"
|
|
1006
1010
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1007
|
-
- yarn install --immutable
|
|
1011
|
+
- yarn install --immutable --inline-builds
|
|
1008
1012
|
- collapseable_section_end "yarninstall"
|
|
1009
1013
|
- yarn build
|
|
1010
1014
|
cache:
|
|
@@ -1059,9 +1063,11 @@ before_script:
|
|
|
1059
1063
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1060
1064
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1061
1065
|
- |-
|
|
1062
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1066
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1067
|
+
COPY --chown=node:node $APP_DIR .
|
|
1063
1068
|
RUN yarn plugin import workspace-tools
|
|
1064
|
-
RUN yarn workspaces focus --production
|
|
1069
|
+
RUN yarn workspaces focus --production
|
|
1070
|
+
RUN yarn rebuild"
|
|
1065
1071
|
- |-
|
|
1066
1072
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1067
1073
|
COPY --chown=node:node api/yarn.lock /app/api/yarn.lock
|
|
@@ -1309,7 +1315,7 @@ before_script:
|
|
|
1309
1315
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1310
1316
|
- collapseable_section_end "nodeinstall"
|
|
1311
1317
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1312
|
-
- yarn install --immutable
|
|
1318
|
+
- yarn install --immutable --inline-builds
|
|
1313
1319
|
- collapseable_section_end "yarninstall"
|
|
1314
1320
|
- yarn build
|
|
1315
1321
|
cache:
|
|
@@ -1364,9 +1370,11 @@ before_script:
|
|
|
1364
1370
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1365
1371
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1366
1372
|
- |-
|
|
1367
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1373
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1374
|
+
COPY --chown=node:node $APP_DIR .
|
|
1368
1375
|
RUN yarn plugin import workspace-tools
|
|
1369
|
-
RUN yarn workspaces focus --production
|
|
1376
|
+
RUN yarn workspaces focus --production
|
|
1377
|
+
RUN yarn rebuild"
|
|
1370
1378
|
- |-
|
|
1371
1379
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node api/package.json /app/api/package.json
|
|
1372
1380
|
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:
|
|
@@ -253,7 +253,7 @@ before_script:
|
|
|
253
253
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
254
254
|
- collapseable_section_end "nodeinstall"
|
|
255
255
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
256
|
-
- yarn install --immutable
|
|
256
|
+
- yarn install --immutable --inline-builds
|
|
257
257
|
- collapseable_section_end "yarninstall"
|
|
258
258
|
- yarn build
|
|
259
259
|
cache:
|
|
@@ -309,9 +309,11 @@ before_script:
|
|
|
309
309
|
- export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
|
|
310
310
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
311
311
|
- |-
|
|
312
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
312
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
313
|
+
COPY --chown=node:node $APP_DIR .
|
|
313
314
|
RUN yarn plugin import workspace-tools
|
|
314
|
-
RUN yarn workspaces focus --production
|
|
315
|
+
RUN yarn workspaces focus --production
|
|
316
|
+
RUN yarn rebuild"
|
|
315
317
|
- |-
|
|
316
318
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
|
|
317
319
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -466,7 +468,7 @@ before_script:
|
|
|
466
468
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
467
469
|
- collapseable_section_end "nodeinstall"
|
|
468
470
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
469
|
-
- yarn install --immutable
|
|
471
|
+
- yarn install --immutable --inline-builds
|
|
470
472
|
- collapseable_section_end "yarninstall"
|
|
471
473
|
- yarn lint
|
|
472
474
|
cache:
|
|
@@ -510,7 +512,7 @@ before_script:
|
|
|
510
512
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
511
513
|
- collapseable_section_end "nodeinstall"
|
|
512
514
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
513
|
-
- yarn install --immutable
|
|
515
|
+
- yarn install --immutable --inline-builds
|
|
514
516
|
- collapseable_section_end "yarninstall"
|
|
515
517
|
- yarn test
|
|
516
518
|
cache:
|
|
@@ -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 build
|
|
584
586
|
cache:
|
|
@@ -638,9 +640,11 @@ before_script:
|
|
|
638
640
|
- export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
|
|
639
641
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
640
642
|
- |-
|
|
641
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
643
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
644
|
+
COPY --chown=node:node $APP_DIR .
|
|
642
645
|
RUN yarn plugin import workspace-tools
|
|
643
|
-
RUN yarn workspaces focus --production
|
|
646
|
+
RUN yarn workspaces focus --production
|
|
647
|
+
RUN yarn rebuild"
|
|
644
648
|
- |-
|
|
645
649
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
|
|
646
650
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -831,7 +835,7 @@ before_script:
|
|
|
831
835
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
832
836
|
- collapseable_section_end "nodeinstall"
|
|
833
837
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
834
|
-
- yarn install --immutable
|
|
838
|
+
- yarn install --immutable --inline-builds
|
|
835
839
|
- collapseable_section_end "yarninstall"
|
|
836
840
|
- yarn build
|
|
837
841
|
cache:
|
|
@@ -887,9 +891,11 @@ before_script:
|
|
|
887
891
|
- export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
|
|
888
892
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
889
893
|
- |-
|
|
890
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
894
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
895
|
+
COPY --chown=node:node $APP_DIR .
|
|
891
896
|
RUN yarn plugin import workspace-tools
|
|
892
|
-
RUN yarn workspaces focus --production
|
|
897
|
+
RUN yarn workspaces focus --production
|
|
898
|
+
RUN yarn rebuild"
|
|
893
899
|
- |-
|
|
894
900
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
|
|
895
901
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|
|
@@ -1041,7 +1047,7 @@ before_script:
|
|
|
1041
1047
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1042
1048
|
- collapseable_section_end "nodeinstall"
|
|
1043
1049
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1044
|
-
- yarn install --immutable
|
|
1050
|
+
- yarn install --immutable --inline-builds
|
|
1045
1051
|
- collapseable_section_end "yarninstall"
|
|
1046
1052
|
- yarn build
|
|
1047
1053
|
cache:
|
|
@@ -1097,9 +1103,11 @@ before_script:
|
|
|
1097
1103
|
- export DOCKER_IMAGE="$CI_REGISTRY_IMAGE/$DOCKER_IMAGE_NAME"
|
|
1098
1104
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1099
1105
|
- |-
|
|
1100
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1106
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1107
|
+
COPY --chown=node:node $APP_DIR .
|
|
1101
1108
|
RUN yarn plugin import workspace-tools
|
|
1102
|
-
RUN yarn workspaces focus --production
|
|
1109
|
+
RUN yarn workspaces focus --production
|
|
1110
|
+
RUN yarn rebuild"
|
|
1103
1111
|
- |-
|
|
1104
1112
|
export DOCKER_COPY_WORKSPACE_FILES="COPY --chown=node:node www/package.json /app/www/package.json
|
|
1105
1113
|
COPY --chown=node:node www/yarn.lock /app/www/yarn.lock
|