Commit Graph

27 Commits

Author SHA1 Message Date
yuvipanda
81d59ad02e [CI] Collect code coverage stats from unit tests 2018-07-11 13:15:49 -07:00
yuvipanda
8cef9f6b6d [CI] Don't pipe systemctl output to pager
This makes the CI job hang.
2018-07-11 12:43:40 -07:00
yuvipanda
3e59f7fa14 [CI] Print JupyterHub / CHP status after setup 2018-07-11 12:39:06 -07:00
yuvipanda
8993d717a7 [CI] Give our CI workflow a more descriptive name 2018-07-11 12:33:32 -07:00
yuvipanda
5f2252a5ba [CI] Output all systemd logs after setup to help debugging 2018-07-11 12:33:19 -07:00
yuvipanda
e91ea88722 [CI] Add checkout step to integration job 2018-07-11 12:27:01 -07:00
yuvipanda
e8c8d51490 Standardize on 4 spaces for circle ci config indent
Previously was a mix of 2 and 4 spaces
2018-07-11 12:25:23 -07:00
yuvipanda
e3ae2c3d77 Add explicit 'workflows' to CircleCI config
This allows the jobs to actually run in parallel
2018-07-11 12:21:57 -07:00
yuvipanda
4a028e1927 Split CircleCI into unit test & integration jobs
- Faster, since these can run in parallel
- Hopefully lets us not maintain our own base image
2018-07-11 12:16:46 -07:00
yuvipanda
4d9d9c2d99 Bake docker-ce into the base image
Speeds up CI runs by quite a bit
2018-07-11 10:12:32 -07:00
yuvipanda
20f3116e58 Revert "Parallelize unit tests in CI with pytest-xdist"
conda tests don't like it, and I'm not going to try to
debug them right now.

This reverts commit 9479f3c6b9.
2018-07-11 09:40:26 -07:00
yuvipanda
9479f3c6b9 Parallelize unit tests in CI with pytest-xdist 2018-07-11 09:31:01 -07:00
yuvipanda
b5956f911f Remove journalctl from JupyterHub check step
Seems to block forever
2018-07-11 02:35:17 -07:00
yuvipanda
fdbdc58727 Fix typo in .circleci/config.yaml 2018-07-11 02:21:11 -07:00
yuvipanda
f6a5566b42 Use python script to run integration test
YAML calling to python is better than YAML embedding bash
2018-07-11 02:04:41 -07:00
yuvipanda
715860707b Rewrite bootstrapper in Python
- This was going to get too complex for bash. Only way to
  kill those scripts is before they get too complex.
- Better progress messages from bootstrapper.
- Differentiate between bootstrapper & installer
- Cleanup documentation a little bit
2018-07-02 15:12:26 -07:00
yuvipanda
5675aafcf5 [CI] Check JupyterHub is up after installation 2018-06-29 03:12:16 -07:00
yuvipanda
4ae6f055d3 [CI] Run installer in built docker container 2018-06-29 02:56:43 -07:00
yuvipanda
8ad0205264 [CI] Automatically say 'yes' to docker-ce install 2018-06-29 02:48:27 -07:00
yuvipanda
061b77e944 [CI] Don't use sudo anywhere
We're already running as root, and sudo is not installed
2018-06-29 02:42:10 -07:00
yuvipanda
d5828192f8 [CI] Fix indenting errors in CircleCI config 2018-06-29 02:37:06 -07:00
yuvipanda
d8c965624c [CI] Install docker explicitly before trying to use it 2018-06-29 02:34:19 -07:00
yuvipanda
41f368d02d [CI] Setup docker + try running systemd container 2018-06-29 02:26:20 -07:00
yuvipanda
b874e6c7f0 [CI] Don't use sudo to run tests
We're already running as root in the miniconda image
2018-06-29 02:21:02 -07:00
yuvipanda
97fed91c80 [CI] Fix key used for caching conda env 2018-06-29 02:20:43 -07:00
yuvipanda
fb1472cc77 Use miniconda to run tests on circleci
Since we need the conda library to run our unit tests
2018-06-29 02:18:45 -07:00
yuvipanda
e9f965be5b Add initial circle ci config
Let's try run the unit tests in the tljh module first
2018-06-29 02:05:36 -07:00