My college provided me with 2 virtual machines, one linux and one windows, I was planning to deploy code from my repository into the linux VM and then windows can access it via a samba shared folder because linux will rn my backend and windows will use pm2 serve build for my spa.
My problem is that both servers are on a closed network, accessible only via VPN that they provide us, Is there any way for me to create a pipeline to deploy that code to my machine in this case?
And also can I configure it to do some commands like:
npm install -g, npm start
or
npm install -g, npm run build, pm2 serve build 3000 --spa
Hi @1180778
Unfortunately, it's currently not possible to access your resources in a private network from Bitbucket Pipelines unless you open up a port and then ssh into the machine to do the deployment.
I have got some good news for you, we are currently working on Bitbucket Pipelines self-hosted runners. This will allow you to execute your Bitbucket Pipelines step in your infrastructure behind a firewall. The current plan is to have a GA in Feb/March 2021. We will be doing an EAP in January, so please fill out the following form if you would like to get involved.
Cheers,
Justin Thomas
Product Manager, Bitbucket
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.