hello.
My current company is using bitbucket.
It often happens that new source code is received from Bitbucket Cloud while using a local build agent with many developers.
In this case, the company network speed delay occurs.
I'm feeling the need to build a local bitbucket repository on-premise.
Looking through the documentation, it says that Bitbucket Cloud's Smart Mirroring is deprecated.
https://support.atlassian.com/bitbucket-cloud/docs/use-smart-mirroring-for-bitbucket-cloud/
Migrating Bitbucket Cloud to a data center or elsewhere is difficult.
Is there any other way to configure on-premise local bitbucket repository?
We need a way to solve network delay.
- I don't have administrator role, so I'm looking for a way to build a new system.
- Removal of LFS files from git repositories was not welcomed by developers.
Hi @IkHyeon Jin,
I'm afraid that we don't have any alternative for smart mirroring.
Configuring something like this would mean building it from scratch. You could use a Bitbucket Data Center instance in order to import Bitbucket Cloud repos. You could then configure webhooks so that they are kept in sync and in order to also import any new Bitbucket Cloud repos to the instance.
Building and maintaining such an integration and resolving any issues that may arise may be quite time-consuming.
You could look into figuring out a solution on the network level instead.
Kind regards,
Theodora
Hello Theodora
Thank you for your reply.
There is something I don't understand, so I'll ask more questions.
1. Can I use the mirror function when using a Bitbucket Data Center instance?
Or do I have to push to the Bitbucket Data Center instance via a Bitbucket Cloud webhook? (Like performing a git push to another repository to the pipeline yml of the repos)
2. If I use a Bitbucket Data Center instance, are Bitbucket Cloud's user accounts and other permissions synced?
Please reply when you have time.
Have a good day.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @IkHyeon Jin,
A Bitbucket Data Center instance cannot mirror Bitbucket Cloud repos or sync Bitbucket Cloud user accounts and permissions. This is why I mentioned that you would need to build something from scratch and use webhooks for syncing.
Please feel free to let me know if you have any other questions.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.