Use updated vscode fork in workspace if attribute is set
What does this MR do and why?
Issue: Rails: Toggle between VS Code(fork) versions ba... (#440291 - closed)
Use updated vscode fork in workspace if attribute is set in devfile.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Context | Screenshot |
---|---|
When attribute is not set | ![]() |
When attribute is set to true | ![]() |
When attribute is set to false | ![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create a workspace from a devfile which has the attribute
gl/use-vscode-1-81: false
schemaVersion: 2.2.0 variables: registry-root: registry.gitlab.com components: - name: tooling-container attributes: gl/inject-editor: true gl/use-vscode-1-81: false container: image: registry.gitlab.com/vtak/gitlab-web-ide-vscode-fork/ubuntu:24.04-workspace
- Open up the workspace and run the following command in the terminal to verify new version of VS Code(fork) is injected -
/projects/.gl-tools/code-server/bin/gitlab-webide-server --version
. The expected output is1.85.2 cc647a6c3fe1bc82cbcae763de7ec0939cc092c3 x64
Edited by Vishal Tak