Răzvan Vîlceanu
11/20/2023, 12:53 PMRuntimeError: Failed to clone repository '<https://gitlab.xxx.com/private_repo.git>' with exit code 128.
. I have tried to give the access token as a secret block and as well as a gitlab credentials block and both of them encounter the same error.
My current configuration looks like this:
[
{
"prefect.deployments.steps.git_clone": {
"branch": "dev",
"repository": "<https://gitlab.xxx.com/private_repo.git>",
"access_token": "{{ prefect.blocks.secret.deployment-private-repo }}"
}
}
]
I've seen a simmilar issue, but for github where the resolution was to have the access token stored as a secret and not a github credentials block, but in gitlab's case doesn't work.
Another thing that I tried was to set up a subprocess work pool, and in this case, when the cloning starts, git credentials manager pops up with the access token as username. Is there any way to make this headless?Mattijs De Paepe
11/28/2023, 10:19 PMSean Malone
11/29/2023, 3:24 PMMattijs De Paepe
11/29/2023, 3:27 PMRăzvan Vîlceanu
11/29/2023, 3:33 PMMattijs De Paepe
11/29/2023, 3:46 PMRăzvan Vîlceanu
11/29/2023, 3:47 PM