- Create a pull request with your changes.
- Add a label to the pull request, one of major, minor or patch, depending on your changes.
The label will determine how the version number is incremented, following
major.minor.patch
. The pipeline will fail without this label and a new image will not be pushed to the repository. - After the tests have passed, merge the pull request.
- A Github actions workflow will rerun the tests. If they pass, it will build the docker image. It will then push the image to the quay repository, tagged with the new version number and create a matching tag in the github repository.
- The creation of a tag in the github repository will trigger the drone pipeline to run and deploy the image to the kubernetes cluster.
-
Local development with seed data requires the [Transformation][https://github.com/UKHomeOffice/hocs-mi-transformation] Database to be deployed.
-
This also requires the [Transformation][https://github.com/UKHomeOffice/hocs-mi-transformation] process to be completed.
-
Setup the virtual environment
$ make build
$ make serve-transformation
$ make serve
- Clean down the [Transformation][https://github.com/UKHomeOffice/hocs-mi-transformation] repository
$ make stop
$ make clean
$ PYTHONPATH=./ python app/index.py