Skip to content

feat: use GitLab credentials from environment variables

Tomas Vik requested to merge 267-credentials-in-environment-vars into main

This MR introduces a new way to add credentials to the extension.

Normally, users add the credentials through the UI and they get stored in the extension's globalState. You can see the use of globalState in the token_service module.

This MR adds an option to set two environment variables before starting VS Code. This way it is possible to use the extension in Gitpod without having to manually set the token for every new workspace. It will also make it possible for the integration tests to use more black-box testing.

Related to #267 (closed)

Merge request reports

Loading