Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerise the app #17

Merged
merged 2 commits into from
May 19, 2016
Merged

Dockerise the app #17

merged 2 commits into from
May 19, 2016

Conversation

sebbacon
Copy link
Contributor

The purpose of this PR is to support running the tests in a docker container, as a workaround for problems we had getting the software to build in the Travis environment.

Theoretically this should allow us to run tests faster, and longer term, run a staging server using the same principles.

The PR also includes fixes to tests to get the test suite to pass.

This will allow us to run postgres in a different container, using
`docker-compose`.
@annapowellsmith
Copy link
Contributor

Yay Docker!

In general I'd prefer aa33bc0 as a separate PR, but doesn't matter this time. All v odd - odd that it passes for me even though the filepath is wrong, and odd that test_convert_hscic_prescribing.py fails for you, even though it's a file you're creating.

Also includes support for running a dev environment in docker, although this could be improved (specifically, by maintaining the user's uid rather than dropping them to root)
@sebbacon
Copy link
Contributor Author

I've squashed the many commits that made up the docker-specific part of this PR into one commit to make a tidy commit history.

I've moved the failing tests to a separate branch, for which I'll make a PR shortly.

This PR is ready for a final review and merge. The Travis tests are expected to fail as I've removed the fixes to the aforementioned tests.

@sebbacon
Copy link
Contributor Author

Fixes #18

@annapowellsmith
Copy link
Contributor

Hooray!

@annapowellsmith annapowellsmith merged commit 66c18b6 into master May 19, 2016
@annapowellsmith annapowellsmith deleted the dockerise branch May 19, 2016 10:47
@sebbacon sebbacon restored the dockerise branch May 23, 2016 17:01
@sebbacon sebbacon deleted the dockerise branch June 14, 2016 13:10
sebbacon added a commit that referenced this pull request Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants