Rails: Toggle between VS Code(fork) versions based on attribute in devfile
MR: Use updated vscode fork in workspace if attribu... (!144288 - merged)
Description
Allow users to try out the new version of VS Code(fork) 1.85 by setting an attribute in the main container of their devfile. This attribute has to be set in the same component where gl/inject-editor: true is set. This attribute will be called gl/use-vscode-1-81. Acceptable values are boolean/string true.
Acceptance Criteria
-
If no attribute is set, VS Code(fork) 1.81 is injected -
If attribute is set to true, VS Code(fork) 1.81 is injected -
If attribute is set to false, VS Code(fork) 1.85 is injected
Impact Assessment
VS Code has runtime dependencies on glibc and glibc++. Upgrading to VS Code(fork) 1.85.x means these dependencies have been bumped. This means if someone is using a container image with incompatible glibc and glibc++ versions, VS Code(fork) will not start and thus workspace will also not start. Thus, users have an opportunity to test this upgrade by setting the attribute in devfile.