I have 3 networks (network_1, network_2 and network_3). The three networks are airgapped.
On network_1 I have a Gitlab instance.
I want to host an instance of Gitlab on network_2 and on network_3. Which should be mirrors of the Gitlab instance from network_1.
I have a 4th network (network_4) where I can store files from network_1 and download these files from network_2 and from network_3. Tunneling or proxying does not work through network_4.
One option I found is:
- Export repository/repositories on Gitlab instance on
network_1. - Transfer export file (through
network_4) tonetwork_2andnetwork_3. - Import the export file on
network_2andnetwork_3.
Downside is:
- Kinda slow. (Exporting takes times, transferring takes times, importing takes time).
- Cannot import if the project already exists, so every time I want to import the export file I need to delete the project first.
- Cannot import changes only, so every time I need to import the whole repository.
Any other options/solutions?