Commit Graph

12 Commits

Author SHA1 Message Date
Danielle McLean 5ce0af0731 Simplify the GitLab cache config, should be more reliable this way? 2018-06-04 09:39:32 +10:00
Danielle McLean 4c0be4ce8b Load Postgres parameters from the environment so that it can work with GitLab CI 2018-06-04 09:32:47 +10:00
Danielle McLean f7fbf49e1e Update the .gitlab-ci.yml to install dev packages and cache properly 2018-06-04 09:21:23 +10:00
Danielle McLean dcb9833b0d
Apparently you can't use a Boolean true in gitlab-ci.yml environment variables config 2018-02-26 13:07:12 +11:00
Danielle McLean 345c9f9885
Store the CI caches inside the project dir since that's the only place GitLab CI is allowed to cache 2018-02-26 13:05:28 +11:00
Danielle McLean 58d8ca2a25
Attempt to cache the packages installed by pip and pipenv to dramatically speed up the pipeline 2018-02-26 12:58:34 +11:00
Danielle McLean 6ceb800723
Turns out stages are isolated from each other, so we need to do the build and the test in one script 2018-02-26 12:51:14 +11:00
Danielle McLean 247bce0996
Don't collectstatic, it's not needed and it won't work without Yarn being run, which introduces another dependency 2018-02-26 12:43:43 +11:00
Danielle McLean 1759be4d8c
Yet another try - use python:3.6, install submodules, use build and test stages, etc. 2018-02-26 12:37:08 +11:00
Danielle McLean ea0ef22b16
Use a CI image that already has pipenv installed 2018-02-26 12:24:22 +11:00
Danielle McLean 227c43c81e
Switch to the python:3.6 image for CI, to make sure we get Python 3.6 2018-02-26 12:17:57 +11:00
Danielle McLean 65cba59a72
Add initial .gitlab-ci.yml, which hopefully works correctly 2018-02-26 12:14:52 +11:00