Hi,
I have simple pipeline config where I have to checkout git submodules via an other git repository (which is also hosted on bitbucket cloud)
First it tried to just call:
- git submodule update --init --recursive
But the pipeline always got stuck (without any error)
So I tried to setup my ssh settings as described here:
https://support.atlassian.com/bitbucket-cloud/docs/set-up-runners-for-macos/
This ends in the same problem, pipeline got stuck.
So I tried to setup my ssh settings as described here:
https://support.atlassian.com/bitbucket-cloud/docs/set-up-pipelines-ssh-keys-on-macos/
This ends in the same problem, pipeline got stuck.
I don't know which documentation is newer? And is it still required to setup a custom ssh key to fetch git submodules from a git repository (which is hosted on bitbucket cloud)
I have also added the public key to the access keys on the git repository.
Is there any way to get this running on a macOS pipeline runner?
I figured it out myself, the problem is that the macOS pipeline runner downloads the ssh keys which are created via Pipelines -> SSH Keys but ignores the known hosts which are created there. So I had to create a known_hosts file in my ~/.ssh directory.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.