@catladder/pipeline 3.25.0 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/custom/testJob.js +1 -2
- package/dist/build/node/testJob.js +1 -2
- package/dist/build/node/yarn.js +3 -2
- package/dist/build/rails/test.js +1 -2
- package/dist/constants.js +1 -1
- package/dist/deploy/types/googleCloudRun.d.ts +1 -1
- package/dist/pipeline/agent/createAgentReviewJob.js +1 -0
- package/dist/pipeline/agent/shared.d.ts +1 -1
- package/dist/pipeline/agent/shared.js +0 -1
- package/dist/pipeline/createMainPipeline.js +1 -0
- package/dist/pipeline/gitlab/cache.d.ts +9 -0
- package/dist/pipeline/gitlab/cache.js +47 -0
- package/dist/pipeline/gitlab/createGitlabJobs.js +7 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/jobs.d.ts +2 -3
- package/examples/__snapshots__/automatic-releases.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-health-check-defaults.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-health-check-only-startup.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-health-check.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-http2.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-memory-limit.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-meteor-with-worker.test.ts.snap +133 -27
- package/examples/__snapshots__/cloud-run-nextjs.test.ts.snap +144 -32
- package/examples/__snapshots__/cloud-run-no-cpu-throttling.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-no-service.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-non-public.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-post-stop-job.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-service-custom-vpc-connector.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-service-custom-vpc.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-service-gen2.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-service-increase-timout.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-service-with-volumes.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-storybook.test.ts.snap +21 -11
- package/examples/__snapshots__/cloud-run-with-agents.test.ts.snap +144 -32
- package/examples/__snapshots__/cloud-run-with-gpu.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-with-ngnix.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-with-sql-legacy-jobs.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-with-sql-multiple-dbs.test.ts.snap +423 -93
- package/examples/__snapshots__/cloud-run-with-sql-reuse-db.test.ts.snap +282 -62
- package/examples/__snapshots__/cloud-run-with-sql.test.ts.snap +141 -31
- package/examples/__snapshots__/cloud-run-with-worker.test.ts.snap +141 -31
- package/examples/__snapshots__/custom-build-job-with-tests.test.ts.snap +93 -22
- package/examples/__snapshots__/custom-deploy.test.ts.snap +141 -31
- package/examples/__snapshots__/custom-envs.test.ts.snap +328 -40
- package/examples/__snapshots__/custom-verify-job.test.ts.snap +144 -32
- package/examples/__snapshots__/git-submodule.test.ts.snap +141 -31
- package/examples/__snapshots__/kubernetes-application-customization.test.ts.snap +141 -31
- package/examples/__snapshots__/kubernetes-with-cloud-sql.test.ts.snap +141 -31
- package/examples/__snapshots__/kubernetes-with-jobs.test.ts.snap +282 -62
- package/examples/__snapshots__/kubernetes-with-mongodb.test.ts.snap +141 -31
- package/examples/__snapshots__/local-dot-env.test.ts.snap +141 -31
- package/examples/__snapshots__/meteor-kubernetes.test.ts.snap +133 -27
- package/examples/__snapshots__/modify-generated-files.test.ts.snap +124 -20
- package/examples/__snapshots__/modify-generated-yaml.test.ts.snap +124 -20
- package/examples/__snapshots__/multiline-var.test.ts.snap +423 -93
- package/examples/__snapshots__/native-app.test.ts.snap +277 -57
- package/examples/__snapshots__/node-build-with-custom-image.test.ts.snap +141 -31
- package/examples/__snapshots__/node-build-with-docker-additions.test.ts.snap +141 -31
- package/examples/__snapshots__/override-secrets.test.ts.snap +141 -31
- package/examples/__snapshots__/rails-k8s-with-worker-dockerfile.test.ts.snap +84 -22
- package/examples/__snapshots__/rails-k8s-with-worker.test.ts.snap +84 -22
- package/examples/__snapshots__/referencing-other-vars.test.ts.snap +423 -93
- package/examples/__snapshots__/wait-for-other-deploy.test.ts.snap +260 -52
- package/examples/__snapshots__/workspace-api-www-turbo-cache.test.ts.snap +161 -43
- package/examples/__snapshots__/workspace-api-www.test.ts.snap +161 -43
- package/package.json +1 -1
- package/src/build/custom/testJob.ts +0 -1
- package/src/build/node/testJob.ts +0 -1
- package/src/build/node/yarn.ts +3 -2
- package/src/build/rails/test.ts +0 -1
- package/src/deploy/types/googleCloudRun.ts +1 -1
- package/src/pipeline/agent/createAgentReviewJob.ts +1 -0
- package/src/pipeline/agent/shared.ts +2 -2
- package/src/pipeline/createMainPipeline.ts +1 -0
- package/src/pipeline/gitlab/cache.ts +49 -0
- package/src/pipeline/gitlab/createGitlabJobs.ts +7 -9
- package/src/types/jobs.ts +2 -3
|
@@ -103,7 +103,7 @@ before_script:
|
|
|
103
103
|
local section_title="\${1}"
|
|
104
104
|
echo -e "section_end:\`date +%s\`:\${section_title}\\r\\e[0K"
|
|
105
105
|
}
|
|
106
|
-
api 🛡 audit:
|
|
106
|
+
'api 🛡 audit | dev ':
|
|
107
107
|
stage: test
|
|
108
108
|
image: path/to/docker/jobs-default:the-version
|
|
109
109
|
variables:
|
|
@@ -120,9 +120,6 @@ api 🛡 audit:
|
|
|
120
120
|
- when: never
|
|
121
121
|
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
122
122
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
|
|
123
|
-
- when: never
|
|
124
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
125
|
-
- if: $CI_MERGE_REQUEST_ID
|
|
126
123
|
needs: []
|
|
127
124
|
retry: &a1
|
|
128
125
|
max: 2
|
|
@@ -131,7 +128,7 @@ api 🛡 audit:
|
|
|
131
128
|
- stuck_or_timeout_failure
|
|
132
129
|
interruptible: true
|
|
133
130
|
allow_failure: true
|
|
134
|
-
api 👮 lint:
|
|
131
|
+
'api 👮 lint | dev ':
|
|
135
132
|
stage: test
|
|
136
133
|
image: path/to/docker/jobs-default:the-version
|
|
137
134
|
variables:
|
|
@@ -152,7 +149,7 @@ api 👮 lint:
|
|
|
152
149
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
153
150
|
- collapseable_section_end "nodeinstall"
|
|
154
151
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
155
|
-
- yarn install --immutable
|
|
152
|
+
- yarn install --immutable --inline-builds
|
|
156
153
|
- collapseable_section_end "yarninstall"
|
|
157
154
|
- yarn lint
|
|
158
155
|
cache:
|
|
@@ -168,13 +165,10 @@ api 👮 lint:
|
|
|
168
165
|
- when: never
|
|
169
166
|
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
170
167
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
|
|
171
|
-
- when: never
|
|
172
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
173
|
-
- if: $CI_MERGE_REQUEST_ID
|
|
174
168
|
needs: []
|
|
175
169
|
retry: *a1
|
|
176
170
|
interruptible: true
|
|
177
|
-
api 🧪 test:
|
|
171
|
+
'api 🧪 test | dev ':
|
|
178
172
|
stage: test
|
|
179
173
|
image: path/to/docker/jobs-testing-chrome:the-version
|
|
180
174
|
variables:
|
|
@@ -195,7 +189,7 @@ api 🧪 test:
|
|
|
195
189
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
196
190
|
- collapseable_section_end "nodeinstall"
|
|
197
191
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
198
|
-
- yarn install --immutable
|
|
192
|
+
- yarn install --immutable --inline-builds
|
|
199
193
|
- collapseable_section_end "yarninstall"
|
|
200
194
|
- yarn test
|
|
201
195
|
cache:
|
|
@@ -211,9 +205,6 @@ api 🧪 test:
|
|
|
211
205
|
- when: never
|
|
212
206
|
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
213
207
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
|
|
214
|
-
- when: never
|
|
215
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
216
|
-
- if: $CI_MERGE_REQUEST_ID
|
|
217
208
|
needs: []
|
|
218
209
|
retry: *a1
|
|
219
210
|
interruptible: true
|
|
@@ -282,7 +273,7 @@ api 🧪 test:
|
|
|
282
273
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
283
274
|
- collapseable_section_end "nodeinstall"
|
|
284
275
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
285
|
-
- yarn install --immutable
|
|
276
|
+
- yarn install --immutable --inline-builds
|
|
286
277
|
- collapseable_section_end "yarninstall"
|
|
287
278
|
- yarn build
|
|
288
279
|
cache:
|
|
@@ -337,7 +328,8 @@ api 🧪 test:
|
|
|
337
328
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
338
329
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
339
330
|
- |-
|
|
340
|
-
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 .
|
|
341
333
|
RUN yarn plugin import workspace-tools
|
|
342
334
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
343
335
|
- |-
|
|
@@ -512,17 +504,17 @@ api 🧪 test:
|
|
|
512
504
|
- when: on_success
|
|
513
505
|
if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
|
|
514
506
|
needs:
|
|
515
|
-
- job: api 👮 lint
|
|
507
|
+
- job: 'api 👮 lint | dev '
|
|
516
508
|
artifacts: false
|
|
517
509
|
- job: 'api 🔨 app | dev '
|
|
518
510
|
artifacts: false
|
|
519
511
|
- job: 'api 🔨 docker | dev '
|
|
520
512
|
artifacts: false
|
|
521
|
-
- job: api 🧪 test
|
|
513
|
+
- job: 'api 🧪 test | dev '
|
|
522
514
|
artifacts: false
|
|
523
515
|
- job: 'api 🧾 sbom | dev '
|
|
524
516
|
artifacts: true
|
|
525
|
-
- job: api 🛡 audit
|
|
517
|
+
- job: 'api 🛡 audit | dev '
|
|
526
518
|
artifacts: false
|
|
527
519
|
retry: *a1
|
|
528
520
|
interruptible: true
|
|
@@ -561,6 +553,115 @@ api 🧪 test:
|
|
|
561
553
|
retry: *a1
|
|
562
554
|
interruptible: true
|
|
563
555
|
allow_failure: true
|
|
556
|
+
'api 🛡 audit | review ':
|
|
557
|
+
stage: test
|
|
558
|
+
image: path/to/docker/jobs-default:the-version
|
|
559
|
+
variables:
|
|
560
|
+
KUBERNETES_CPU_REQUEST: '0.45'
|
|
561
|
+
KUBERNETES_MEMORY_REQUEST: 1Gi
|
|
562
|
+
KUBERNETES_MEMORY_LIMIT: 4Gi
|
|
563
|
+
script:
|
|
564
|
+
- collapseable_section_start "injectvars" "Injecting variables"
|
|
565
|
+
- export APP_PATH="api"
|
|
566
|
+
- collapseable_section_end "injectvars"
|
|
567
|
+
- cd api
|
|
568
|
+
- yarn npm audit --environment production
|
|
569
|
+
rules:
|
|
570
|
+
- when: never
|
|
571
|
+
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
572
|
+
- if: $CI_MERGE_REQUEST_ID
|
|
573
|
+
needs: []
|
|
574
|
+
retry: *a1
|
|
575
|
+
interruptible: true
|
|
576
|
+
allow_failure: true
|
|
577
|
+
'api 👮 lint | review ':
|
|
578
|
+
stage: test
|
|
579
|
+
image: path/to/docker/jobs-default:the-version
|
|
580
|
+
variables:
|
|
581
|
+
KUBERNETES_CPU_REQUEST: '0.45'
|
|
582
|
+
KUBERNETES_MEMORY_REQUEST: 1Gi
|
|
583
|
+
KUBERNETES_MEMORY_LIMIT: 4Gi
|
|
584
|
+
script:
|
|
585
|
+
- collapseable_section_start "injectvars" "Injecting variables"
|
|
586
|
+
- export APP_PATH="api"
|
|
587
|
+
- collapseable_section_end "injectvars"
|
|
588
|
+
- collapseable_section_start "nodeinstall" "Ensure node version"
|
|
589
|
+
- if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi
|
|
590
|
+
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
591
|
+
- collapseable_section_end "nodeinstall"
|
|
592
|
+
- cd api
|
|
593
|
+
- collapseable_section_start "nodeinstall" "Ensure node version"
|
|
594
|
+
- if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi
|
|
595
|
+
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
596
|
+
- collapseable_section_end "nodeinstall"
|
|
597
|
+
- collapseable_section_start "yarninstall" "Yarn install"
|
|
598
|
+
- yarn install --immutable --inline-builds
|
|
599
|
+
- collapseable_section_end "yarninstall"
|
|
600
|
+
- yarn lint
|
|
601
|
+
cache:
|
|
602
|
+
- key: api-yarn-mr$CI_MERGE_REQUEST_IID
|
|
603
|
+
policy: pull-push
|
|
604
|
+
paths:
|
|
605
|
+
- api/.yarn
|
|
606
|
+
fallback_keys:
|
|
607
|
+
- api-yarn
|
|
608
|
+
- key: api-node-modules-mr$CI_MERGE_REQUEST_IID
|
|
609
|
+
policy: pull-push
|
|
610
|
+
paths:
|
|
611
|
+
- api/node_modules
|
|
612
|
+
fallback_keys:
|
|
613
|
+
- api-node-modules
|
|
614
|
+
rules:
|
|
615
|
+
- when: never
|
|
616
|
+
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
617
|
+
- if: $CI_MERGE_REQUEST_ID
|
|
618
|
+
needs: []
|
|
619
|
+
retry: *a1
|
|
620
|
+
interruptible: true
|
|
621
|
+
'api 🧪 test | review ':
|
|
622
|
+
stage: test
|
|
623
|
+
image: path/to/docker/jobs-testing-chrome:the-version
|
|
624
|
+
variables:
|
|
625
|
+
KUBERNETES_CPU_REQUEST: '0.45'
|
|
626
|
+
KUBERNETES_MEMORY_REQUEST: 1Gi
|
|
627
|
+
KUBERNETES_MEMORY_LIMIT: 4Gi
|
|
628
|
+
script:
|
|
629
|
+
- collapseable_section_start "injectvars" "Injecting variables"
|
|
630
|
+
- export APP_PATH="api"
|
|
631
|
+
- collapseable_section_end "injectvars"
|
|
632
|
+
- collapseable_section_start "nodeinstall" "Ensure node version"
|
|
633
|
+
- if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi
|
|
634
|
+
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
635
|
+
- collapseable_section_end "nodeinstall"
|
|
636
|
+
- cd api
|
|
637
|
+
- collapseable_section_start "nodeinstall" "Ensure node version"
|
|
638
|
+
- if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi
|
|
639
|
+
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
640
|
+
- collapseable_section_end "nodeinstall"
|
|
641
|
+
- collapseable_section_start "yarninstall" "Yarn install"
|
|
642
|
+
- yarn install --immutable --inline-builds
|
|
643
|
+
- collapseable_section_end "yarninstall"
|
|
644
|
+
- yarn test
|
|
645
|
+
cache:
|
|
646
|
+
- key: api-yarn-mr$CI_MERGE_REQUEST_IID
|
|
647
|
+
policy: pull-push
|
|
648
|
+
paths:
|
|
649
|
+
- api/.yarn
|
|
650
|
+
fallback_keys:
|
|
651
|
+
- api-yarn
|
|
652
|
+
- key: api-node-modules-mr$CI_MERGE_REQUEST_IID
|
|
653
|
+
policy: pull-push
|
|
654
|
+
paths:
|
|
655
|
+
- api/node_modules
|
|
656
|
+
fallback_keys:
|
|
657
|
+
- api-node-modules
|
|
658
|
+
rules:
|
|
659
|
+
- when: never
|
|
660
|
+
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
661
|
+
- if: $CI_MERGE_REQUEST_ID
|
|
662
|
+
needs: []
|
|
663
|
+
retry: *a1
|
|
664
|
+
interruptible: true
|
|
564
665
|
'api 🔨 app | review ':
|
|
565
666
|
stage: build
|
|
566
667
|
image: path/to/docker/jobs-default:the-version
|
|
@@ -626,18 +727,22 @@ api 🧪 test:
|
|
|
626
727
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
627
728
|
- collapseable_section_end "nodeinstall"
|
|
628
729
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
629
|
-
- yarn install --immutable
|
|
730
|
+
- yarn install --immutable --inline-builds
|
|
630
731
|
- collapseable_section_end "yarninstall"
|
|
631
732
|
- yarn build
|
|
632
733
|
cache:
|
|
633
|
-
- key: api-yarn
|
|
734
|
+
- key: api-yarn-mr$CI_MERGE_REQUEST_IID
|
|
634
735
|
policy: pull-push
|
|
635
736
|
paths:
|
|
636
737
|
- api/.yarn
|
|
637
|
-
|
|
738
|
+
fallback_keys:
|
|
739
|
+
- api-yarn
|
|
740
|
+
- key: api-node-modules-mr$CI_MERGE_REQUEST_IID
|
|
638
741
|
policy: pull-push
|
|
639
742
|
paths:
|
|
640
743
|
- api/node_modules
|
|
744
|
+
fallback_keys:
|
|
745
|
+
- api-node-modules
|
|
641
746
|
artifacts:
|
|
642
747
|
paths:
|
|
643
748
|
- api/__build_info.json
|
|
@@ -681,7 +786,8 @@ api 🧪 test:
|
|
|
681
786
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
682
787
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
683
788
|
- |-
|
|
684
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
789
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
790
|
+
COPY --chown=node:node $APP_DIR .
|
|
685
791
|
RUN yarn plugin import workspace-tools
|
|
686
792
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
687
793
|
- |-
|
|
@@ -704,10 +810,12 @@ api 🧪 test:
|
|
|
704
810
|
- docker push $DOCKER_CACHE_IMAGE
|
|
705
811
|
- collapseable_section_end "docker-push"
|
|
706
812
|
cache:
|
|
707
|
-
- key: api-yarn
|
|
813
|
+
- key: api-yarn-mr$CI_MERGE_REQUEST_IID
|
|
708
814
|
policy: pull
|
|
709
815
|
paths:
|
|
710
816
|
- api/.yarn
|
|
817
|
+
fallback_keys:
|
|
818
|
+
- api-yarn
|
|
711
819
|
rules:
|
|
712
820
|
- when: never
|
|
713
821
|
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
@@ -859,17 +967,17 @@ api 🧪 test:
|
|
|
859
967
|
- when: on_success
|
|
860
968
|
if: $CI_MERGE_REQUEST_ID
|
|
861
969
|
needs:
|
|
862
|
-
- job: api 👮 lint
|
|
970
|
+
- job: 'api 👮 lint | review '
|
|
863
971
|
artifacts: false
|
|
864
972
|
- job: 'api 🔨 app | review '
|
|
865
973
|
artifacts: false
|
|
866
974
|
- job: 'api 🔨 docker | review '
|
|
867
975
|
artifacts: false
|
|
868
|
-
- job: api 🧪 test
|
|
976
|
+
- job: 'api 🧪 test | review '
|
|
869
977
|
artifacts: false
|
|
870
978
|
- job: 'api 🧾 sbom | review '
|
|
871
979
|
artifacts: true
|
|
872
|
-
- job: api 🛡 audit
|
|
980
|
+
- job: 'api 🛡 audit | review '
|
|
873
981
|
artifacts: false
|
|
874
982
|
retry: *a1
|
|
875
983
|
interruptible: true
|
|
@@ -979,7 +1087,7 @@ api 🧪 test:
|
|
|
979
1087
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
980
1088
|
- collapseable_section_end "nodeinstall"
|
|
981
1089
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
982
|
-
- yarn install --immutable
|
|
1090
|
+
- yarn install --immutable --inline-builds
|
|
983
1091
|
- collapseable_section_end "yarninstall"
|
|
984
1092
|
- yarn build
|
|
985
1093
|
cache:
|
|
@@ -1034,7 +1142,8 @@ api 🧪 test:
|
|
|
1034
1142
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1035
1143
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1036
1144
|
- |-
|
|
1037
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1145
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1146
|
+
COPY --chown=node:node $APP_DIR .
|
|
1038
1147
|
RUN yarn plugin import workspace-tools
|
|
1039
1148
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1040
1149
|
- |-
|
|
@@ -1316,7 +1425,7 @@ api 🧪 test:
|
|
|
1316
1425
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1317
1426
|
- collapseable_section_end "nodeinstall"
|
|
1318
1427
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1319
|
-
- yarn install --immutable
|
|
1428
|
+
- yarn install --immutable --inline-builds
|
|
1320
1429
|
- collapseable_section_end "yarninstall"
|
|
1321
1430
|
- yarn build
|
|
1322
1431
|
cache:
|
|
@@ -1371,7 +1480,8 @@ api 🧪 test:
|
|
|
1371
1480
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/api"
|
|
1372
1481
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1373
1482
|
- |-
|
|
1374
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1483
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1484
|
+
COPY --chown=node:node $APP_DIR .
|
|
1375
1485
|
RUN yarn plugin import workspace-tools
|
|
1376
1486
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1377
1487
|
- |-
|
|
@@ -1588,7 +1698,7 @@ api 🧪 test:
|
|
|
1588
1698
|
retry: *a1
|
|
1589
1699
|
interruptible: true
|
|
1590
1700
|
allow_failure: true
|
|
1591
|
-
worker 🛡 audit:
|
|
1701
|
+
'worker 🛡 audit | dev ':
|
|
1592
1702
|
stage: test
|
|
1593
1703
|
image: path/to/docker/jobs-default:the-version
|
|
1594
1704
|
variables:
|
|
@@ -1605,14 +1715,11 @@ worker 🛡 audit:
|
|
|
1605
1715
|
- when: never
|
|
1606
1716
|
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
1607
1717
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
|
|
1608
|
-
- when: never
|
|
1609
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
1610
|
-
- if: $CI_MERGE_REQUEST_ID
|
|
1611
1718
|
needs: []
|
|
1612
1719
|
retry: *a1
|
|
1613
1720
|
interruptible: true
|
|
1614
1721
|
allow_failure: true
|
|
1615
|
-
worker 👮 lint:
|
|
1722
|
+
'worker 👮 lint | dev ':
|
|
1616
1723
|
stage: test
|
|
1617
1724
|
image: path/to/docker/jobs-default:the-version
|
|
1618
1725
|
variables:
|
|
@@ -1633,7 +1740,7 @@ worker 👮 lint:
|
|
|
1633
1740
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1634
1741
|
- collapseable_section_end "nodeinstall"
|
|
1635
1742
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1636
|
-
- yarn install --immutable
|
|
1743
|
+
- yarn install --immutable --inline-builds
|
|
1637
1744
|
- collapseable_section_end "yarninstall"
|
|
1638
1745
|
- yarn lint
|
|
1639
1746
|
cache:
|
|
@@ -1649,13 +1756,10 @@ worker 👮 lint:
|
|
|
1649
1756
|
- when: never
|
|
1650
1757
|
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
1651
1758
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
|
|
1652
|
-
- when: never
|
|
1653
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
1654
|
-
- if: $CI_MERGE_REQUEST_ID
|
|
1655
1759
|
needs: []
|
|
1656
1760
|
retry: *a1
|
|
1657
1761
|
interruptible: true
|
|
1658
|
-
worker 🧪 test:
|
|
1762
|
+
'worker 🧪 test | dev ':
|
|
1659
1763
|
stage: test
|
|
1660
1764
|
image: path/to/docker/jobs-testing-chrome:the-version
|
|
1661
1765
|
variables:
|
|
@@ -1676,7 +1780,7 @@ worker 🧪 test:
|
|
|
1676
1780
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1677
1781
|
- collapseable_section_end "nodeinstall"
|
|
1678
1782
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1679
|
-
- yarn install --immutable
|
|
1783
|
+
- yarn install --immutable --inline-builds
|
|
1680
1784
|
- collapseable_section_end "yarninstall"
|
|
1681
1785
|
- yarn test
|
|
1682
1786
|
cache:
|
|
@@ -1692,9 +1796,6 @@ worker 🧪 test:
|
|
|
1692
1796
|
- when: never
|
|
1693
1797
|
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
1694
1798
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
|
|
1695
|
-
- when: never
|
|
1696
|
-
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
1697
|
-
- if: $CI_MERGE_REQUEST_ID
|
|
1698
1799
|
needs: []
|
|
1699
1800
|
retry: *a1
|
|
1700
1801
|
interruptible: true
|
|
@@ -1763,7 +1864,7 @@ worker 🧪 test:
|
|
|
1763
1864
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
1764
1865
|
- collapseable_section_end "nodeinstall"
|
|
1765
1866
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
1766
|
-
- yarn install --immutable
|
|
1867
|
+
- yarn install --immutable --inline-builds
|
|
1767
1868
|
- collapseable_section_end "yarninstall"
|
|
1768
1869
|
- yarn build:worker
|
|
1769
1870
|
cache:
|
|
@@ -1818,7 +1919,8 @@ worker 🧪 test:
|
|
|
1818
1919
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/worker"
|
|
1819
1920
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
1820
1921
|
- |-
|
|
1821
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
1922
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
1923
|
+
COPY --chown=node:node $APP_DIR .
|
|
1822
1924
|
RUN yarn plugin import workspace-tools
|
|
1823
1925
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
1824
1926
|
- |-
|
|
@@ -1993,17 +2095,17 @@ worker 🧪 test:
|
|
|
1993
2095
|
- when: on_success
|
|
1994
2096
|
if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_COMMIT_MESSAGE !~ /^chore\\(release\\).*/
|
|
1995
2097
|
needs:
|
|
1996
|
-
- job: worker 👮 lint
|
|
2098
|
+
- job: 'worker 👮 lint | dev '
|
|
1997
2099
|
artifacts: false
|
|
1998
2100
|
- job: 'worker 🔨 app | dev '
|
|
1999
2101
|
artifacts: false
|
|
2000
2102
|
- job: 'worker 🔨 docker | dev '
|
|
2001
2103
|
artifacts: false
|
|
2002
|
-
- job: worker 🧪 test
|
|
2104
|
+
- job: 'worker 🧪 test | dev '
|
|
2003
2105
|
artifacts: false
|
|
2004
2106
|
- job: 'worker 🧾 sbom | dev '
|
|
2005
2107
|
artifacts: true
|
|
2006
|
-
- job: worker 🛡 audit
|
|
2108
|
+
- job: 'worker 🛡 audit | dev '
|
|
2007
2109
|
artifacts: false
|
|
2008
2110
|
retry: *a1
|
|
2009
2111
|
interruptible: true
|
|
@@ -2042,6 +2144,115 @@ worker 🧪 test:
|
|
|
2042
2144
|
retry: *a1
|
|
2043
2145
|
interruptible: true
|
|
2044
2146
|
allow_failure: true
|
|
2147
|
+
'worker 🛡 audit | review ':
|
|
2148
|
+
stage: test
|
|
2149
|
+
image: path/to/docker/jobs-default:the-version
|
|
2150
|
+
variables:
|
|
2151
|
+
KUBERNETES_CPU_REQUEST: '0.45'
|
|
2152
|
+
KUBERNETES_MEMORY_REQUEST: 1Gi
|
|
2153
|
+
KUBERNETES_MEMORY_LIMIT: 4Gi
|
|
2154
|
+
script:
|
|
2155
|
+
- collapseable_section_start "injectvars" "Injecting variables"
|
|
2156
|
+
- export APP_PATH="api"
|
|
2157
|
+
- collapseable_section_end "injectvars"
|
|
2158
|
+
- cd api
|
|
2159
|
+
- yarn npm audit --environment production
|
|
2160
|
+
rules:
|
|
2161
|
+
- when: never
|
|
2162
|
+
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
2163
|
+
- if: $CI_MERGE_REQUEST_ID
|
|
2164
|
+
needs: []
|
|
2165
|
+
retry: *a1
|
|
2166
|
+
interruptible: true
|
|
2167
|
+
allow_failure: true
|
|
2168
|
+
'worker 👮 lint | review ':
|
|
2169
|
+
stage: test
|
|
2170
|
+
image: path/to/docker/jobs-default:the-version
|
|
2171
|
+
variables:
|
|
2172
|
+
KUBERNETES_CPU_REQUEST: '0.45'
|
|
2173
|
+
KUBERNETES_MEMORY_REQUEST: 1Gi
|
|
2174
|
+
KUBERNETES_MEMORY_LIMIT: 4Gi
|
|
2175
|
+
script:
|
|
2176
|
+
- collapseable_section_start "injectvars" "Injecting variables"
|
|
2177
|
+
- export APP_PATH="api"
|
|
2178
|
+
- collapseable_section_end "injectvars"
|
|
2179
|
+
- collapseable_section_start "nodeinstall" "Ensure node version"
|
|
2180
|
+
- if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi
|
|
2181
|
+
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2182
|
+
- collapseable_section_end "nodeinstall"
|
|
2183
|
+
- cd api
|
|
2184
|
+
- collapseable_section_start "nodeinstall" "Ensure node version"
|
|
2185
|
+
- if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi
|
|
2186
|
+
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2187
|
+
- collapseable_section_end "nodeinstall"
|
|
2188
|
+
- collapseable_section_start "yarninstall" "Yarn install"
|
|
2189
|
+
- yarn install --immutable --inline-builds
|
|
2190
|
+
- collapseable_section_end "yarninstall"
|
|
2191
|
+
- yarn lint
|
|
2192
|
+
cache:
|
|
2193
|
+
- key: api-yarn-mr$CI_MERGE_REQUEST_IID
|
|
2194
|
+
policy: pull-push
|
|
2195
|
+
paths:
|
|
2196
|
+
- api/.yarn
|
|
2197
|
+
fallback_keys:
|
|
2198
|
+
- api-yarn
|
|
2199
|
+
- key: api-node-modules-mr$CI_MERGE_REQUEST_IID
|
|
2200
|
+
policy: pull-push
|
|
2201
|
+
paths:
|
|
2202
|
+
- api/node_modules
|
|
2203
|
+
fallback_keys:
|
|
2204
|
+
- api-node-modules
|
|
2205
|
+
rules:
|
|
2206
|
+
- when: never
|
|
2207
|
+
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
2208
|
+
- if: $CI_MERGE_REQUEST_ID
|
|
2209
|
+
needs: []
|
|
2210
|
+
retry: *a1
|
|
2211
|
+
interruptible: true
|
|
2212
|
+
'worker 🧪 test | review ':
|
|
2213
|
+
stage: test
|
|
2214
|
+
image: path/to/docker/jobs-testing-chrome:the-version
|
|
2215
|
+
variables:
|
|
2216
|
+
KUBERNETES_CPU_REQUEST: '0.45'
|
|
2217
|
+
KUBERNETES_MEMORY_REQUEST: 1Gi
|
|
2218
|
+
KUBERNETES_MEMORY_LIMIT: 4Gi
|
|
2219
|
+
script:
|
|
2220
|
+
- collapseable_section_start "injectvars" "Injecting variables"
|
|
2221
|
+
- export APP_PATH="api"
|
|
2222
|
+
- collapseable_section_end "injectvars"
|
|
2223
|
+
- collapseable_section_start "nodeinstall" "Ensure node version"
|
|
2224
|
+
- if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi
|
|
2225
|
+
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2226
|
+
- collapseable_section_end "nodeinstall"
|
|
2227
|
+
- cd api
|
|
2228
|
+
- collapseable_section_start "nodeinstall" "Ensure node version"
|
|
2229
|
+
- if [ -f ~/.nvm/nvm.sh ]; then source ~/.nvm/nvm.sh; fi
|
|
2230
|
+
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2231
|
+
- collapseable_section_end "nodeinstall"
|
|
2232
|
+
- collapseable_section_start "yarninstall" "Yarn install"
|
|
2233
|
+
- yarn install --immutable --inline-builds
|
|
2234
|
+
- collapseable_section_end "yarninstall"
|
|
2235
|
+
- yarn test
|
|
2236
|
+
cache:
|
|
2237
|
+
- key: api-yarn-mr$CI_MERGE_REQUEST_IID
|
|
2238
|
+
policy: pull-push
|
|
2239
|
+
paths:
|
|
2240
|
+
- api/.yarn
|
|
2241
|
+
fallback_keys:
|
|
2242
|
+
- api-yarn
|
|
2243
|
+
- key: api-node-modules-mr$CI_MERGE_REQUEST_IID
|
|
2244
|
+
policy: pull-push
|
|
2245
|
+
paths:
|
|
2246
|
+
- api/node_modules
|
|
2247
|
+
fallback_keys:
|
|
2248
|
+
- api-node-modules
|
|
2249
|
+
rules:
|
|
2250
|
+
- when: never
|
|
2251
|
+
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
2252
|
+
- if: $CI_MERGE_REQUEST_ID
|
|
2253
|
+
needs: []
|
|
2254
|
+
retry: *a1
|
|
2255
|
+
interruptible: true
|
|
2045
2256
|
'worker 🔨 app | review ':
|
|
2046
2257
|
stage: build
|
|
2047
2258
|
image: path/to/docker/jobs-default:the-version
|
|
@@ -2107,18 +2318,22 @@ worker 🧪 test:
|
|
|
2107
2318
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2108
2319
|
- collapseable_section_end "nodeinstall"
|
|
2109
2320
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
2110
|
-
- yarn install --immutable
|
|
2321
|
+
- yarn install --immutable --inline-builds
|
|
2111
2322
|
- collapseable_section_end "yarninstall"
|
|
2112
2323
|
- yarn build:worker
|
|
2113
2324
|
cache:
|
|
2114
|
-
- key: api-yarn
|
|
2325
|
+
- key: api-yarn-mr$CI_MERGE_REQUEST_IID
|
|
2115
2326
|
policy: pull-push
|
|
2116
2327
|
paths:
|
|
2117
2328
|
- api/.yarn
|
|
2118
|
-
|
|
2329
|
+
fallback_keys:
|
|
2330
|
+
- api-yarn
|
|
2331
|
+
- key: api-node-modules-mr$CI_MERGE_REQUEST_IID
|
|
2119
2332
|
policy: pull-push
|
|
2120
2333
|
paths:
|
|
2121
2334
|
- api/node_modules
|
|
2335
|
+
fallback_keys:
|
|
2336
|
+
- api-node-modules
|
|
2122
2337
|
artifacts:
|
|
2123
2338
|
paths:
|
|
2124
2339
|
- api/__build_info.json
|
|
@@ -2162,7 +2377,8 @@ worker 🧪 test:
|
|
|
2162
2377
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/worker"
|
|
2163
2378
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
2164
2379
|
- |-
|
|
2165
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
2380
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
2381
|
+
COPY --chown=node:node $APP_DIR .
|
|
2166
2382
|
RUN yarn plugin import workspace-tools
|
|
2167
2383
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
2168
2384
|
- |-
|
|
@@ -2185,10 +2401,12 @@ worker 🧪 test:
|
|
|
2185
2401
|
- docker push $DOCKER_CACHE_IMAGE
|
|
2186
2402
|
- collapseable_section_end "docker-push"
|
|
2187
2403
|
cache:
|
|
2188
|
-
- key: api-yarn
|
|
2404
|
+
- key: api-yarn-mr$CI_MERGE_REQUEST_IID
|
|
2189
2405
|
policy: pull
|
|
2190
2406
|
paths:
|
|
2191
2407
|
- api/.yarn
|
|
2408
|
+
fallback_keys:
|
|
2409
|
+
- api-yarn
|
|
2192
2410
|
rules:
|
|
2193
2411
|
- when: never
|
|
2194
2412
|
if: $CI_PIPELINE_SOURCE == "trigger"
|
|
@@ -2340,17 +2558,17 @@ worker 🧪 test:
|
|
|
2340
2558
|
- when: on_success
|
|
2341
2559
|
if: $CI_MERGE_REQUEST_ID
|
|
2342
2560
|
needs:
|
|
2343
|
-
- job: worker 👮 lint
|
|
2561
|
+
- job: 'worker 👮 lint | review '
|
|
2344
2562
|
artifacts: false
|
|
2345
2563
|
- job: 'worker 🔨 app | review '
|
|
2346
2564
|
artifacts: false
|
|
2347
2565
|
- job: 'worker 🔨 docker | review '
|
|
2348
2566
|
artifacts: false
|
|
2349
|
-
- job: worker 🧪 test
|
|
2567
|
+
- job: 'worker 🧪 test | review '
|
|
2350
2568
|
artifacts: false
|
|
2351
2569
|
- job: 'worker 🧾 sbom | review '
|
|
2352
2570
|
artifacts: true
|
|
2353
|
-
- job: worker 🛡 audit
|
|
2571
|
+
- job: 'worker 🛡 audit | review '
|
|
2354
2572
|
artifacts: false
|
|
2355
2573
|
retry: *a1
|
|
2356
2574
|
interruptible: true
|
|
@@ -2460,7 +2678,7 @@ worker 🧪 test:
|
|
|
2460
2678
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2461
2679
|
- collapseable_section_end "nodeinstall"
|
|
2462
2680
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
2463
|
-
- yarn install --immutable
|
|
2681
|
+
- yarn install --immutable --inline-builds
|
|
2464
2682
|
- collapseable_section_end "yarninstall"
|
|
2465
2683
|
- yarn build:worker
|
|
2466
2684
|
cache:
|
|
@@ -2515,7 +2733,8 @@ worker 🧪 test:
|
|
|
2515
2733
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/worker"
|
|
2516
2734
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
2517
2735
|
- |-
|
|
2518
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
2736
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
2737
|
+
COPY --chown=node:node $APP_DIR .
|
|
2519
2738
|
RUN yarn plugin import workspace-tools
|
|
2520
2739
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
2521
2740
|
- |-
|
|
@@ -2797,7 +3016,7 @@ worker 🧪 test:
|
|
|
2797
3016
|
- if command -v nvm &> /dev/null && [ -f ./.nvmrc ]; then nvm install; fi
|
|
2798
3017
|
- collapseable_section_end "nodeinstall"
|
|
2799
3018
|
- collapseable_section_start "yarninstall" "Yarn install"
|
|
2800
|
-
- yarn install --immutable
|
|
3019
|
+
- yarn install --immutable --inline-builds
|
|
2801
3020
|
- collapseable_section_end "yarninstall"
|
|
2802
3021
|
- yarn build:worker
|
|
2803
3022
|
cache:
|
|
@@ -2852,7 +3071,8 @@ worker 🧪 test:
|
|
|
2852
3071
|
- export DOCKER_CACHE_IMAGE="europe-west6-docker.pkg.dev/google-project-id/catladder-deploy/pan-test-app/caches/worker"
|
|
2853
3072
|
- export DOCKER_IMAGE_TAG="$CI_COMMIT_SHA"
|
|
2854
3073
|
- |-
|
|
2855
|
-
export DOCKER_COPY_AND_INSTALL_APP="
|
|
3074
|
+
export DOCKER_COPY_AND_INSTALL_APP="ENV YARN_ENABLE_INLINE_BUILDS=1
|
|
3075
|
+
COPY --chown=node:node $APP_DIR .
|
|
2856
3076
|
RUN yarn plugin import workspace-tools
|
|
2857
3077
|
RUN yarn workspaces focus --production && yarn rebuild"
|
|
2858
3078
|
- |-
|