Closed
Description
Bug description
When open a GitLab repository which resides in a subgroup, the environment variable scope which specify the top level group only doesn't apply consistently between the resulting env applied and the result of gp env
.
Steps to reproduce
- Go to https://gitpod.io/variables, set a variable e.g.
VISUAL=gitpod-code --wait
, and set the scope toubports/*
. - Open a workspace for https://gitlab.com/ubports/core/packaging/libayatana-common (Shortcut: https://gitpod.io/#https://gitlab.com/ubports/core/packaging/libayatana-common)
- Using terminal, compare
echo $VISUAL
withgp env
.echo $VISUAL
would show the GitPod's default (/ide/bin/remote-cli/gitpod-code
), whilegp env
would show the set value (gitpod-code --wait
).
Workspace affected
No response
Expected behavior
echo $VISUAL
should produces the same value as gp env
would display. Preferably for my usecase, my variable set should apply to actual environment variables.
Example repository
https://gitlab.com/ubports/core/packaging/libayatana-common, or any repositories under https://gitlab.com/ubports/core/packaging really.
Anything else?
No response
Metadata
Metadata
Assignees
Type
Projects
Status
In Validation