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
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs