-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[gp] Support gp env
by talking to server directly
#3162
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
Comments
Thanks for reporting! /cc @akosyakov |
We should generally refactor GP to decouple it from Theia as much as possible, i.e. everything besides open and preview. |
Indeed, gp should talk to server directly. We need to take great care to not simply give the workspace token power access to all the user's environment variables. |
gp env
by talking to server directly
Very much agree. We should also file issues for those individual work items :) |
We should to this in two PRs:
|
(BTW: This is an enabler for frontend-less integration tests that check nontrivial stuff inside your workspaces (e.g., are access right configured correctly). |
Uh oh!
There was an error while loading. Please reload this page.
I've faced with the issue that doesn't allow to read or write any env variable by using gp cli
gp env
it will produce the errorcannot get environment variables: not found
gp env foo=bar
it will produce the errorcannot get environment variables: not found
Version: 1.52.1 Commit: 791d97eab4a4d591cc12a4784bf263088968c6d3 Date: 2021-02-05T11:45:08.161Z Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36 OPR/74.0.3911.75
The text was updated successfully, but these errors were encountered: