- Notifications
You must be signed in to change notification settings - Fork927
fix: Use environment variables for agent authentication#1238
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This was a mistake when adding the committer fields 🤦.
Using files led to situations where running "coder server --dev" wouldbreak `gitssh`. This is applicable in a production environment too. Usersshould be able to log into another Coder deployment from their workspace.Users can still set "CODER_URL" if they'd like with agent env vars!
codecovbot commentedApr 30, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## main #1238 +/- ##==========================================- Coverage 65.84% 65.73% -0.11%========================================== Files 272 270 -2 Lines 17875 17865 -10 Branches 192 192 ==========================================- Hits 11770 11744 -26- Misses 4878 4885 +7- Partials 1227 1236 +9
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I have not had a chance to test yet but the code looks great to me
Uh oh!
There was an error while loading.Please reload this page.
code-asher commentedApr 30, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
My workspaces are not starting for some reason so I was not able to fully test but I was able to at least confirm that setting One unexpected struggle I had was that I was running from a v1 workspace where |
* fix: Update GIT_COMMITTER_NAME to use usernameThis was a mistake when adding the committer fields 🤦.* fix: Use environment variables for agent authenticationUsing files led to situations where running "coder server --dev" wouldbreak `gitssh`. This is applicable in a production environment too. Usersshould be able to log into another Coder deployment from their workspace.Users can still set "CODER_URL" if they'd like with agent env vars!
Using files led to situations where running "coder server --dev" would
break
gitssh
. This is applicable in a production environment too. Usersshould be able to log into another Coder deployment from their workspace.
Users can still set "CODER_URL" if they'd like with agent env vars!