feat: build server packages
Related to gitlab#373503 (closed)
This MR adds an extra build task to build VS Code server packages for the supported architectures:
darwin-x64
darwin-arm64
win32-x64
linux-x64
linux-arm64
Non-reproducible builds
The one issue I encountered was that the gulp compile-extensions-build
task downloads some extensions. If those extensions are no longer available, our build will fail.
Our options:
- accept this might mean that if we want to create a security release and the build is failing, we'll have to remove these extensions from the build
- remove these extensions from the build, which means the users couldn't use JS debugging and profiling
- build the extensions ourselves (they are MIT licensed) or create some asset mirror
At this stage, I'm pretty keen on taking the easy route and accepting that there is a chance that the extension builds will get removed.
Edited by Tomas Vik