Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Using envbuilder template with a private gitlab url #16559

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
garytaylor opened this issue Feb 13, 2025 · 0 comments
Closed

Using envbuilder template with a private gitlab url #16559

garytaylor opened this issue Feb 13, 2025 · 0 comments

Comments

@garytaylor
Copy link

I tried using the envbuilder template without any customisation at all, providing it with a private ssh url to the gitlab repository.

I have other projects used by the same coder user (me) using private gitlab repositories that are not using the envbuilder template and they work fine.

But when envbuilder tries to clone the repository it fails with this

envbuilder v1.1.0+a3a6a83 - Build development environments from repositories in a container
#1: 📦 Cloning [email protected]:bloodstock/bloodstock-app.git to /workspaces/bloodstock-app...
#1: 🔑 Using SSH authentication!
#1: 🔑 No SSH key found, falling back to agent!
#1: ❌ Failed to connect to SSH agent: error creating SSH agent: "SSH agent requested but SSH_AUTH_SOCK not-specified"
#1: Parsed Git URL as "ssh://[email protected]/bloodstock/bloodstock-app.git"
Failed to clone repository: clone "[email protected]:bloodstock/bloodstock-app.git": error creating SSH agent: "SSH agent requested but SSH_AUTH_SOCK not-specified"
Falling back to the default image...
No Dockerfile specified, looking for a devcontainer.json...
Failed to locate devcontainer.json: open /workspaces/bloodstock-app/.devcontainer: no such file or directory
Falling back to the default image...

At this point, i gave up and am going to use the other template, but wanted to raise it in case there was something wrong at your end. If not, feel free to close as I don't need any help. I'll try envbuilder again in 3 months or so to see if its working

@coder coder locked and limited conversation to collaborators Feb 13, 2025
@matifali matifali converted this issue into discussion #16560 Feb 13, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant