Roberto Rosario
f0453357f8
Add libfuse2 library to test suit.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-07 14:16:15 -04:00
Roberto Rosario
fc82f64705
Install the enchant library needed to build the documentation spell checker.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-04 22:27:42 -04:00
Roberto Rosario
ded7eb0bfd
Login to the GitLab registry before pulling the image.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-10-02 02:28:36 -04:00
Roberto Rosario
916c8e2cab
Rebuild documentation on the releases/all branch too.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-27 04:24:56 -04:00
Roberto Rosario
2d69c6114b
Add Gitlab CI stage to build documentation.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-27 01:21:44 -04:00
Roberto Rosario
fc9a782fb8
Push release images with the tag :latest too.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 23:48:32 -04:00
Roberto Rosario
0112e12375
Allow releasing Docker images separetly from Python packages.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 23:45:43 -04:00
Roberto Rosario
5e98bedbc9
Rename the Docker image and push jobs.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 22:37:16 -04:00
Roberto Rosario
bbdab284f8
Set the Docker image version environment again and tag the image for upload to Docker Hub.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 22:30:59 -04:00
Roberto Rosario
ab56758197
Pull the image from GitLab's registry before attempting to uploading to Docker's registry.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 22:05:58 -04:00
Roberto Rosario
e9bc10a056
Fix python package build and push scripts.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 19:27:18 -04:00
Roberto Rosario
a986b58338
Prepare release files.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-17 18:52:26 -04:00
Roberto Rosario
1126837993
Add new Python package build and push stages. Reduce the number of branches that trigger tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-25 18:01:40 -04:00
Roberto Rosario
df6a3dfe28
Also run all the test on git push to the releases branch.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 00:30:51 -04:00
Roberto Rosario
4fe0f47a9c
Only publish commits to the releases branch.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-17 00:28:54 -04:00
Roberto Rosario
7f692710b3
Limit the number of branches that trigger the full test suit.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-16 15:43:16 -04:00
Roberto Rosario
90b7c1ffa3
Tag and push a "latest" image too.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 03:41:11 -04:00
Roberto Rosario
30957b24c4
Push the final docker image to the docker hub and add deploy stage for an online demo and a staging deployment.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-30 00:43:27 -04:00
Roberto Rosario
e5e619e045
Only build docker images for the master, staging and nightly branches.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-12 03:54:46 -04:00
Roberto Rosario
9896f7d52a
Revert "Disable Docker test image from the CI pipeline.". Re add the Docker tests now that the slowdown cause was found to be Whitenoise.
...
This reverts commit e7637151b9 .
2018-06-03 00:08:06 -04:00
Roberto Rosario
37d2f82b6d
Remove runner tag from the sqlite test section.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-26 01:17:59 -04:00
Roberto Rosario
53c0ca20a5
Remove codecov CI stage
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-26 01:01:35 -04:00
Roberto Rosario
bf51ad3c8d
Don't collect static files for tests.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-25 03:21:37 -04:00
Roberto Rosario
e7637151b9
Disable Docker test image from the CI pipeline.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-25 00:09:03 -04:00
Roberto Rosario
39e605df11
Collect staticfiles before running tests for the CI.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-21 01:32:17 -04:00
Roberto Rosario
9a5c281a8b
Add support for running tests from a Docker container.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-21 00:39:40 -04:00
Roberto Rosario
6c04e7dbd6
Call manage.py using python and not directly.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-07 01:52:54 -04:00
Roberto Rosario
f410ae40e7
Split test jobs into multiple jobs. Cache the APT cache folder. Only submit coverage report in the SQLite test jobs.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-07 01:45:35 -04:00
Roberto Rosario
b7b100b01a
Fix docker build stage keys.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-07 01:31:53 -04:00
Roberto Rosario
ea4886dc2b
Update the key names of the docker build stage.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-07 01:15:20 -04:00
Roberto Rosario
fc42849b00
Update gitlab-ci to build a docker image if the tests are successful.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-07 01:08:47 -04:00
Roberto Rosario
188b7559d2
Cache the PIP folder between builds.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-07 00:48:59 -04:00
Roberto Rosario
4db641372d
Test againg MySQL 8.0.3. Since 8.0.4 onwards the authentication system changed.
...
https://stackoverflow.com/questions/49963383/authentication-plugin-caching-sha2-password
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-30 01:08:43 -04:00
Michael Price
0b77c5c319
Add Ubuntu package gnupg.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:37:27 -04:00
Michael Price
48834eb8b4
Add Ubuntu package gpgv. Sort packages alphabetically.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:37:16 -04:00
Michael Price
7b68e271c8
Only pull the Database Docker image for the test that requires it.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:36:55 -04:00
Michael Price
a1c8b8e5de
Update the Ubuntu package repository before trying to install anything.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:36:42 -04:00
Michael Price
b616ffaf1f
Add locales package which is missing in Ubuntu 16.04.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:36:23 -04:00
Michael Price
8c37bd87d6
GitLab CI testing with Ubuntu 16.10 is failing. Fallback to Ubuntu 16.04.
...
Signed-off-by: Michael Price <loneviking72@gmail.com >
2018-04-01 02:36:08 -04:00
Roberto Rosario
0ab396eeb8
Add the graphviz binary and Python requirements to the requirements
...
file, CI and deployment instructions.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-08-09 01:02:39 -04:00
Roberto Rosario
fd601037a1
Switch to the Python version of the CodeCov client.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-06-20 03:42:35 -04:00
Roberto Rosario
8179c35189
Simplify test runner by adding a new option '--mayan-apps' that
...
automatically tests all Mayan apps that report to have tests.
Change the app flag that indicates when an app has test
from 'test' to the more explicit 'has_test'.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2017-03-14 23:47:40 -04:00
Roberto Rosario
0078600e62
Add custom tests runner that replaces the custom "runtests"
...
management command.
2017-02-17 18:12:48 -04:00
Roberto Rosario
7cc5064df3
Add curl to the GitLab CI script to be able to send the coverage report.
2016-10-26 04:43:11 -04:00
Roberto Rosario
fa7c6ae8d7
Set the GitLab ci mysql service db server character set to utf8mb4.
2016-10-26 04:06:00 -04:00
Roberto Rosario
9d527ae423
Improve the UTF locale generation for the GitLab CI image.
2016-10-26 01:41:22 -04:00
Roberto Rosario
7ead59a408
Force locale previous of tests (GitLab CI).
2016-10-25 19:05:24 -04:00
Roberto Rosario
d779676724
Set the locale to avoid unicode tests from failing.
2016-10-25 18:43:00 -04:00
Roberto Rosario
56feae6e0e
Install DB development libraries for the required GitLab CI service.
2016-10-24 02:27:10 -04:00
Roberto Rosario
07c8d36545
Add missing python-pip install for GitLab CI
2016-10-24 01:44:37 -04:00