Some Dinosaur
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
Ok so OAuth will never work with pulling repo through ssh - but with HTTPS it works.
But I still want to know how to set up the alternative - pushing the SSH in a file.
24 replies
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
24 replies
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
I've set the external Auth, I added the thing to .tf file, both environment variable
"ENVBUILDER_GIT_USERNAME" : data.coder_external_auth.github.access_token,
and the external auth. And I still get the same exact error:
24 replies
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
24 replies
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
This
Build
works like every 10th time I click it, and keeps spitting 500 error to my browser console without any other feedback on what's wrong24 replies
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
24 replies
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
you mean in the .tf file of my template? I can't change anything there. Publish is grayed out and nothing I do here's saved
24 replies
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
I should mention I'm not very smart. But from my perspective I put in a name, github URL (ssh), my github account has Coder SSH set. I click green button and it starts working. So my decision points are literally - SSH key and URL. Next part where I can change anything is .devcontainer folder with Dockerfile and everything else - but I can't get this far :c since I cannot clone the repository.
I see the workaround description to just download the key to the environment - I just have no idea where in this user-scenario I can achieve it.
24 replies
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
If I do that can I still use the template through?
24 replies
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
running clone from the terminal also fails even though
GIT_SSH_COMMAND
is set - I think I'm missing something basic here:
24 replies
CCoder.com
•Created by Some Dinosaur on 12/23/2024 in #help
Failed to pull GitHub private repo
I also ran
$GIT_SSH_COMMAND
from the container terminal, and it tells me:
24 replies