PiR
PiR
DDokploy
Created by PiR on 11/6/2024 in #help
Clone Git repo with submodules
After I read the bug on Github you mentioned above, I tried HTTPS, but it didn't work either.
12 replies
DDokploy
Created by PiR on 11/6/2024 in #help
Clone Git repo with submodules
I tried both. SSH first, I added a key in dokploy and in the repo and used the Dokploy UI to clone. For HTTPS however, I had to use the repo URL and manually put user:password like https://user:[email protected]/...
12 replies
DDokploy
Created by PiR on 11/6/2024 in #help
Clone Git repo with submodules
Git provider - the private repos are on Azure DevOps. Only the public repo is on Github.
12 replies
DDokploy
Created by PiR on 11/6/2024 in #help
Clone Git repo with submodules
Not quite @Siumauricio - the repo I clone also fails to pull up the submodules from the same Git provider with the same credentials over HTTPS. The main repo is a monorepo which has two submodules. One submodule is a public Github repo, that one works, the second submodule is a private Git repo from the same source/provider as the main repo. Both submodules have been initialized and linked into the main repo with HTTPS URLs. Both main and public submodule clone fine when using either HTTPS or SSH, and the private submodule always fails. The workaround for now is to build Docker images in Azure, their build agents pull all repos just fine, and push the images to a registry which notifies Dokploy. But this is not what I think is the most slim and easy structure for deploying and running 60+ microservices.
12 replies
DDokploy
Created by PiR on 11/6/2024 in #help
Clone Git repo with submodules
To add to that: on local dev machines, and on our CI/CD build server, the clone and build process works. I assume that Git Credential Manager handles the authentication for the submodules on those machines.
12 replies