I am working as a SoftwareEngineer/ScrumMaster in a consulting company that is developing software for different customers. One of our customers is hosting his own Bitbucket server and we are currently accessing it via VPN to do the pushes and fetches.
I am currently looking into mirroring solutions where my company is using a Git server and this server is a complete mirror of the bitbucket server of my customer. I've developed my own solution where I am using Git hooks to delegate requests, but by accident I found the Smart Mirroring Feature and now I am really interested if this product might be something for my company.
Here's the most important question: Is it possible to push to a mirror? In https://confluence.atlassian.com/bitbucketserver/smart-mirroring-776640046.html the diagram only shows "Clone & Fetch" but the pushing is done to the main repository, on the other side the text below states that pushing is possible to the mirror.
In my scenario the developers are in our company intranet and should only see the Mirror, all Git operations should be done via the Mirror. I do not want that the users are directly using the Main repository (since every user needs to pay some amount of remote-access-fee which I am trying to cut down)
I hope someone can help me with this question!
Best regards from Germany
You mentioned that your companies Git server is a mirror of your customer's. In that case, only the customer needs a bitbucket data center license. You will only be installing the mirror on your end and that doesn't need a license. It is covered in the Datacenter master license.
The mentioned article says:
Yes, you can push to the repository using the same URL, and Bitbucket relays the push to the upstream repository.
As far as I understood the mirror plays the role of a proxy and just delegates the push command to the primary bitbucket data center.
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