Is it possible to mirror a Bitbucket repository hosted in a private domain in Google Cloud Source Repositories? - google-cloud-source-repos

Would like to know if mirroring can be setup between a BitBucket server hosted in a company domain with Google Cloud Source repositories?

I assume you're talking about BitBucket Self-Hosted Server. Currently there's no way to mirror BitBucket Server from Cloud Source Repository (CSR) side, only the cloud Bitbucket.
However you can try to set up a manual mirrorring from BitBucket side. I've never tested this configuration, but here you will find instructions on how to do it with GitHub using remotes. You can try it using CSR instead. Here are the instructions on how to add CSR as remote.

Related

Gitlab - Using one self-hosted instance to deploy on several cloud providers?

Is it a 'good idea' to use one self-hosted instance of Gitlab (let's say on Azure) and use it to deploy on multiple clouds (e.g AWS, Azure, GCP) ?
What is first coming to my mind is that it needs a private network link between the cloud providers so that the private self-hosted agents can communicate with the self-hosted Gitlab instance.
I don't find architecture examples introducing this kind of solution.
There is not necessarily any reason why you cannot deploy solutions on multiple clouds, irrespective of where your GitLab runners happen to be hosted. Your runners don't have to be hosted in the cloud to which you are deploying. You can even deploy to all clouds from GitLab.com hosted runners, for example.

How can I host a static website with GitLab authentication in front of it?

I have a GitLab repo that generates a static website, pushed to either GitLab Pages or Amazon S3. I want to limit access to this static website to members of a certain GitLab group/sub-group. What is the lowest maintenance way to accomplish this?
Using AWS is permissible for this task, but I want to stop short of deploying this site on its own EKS container or something like that.
GitLab Pages has built-in access controls.
https://docs.gitlab.com/ee/user/project/pages/pages_access_control.html

How to deploy a node.js application on AWS whose source code is inside a custom gitlab repository ?

I have a node js application whose source code is residing in a gitlab repository. This gitlab server is maintained by my company. Hence anyone outside the company network has to access the gitlab repo through VPN only.
Now I want to deploy the node js app in an AWS EC2 instance (t2.micro possibly).
I have seen that if the source code is in github, we can install git in the AWS EC2 instance and pull the code directly. But with the code residing in a gitlab repo in my company network what can be done to deploy the app in AWS ?
And how shall updates for my server be handled ?
You can create a VPN connection to your VPC and your Company network so that the Instance in your network can access your company network directly.
Here is the AWS documentation for your reference VPN Connections

Azure Linux VM and BitBucket

I have an Azure Linux VM, and a BitBucket repository.
I would like to setup continuous development between the two, however all the tutorials I could find are for Azure Web Apps, and not for Linux VM.
There is no built-in SCM integration with Virtual Machines; it's only built-in for Web Apps.
You'll need to set up / configure your own deployment scheme, to pull your deployments from BitBucket into your VM. How you do that is quite a broad and opinion-soliciting topic / discussion, and out of scope for StackOverflow.

How to integrate a Continous Integration with Microsoft Azure

I'm developing a Node.js App but I deploy this app in a Azure Virtual Machine (Ubuntu) manually. I want to deploy it from specific GitHub branch (Master) into Virtual Machine, can I use Appveyor?
You can use Appveyor CI which is available on the Azure Marketplace which is published by Appveyor.
Link: Appveyor CI

Resources