I am currently researching a way to mirror a private git server repository with a public cloud solution. BitBuckets smart mirror feature seems interesting but i fail to find a description for a
Primary BitBucket Data Center repository <--> BitBucket cloud service repository
setup.
The reason being is, that we wish to keep sensitive files on our own git repository like the BitBucket Data Center, due to company policy, and keep the raw codebase mirrored in a cloud based solution such that it is available to consultants that otherwise won't have access to our BitBucket Data Center.
A possible use case could be:
- We make changes to a repository on our local BitBucket server
- The repository is mirrored to a BitBucket cloud based repository
- A consultant makes some change/introduces new code
- The consultant pushes the code to the mirror
- The repository is mirrored back to the the local BitBucket server
Is it possible for such a setup?