1
0
Fork 0
forked from s3lph/matemat
Commit graph

54 commits

Author SHA1 Message Date
s3lph
f79112f84f Added build setup for archlinux. Let's test! 2018-10-19 21:31:45 +02:00
s3lph
15a0a3a184 setup.py optimization and debian packaging 2018-09-15 02:12:16 +02:00
s3lph
dcbd093eed Removed mypy check from CI. 2018-09-10 01:38:19 +02:00
s3lph
cd87695dd1 Pagelet initialization test. 2018-08-18 02:44:09 +02:00
s3lph
8adb3402d0 CI: Exclude abstract_httpd_test from coverage. 2018-08-17 20:53:19 +02:00
s3lph
08dd9ce3ff Merge branch 'staging' into python-3.7 2018-08-02 22:23:05 +02:00
s3lph
c933ffd1c7 GitLab CI: Use CI variables instead of git ref-parse. 2018-08-02 22:08:47 +02:00
s3lph
7fc44bab2b GitLab CI: Fixed a typo. 2018-08-02 21:59:15 +02:00
s3lph
f8871a73e2 GitLab CI: Build an image tagged latest-stable for master. 2018-08-02 21:55:22 +02:00
s3lph
5537f2e1f3 GitLab CI: Fixed coverage invocation. 2018-08-02 21:39:05 +02:00
s3lph
51c804abf3 Added missing python-coverage to testing docker image. 2018-08-02 21:28:00 +02:00
s3lph
9f5c556417 Updated GitLab CI to use the latest docker image. 2018-08-02 20:44:17 +02:00
s3lph
1dd1640cbe Updated CI pipeline config to only deploy to staging on the branch "staging". 2018-08-02 17:21:22 +02:00
s3lph
e2f2ab7727 Added libmagic to testing and staging Dockerfiles. 2018-07-20 00:45:15 +02:00
s3lph
fbcde6acc0 Added CI pipeline and Docker deployment to documentation; CI: only build image for staging branches and retag the image with :latest-staging. 2018-07-17 20:30:40 +02:00
s3lph
2169e50c23 Fixed staging branch regex in GitLab CI config. 2018-07-15 00:26:37 +02:00
s3lph
fbfa172e2b Removed a dangling branch name from the CI config. 2018-07-15 00:25:22 +02:00
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