chore(ui): build UI image in CI pipelines(#415)
Description
- first, find a way to speed it up significantly:
- run CI with
pnpm
package manager - cache and reuse dependencies
- remove nodejs-sast, use semgrep instead
- enable Docker buildkit
- run CI with
- enable
ui_build_ce_image_dev
in CI/CD.- remove
manual
running - build image after merging into the master branch
- remove
- fix linter warnings
Related issue
Examples
- Before optimization:
13.5-14 min
- After optimization
8.5-9 min
:
Checklist
-
MR description has been reviewed -
MR changes are functionally tested -
MR does NOT have text changes OR there are text changes and they have been reviewed -
MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed -
MR does NOT have UI changes OR there are UI changes and they have been reviewed
Closes #415 (closed)
Edited by Artyom Kartasov