I have a deployement script which use to work yesterday whic basically stops services, deletes queues, delete former version, copy the new one and restarts the services, all this using a private key.
This morning it seems to succeed the first 3 steps but when it comes with the copying and all subsequent steps, i have the following error:
no such identity: /opt/atlassian/pipelines/agent/data/id_rsa: No such file or directoryPermission denied, please try again.Permission denied, please try again.Permission denied (publickey,password).lost connection
However, it is the exacte same key which is used in the previous steps. Could the key be corrupted or deleted ?
You can try adding the following steps in your bitbucket-pipelines.yml which configure to load the SSH-key to ssh-agent as a workaround to proceed with your build:
- eval `ssh-agent` - ssh-add /opt/atlassian/pipelines/agent/data/id_rsa
We've deployed a fix for this issue and will be continuing to investigate the root issue that caused it.
Would you be able to provide us the url of the specific repo that you were having issues with?
Please feel free to let us know if you encounter any further issues, or have any questions.
Bitbucket Pipelines Team
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot