You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.