UKHomeOffice / lev

Life Event Verification service prototype monorepo
https://lev-docs.netlify.app/
0 stars 1 forks source link

Continuous Deployment #12

Closed daniel-ac-martin closed 3 years ago

daniel-ac-martin commented 3 years ago

Adds support for Continuous Deployment (CD) via Drone. The UI app is first built as a Docker image and pushed up to Quay.io before being pulled down by our Kubernetes platform to be used in our first staging environment.

This also better documents the applications and adds support for building the apps through make.

The Docker images are based on alpine and do not need to include the node_modules/ directory so perhaps they will be smaller than our previous Node.js application images.

daniel-ac-martin commented 3 years ago

This will fail the first time after merge as there is a bit of a 'chicken and egg' problem with pushing up the image and creating the k8s deployment.

I also need to get the secrets in place to even push to Quay.io.

daniel-ac-martin commented 3 years ago

Secrets should now be in place.

daniel-ac-martin commented 3 years ago

Bootstrap problem fixed via manual deployment.

daniel-ac-martin commented 3 years ago

This should be ready to merge. (He says!)