Skip to content
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

stack deployment failure when using relative path #42

Open
skaneprime opened this issue Jun 19, 2024 · 0 comments
Open

stack deployment failure when using relative path #42

skaneprime opened this issue Jun 19, 2024 · 0 comments

Comments

@skaneprime
Copy link

Hey there! I'm facing these error when trying to update stack via webhook. But when I'm manually redeploying it stack will deploy without error.

{"level":"info","repository":"https://github.com/qrvers/burn_tobacco/","composePath":["docker-compose.yml"],"destination":"/mnt/portainer-compose-unpacker","env":[],"skipTLSVerify":true,"time":1718806524,"caller":"/home/runner/work/compose-unpacker/compose-unpacker/deploy.go:31","message":"Deploying Compose stack from Git repository"}
{"level":"info","directory":"/mnt/portainer-compose-unpacker","time":1718806524,"caller":"/home/runner/work/compose-unpacker/compose-unpacker/deploy.go:57","message":"Checking the file system..."}
{"level":"info","directory":"/mnt/portainer-compose-unpacker/stacks/burntobacco-dev","time":1718806524,"caller":"/home/runner/work/compose-unpacker/compose-unpacker/deploy.go:83","message":"Creating target destination directory on disk"}
{"level":"info","repository":"https://github.com/qrvers/burn_tobacco/","path":"/mnt/portainer-compose-unpacker/stacks/burntobacco-dev","url":"https://github.com/qrvers/burn_tobacco/","depth":1,"time":1718806524,"caller":"/home/runner/work/compose-unpacker/compose-unpacker/deploy.go:98","message":"Cloning git repository"}
stack deployment failure
{"level":"error","error":"authentication required","time":1718806524,"caller":"/home/runner/work/compose-unpacker/compose-unpacker/deploy.go:104","message":"Failed to clone Git repository"}

What may gone wrong? My fine grained personal access token is valid for authentication yet still facing this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant