I am trying to deploy the docker container according to different environment.
I have saved the environment variables in deployment variables.
Everything runs fine but when I execute docker-compose -H $DOCKER_HOST --verbose -p sg_dev up -d the pipeline fails with the error paramiko.ssh_exception.AuthenticationException: Authentication failed
What am I missing here
Hello @Galyna Zholtkevych
I changed from DOCKER_HOST="ssh://$QA_USER@$QA_HOST" docker-compose --verbose -p sg_qa up -d (where QA_USER and QA_HOST are configured in the repository variable.
The deployment variable I am pointing to in dev which is configured in deployments tab
Total 4 deployments
Hello @Husain Mithaiwala !
Basically, this could be docker-compose problem similar to this one https://github.com/docker/compose/issues/6655 .
Check that you have right docker-compose config described in this issue.
It also depends on what ssh auth you have in docker containers you are working on and what ssh config you have in pipeline and its location.
You can also debug this issue with ```--log-level DEBUG``` and see the output, perhaps it can help to investigate the root cause.
Hello, @Husain Mithaiwala ! I have couple of questions that can lead to a root cause.
- is DOCKER_HOST is configured in your deployment or you want to use bitbucket default variable?
- are you pointing which deployment name you want to use? Example of deployment:
name: Your pipeline
deployment: <DeploymentName> (eg Production)
Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their Jira Cloud instance. ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events