Need some very basic (I think) info

Some very basic questions I hope can be answered, never used any CI/CD or docker before.

I have 2 repos, a frontend (react) and a backend (node.js). What I want to accomplish is when a pull request is merged or a push happens I want both repos to be pulled, built and start running them on the host with drone so that a change in code automatically is available to the dev URL. Is this something drone can do?

I can see from the documentation that it does most things, but I don’t see anywhere where it either spins up a docker image for the FE and BE that is live or where it outputs a build of both that can be started on the host machine (or I guess on the drone docker if that is how it is supposed to work?)

I currently have drone setup, and did a basic yaml script for the backend, but can’t figure out how to access/run the result?

kind: pipeline

name: wheelhouse-BE


-name: build

image: node:10.15.3-stretch


- node app.js



- push

- pull-request

It completes fine in drone, but obviously I want to then it running somewhere for the FE to access it.

The log from drone after it completes:
Initialized empty Git repository in /drone/src/.git/
2 + git fetch origin +refs/heads/master:
3 From
4 * branch master -> FETCH_HEAD
5 * [new branch] master -> origin/master
6 + git checkout b5055cedd7de5423af272f878364a6ac9ae3fe07 -b master
7 Already on ‘master’

I couldn’t seem to find any guides that covered this aspect of it.

So, I’m not sure about this, but I believe you need some non-drone place to run those two docker images like AWS-ECS or similar. If ECS is reasonable, the drone-ecs plugin could work. There are other options as well… it’d be straightforward to make a pipeline step which deployed both your FE and BE containers to a kubernetes cluster, and then have another step which runs the testing for them, and finally a third step which runs on success and failure to burn down the FE and BE containers.