Create distribution artifact to deploy Web IDE on air-gapped instances
MR: Pending
Description
As an administrator of a GitLab self-managed, air-gapped instance, I want a distribution artifact that contains the VSCode files and VSCode Metadata used by the Web IDE to deploy the Extensions Host and the Web View host on a separate domain. This distribution artifact will allow me to have a fully functional Web IDE in an air-gapped environment.
Acceptance Criteria
-
The distribution artifact includes the outdirectory that contains the static assets that implement the web view and extension hosts. -
The distribution artifact includes a VSCode product.jsonwith the following metadata used by the Extensions Host URL:-
commit -
quality
-
-
Update Web IDE deployment docs to reflect the process improvements after the creation of this artifact.
Technical Requirements
-
The distribution artifact should be uploaded to the Package Registry and be tagged as a Release. -
We should not include the extensions and web view implementation files in the npmpackage used by GitLab instances to install the Web IDE. We want to remove these files since they represent security vulnerabilities in the context of a GitLab instance (See #356 (closed)). -
We should have a SSOT for the commitfield in the Web IDE codebase.
Impact Assessment
A customer with a GitLab self-managed instance has requested instructions to deploy the Web IDE on an air-gapped instance. This deliverable will help us fulfill this requirement.
Edited by Enrique Alcántara