Zoker
Zoker
CCoder.com
Created by Zoker on 3/6/2024 in #help
What is the best way to keep installed system packages?
I already do that, but for some projects you a developer needs package XYZ and another needs ZYX. It would be nice, if the installed packages could be kept. Just like codespaces does it
7 replies
CCoder.com
Created by Zoker on 3/6/2024 in #help
What is the best way to keep installed system packages?
Bump
7 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
I tested it and I don't need the GITHUB_TOKEN env. So this solves the topic, just set "git.useIntegratedAskPass": false, in the VS Code settings. Thanks @Atif, @Phorcys and especially @Steven for the help! Really appriciate it
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
So I tested this again and now it works 🎉 Do you know if I still need to set the GITHUB_TOKEN env in the template? Thanks!
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
Ah yes I see this in my terminal GIT_ASKPASS=/tmp/coder.sCiCfW/coder
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
What should the path be?
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
Yes I restarted the workspace
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
No description
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
Hmm even after setting this, i'm being asked for my git credentials
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
So the question is, how to set a gitea/github token within the current VS Code version, right?
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
No description
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
Should I check this within the workspace?
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
What I found out so far: The listing has changed from version 2.7.x to 2.8.x. The auth is now only shown if not set before the creation of a workspace. What is still strange: Even without setting a env like GITHUB_TOKEN in the terraform file, the git auth worked for me without any issue until it didn't anymore. Now even if I set the env war, git is not authenticated and echo $GITHUB_TOKEN within the workspace does not give me any output. This is what I set on the terraform file
resource "coder_agent" "main" {
arch = data.coder_provisioner.me.arch
os = "linux"
dir = "/home/${local.username}/workspace/"
env = {
GITHUB_TOKEN : data.coder_external_auth.gitea.access_token
}
}
resource "coder_agent" "main" {
arch = data.coder_provisioner.me.arch
os = "linux"
dir = "/home/${local.username}/workspace/"
env = {
GITHUB_TOKEN : data.coder_external_auth.gitea.access_token
}
}
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
Should this work within the container?
echo $CODER_EXTERNAL_AUTH_ACCESS_TOKEN_gitea
echo $CODER_EXTERNAL_AUTH_ACCESS_TOKEN_gitea
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
@Atif Can I somehow test, if the access token is provided within the container? I saw that the coder_git_auth is deprecated and switched back to coder_external_auth without setting the GITHUB_TOKEN env in the coder_agent
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
No description
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
No description
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
I can also provide my Dockerfile, if that helps I have two coder instances (one for test), that has the same issue
55 replies
CCoder.com
Created by Zoker on 2/27/2024 in #help
Is the external auth gone?
Is there anything I can test?
55 replies