Skip to content

Environment Variables and org/rep #1358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ttopholm opened this issue Apr 2, 2020 · 5 comments
Closed

Environment Variables and org/rep #1358

ttopholm opened this issue Apr 2, 2020 · 5 comments
Assignees
Labels
git provider: gitlab type: bug Something isn't working

Comments

@ttopholm
Copy link

ttopholm commented Apr 2, 2020

Describe the bug

If you have folders in gitlab.com, like // the environment variable created after a gp env foo=bar will be /, but if you do a gp env -e you are not getting the variables back, because your repo is in //, the only workaround so far is to use / in Org/rep in settings.

Steps to reproduce

Add a folder structure in gitlab and you reproduce the bug

@corneliusludmann
Copy link
Contributor

It's not entirely clear to me what you mean by “folder structure”. I guess you mean nested groups / subgroups like gitlab.com/mygroup/mysubgroup/myproject (probably your examples in your description are broken since they are recognized as markup).

Indeed I can confirm that setting env vars in a nested group does not work with gp env. Thanks for reporting!

@ttopholm
Copy link
Author

ttopholm commented Apr 3, 2020

Thx @corneliusludmann that was exactly what I meant ;-)

@DanielChalk
Copy link

Any chance this can get through to the SaaS offering of GitPod soon? This issue stops me from using it.

@svenefftinge
Copy link
Member

It is deployed now.

@ceefour
Copy link

ceefour commented Dec 26, 2022

This doesn't seem to be fixed, see -> #8618 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
git provider: gitlab type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants