Hi,
For testing purposes, I started a Nomad agent both as a client and a server. I also have a local git daemon running which allows me to clone local repositories with:
git clone git://localhost/repo
However, I cannot pull this local repository as task artifact from Nomad:
artifact {
source = "git://localhost/repo.git"
destination = "local/"
}
Recent events:
failed to download artifact "git://localhost/repo.git": error downloading 'git://localhost/repo.git': C:\Program Files\Git\cmd\git.exe exited with 128: fatal: not a git repository (or any of the parent directories): .git
Other variations I tried:
"git::path\\to\\my\\repo.git"
"git::path\\to\\my\\repo"
"git://localhost/repo"
"git://fqdn/repo.git"
"git://fqdn/repo"
Thanks