Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.1 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.1 KB

Build Status Language grade: Python

For developers...

Changing models

There are some basic tests that run tasks from the pipeline and populate data into my existing tables, although these won't test your own models.

You will need to test manually the migration of your models into an empty postgres database.

There is a docker container that you can build, based on the Dockerfile in this repo. From within the cloned repo:

  1. docker build -t pipeline .
  2. docker run --user root -it pipeline /bin/bash
  3. source activate pipeline
  4. python manage.py makemigrations
  5. python manage.py migrate

If, in step 4 or 5, any errors are thrown, you will need to troubleshoot based on those errors, before the code makes it into the master branch.

I will update my TravisCI tests to make sure the integration tests fail if the migrate tasks listed above don't work.