hackoregon / backend-examplar-2018

an example dockerized geo-aware django backend
MIT License
4 stars 5 forks source link

Port travis-ci functionality from working example into backend-examplar #60

Closed nam20485 closed 6 years ago

nam20485 commented 6 years ago

Port travis-ci deployment and image build/test from the working example in hackoregon/disaster-resilience-backend into the backend exemplar repo, so that backend examplar users can benefit from a working travis-ci deploy straight out of the box, with the sample app, as well as the quickstart-generated backend API app. Pattern ported from examples in transportation-systems-backend and existing scripts in bin/.

.travis.yml runs bin/build.sh which builds the production image, and then runs python manage.py test on the created image.

Make sure to enable travis-ci builds on the repo, as well as set environment variables in the travis-ci config prior to testing the travis-ci build.

MikeTheCanuck commented 6 years ago

That path voodoo is something I believe we might need - I believe it is there to help the container find the installed aws CLI application.

MikeTheCanuck commented 6 years ago

Let's call this good - a solid foundation to get the remaining API teams rolling. A few more minor PR's to come, and the joy of bugs to discover tomorrow!