1
0
Fork 0
forked from s3lph/matemat
Commit graph

87 commits

Author SHA1 Message Date
s3lph
86e0b3a6c7 Rewrote the staging image Dockerfile to use an Alpine-based image instead of the Debian image. 2018-07-15 00:07:25 +02:00
s3lph
45be1930a4 Merge branch 'master' into staging-unstable 2018-07-14 13:20:53 +02:00
s3lph
b2a88c5814 Renamed DO-NOT-MERGE-horrible-webapp branch to staging-unstable. 2018-07-13 22:15:45 +02:00
s3lph
d60331daf7 Merge branch 'ci-deploy-staging' into DO-NOT-MERGE-horrible-webapp 2018-07-11 18:48:39 +02:00
s3lph
355900e497 Disabled host key checking in the deployment CI job. 2018-07-11 17:55:48 +02:00
s3lph
66dd02fcdd Limited "staging" stage to only run on ci-deploy-staging. 2018-07-11 17:37:48 +02:00
s3lph
1f9860a707 Install a SSH client in the CI Docker image. 2018-07-11 17:34:59 +02:00
s3lph
0f0eb0ac3b Fixed syntax error in Gitlab CI config. 2018-07-11 17:20:24 +02:00
s3lph
69e08a70be Added a staging deployment CI job. 2018-07-11 17:17:00 +02:00
s3lph
3a8497325f Moved database and user generated content to /var/matemat 2018-07-11 16:06:36 +02:00
s3lph
873d08e86a Fixed docker image tag in CI config. 2018-07-10 22:33:44 +02:00
s3lph
4b759d724b Fixed docker push command in CI config. 2018-07-10 22:25:56 +02:00
s3lph
824694c811 Fixed typo in Gitlab CI config. 2018-07-10 22:18:57 +02:00
s3lph
bc19893d90 Made unit tests unprivileged again (using sudo) 2018-07-10 22:12:49 +02:00
s3lph
4292cf8696 Run tests as root inside the container. 2018-07-10 21:51:42 +02:00
s3lph
9988ed4ef0 Added Docker and Git dependency to test image 2018-07-10 21:08:53 +02:00
s3lph
93319e874e Added a CI job that builds a docker image and pushes it to the project's registry. 2018-07-10 20:25:34 +02:00
s3lph
78d347f26c Use unprivileged docker image. 2018-06-19 22:55:37 +02:00
s3lph
17fe381402 Use unprivileged docker image. 2018-06-19 22:54:07 +02:00
s3lph
b06c54e782 GitLab CI: Run unit tests as unprivileged user. 2018-06-19 22:15:18 +02:00
s3lph
617cc2aa6f GitLab CI: Run unit tests as unprivileged user. 2018-06-19 22:11:42 +02:00
s3lph
1f0312fcbd GitLab CI: Run unit tests as unprivileged user. 2018-06-19 21:52:00 +02:00
s3lph
27c264278a GitLab CI: Run unit tests as unprivileged user. 2018-06-19 21:49:56 +02:00
s3lph
3e3d544d90 GitLab CI: Run unit tests as unprivileged user. 2018-06-19 21:47:40 +02:00
s3lph
5b231a0d40 Temporarily disabled mypy, as it doesn't seem to work properly on some occasions:
- native libs (apsw, ...)
- some Union types
- unittest.TestCase.assertRaises with custom exceptions
2018-06-06 13:24:36 +02:00
s3lph
63265e645a Put max-line-length of 120 in pycodestyle config, rather than completely disabling E501. 2018-06-06 13:03:30 +02:00
s3lph
33888fe597 Added lots of missing type annotations. 2018-06-06 12:59:49 +02:00
s3lph
6870ef8f4a pycodestyle: ignore check for lines that are to long, as a max length of 79 gets ugly really quick. 2018-06-05 22:48:31 +02:00
s3lph
4db168b750 Split CI pipeline into 2 stages, added mypy check. 2018-06-05 22:38:42 +02:00
s3lph
82eb4f37f1 Added a codestyle CI job to check for PEP8 compliance. 2018-06-05 22:32:09 +02:00
s3lph
01b0b95652 Added lots of unit tests for the database facade, and already fixed some bugs. 2018-06-05 19:14:35 +02:00
s3lph
cedfcfc3d4 Changed GitLab CI from running setup.py test to -m unittest discover 2018-05-29 23:53:02 +02:00
s3lph
fab2c701d5 GitLab CI: Use buster instead of stretch. 2018-05-29 23:01:05 +02:00
s3lph
516f7f08d9 GitLab CI: Added missing apt dependency. 2018-05-29 22:53:46 +02:00
s3lph
0f1a150653 GitLab CI: Added missing pip dependency. 2018-05-29 22:51:08 +02:00
s3lph
15bd9e9747 Fixed Docker image name in GitLab CI config. 2018-05-29 21:52:20 +02:00
s3lph
6fb55ddc2d GitLab CI 2018-05-29 21:49:40 +02:00