Commit Graph
55 Commits
Author SHA1 Message Date
Floréal Cabanettes c38cfa08a6 Add python 3.11 to github workflow 2023-07-14 12:00:34 +02:00
SpitapandAntoine Nguyen f05478bccd added rq
Co-Authored-By: Antoine Nguyen <tonio@ngyn.org>
2023-06-23 17:10:59 +02:00
Spitap 92bf82a371 Don't run test w/o cov on 3.10 postgres 2023-05-09 13:25:34 +02:00
Spitap 8cf7ec91a2 Updated time management 2023-05-04 08:17:31 +02:00
SpitapandAntoine Nguyen e51e6451c1 Fixed m2m relationship on fresh domain instance
Co-Authored-By: Antoine Nguyen <tonio@ngyn.org>
2023-05-04 08:17:30 +02:00
Spitap f56d01296c Updated postgres to 12 2023-05-04 08:17:30 +02:00
Spitap 5ae0132100 updated workflow, update docker 2023-05-04 08:17:30 +02:00
Spitap 10f3facc63 better job handling 2023-04-22 19:50:48 +02:00
Spitap 2b47cbbc87 Use github ref name only for release 2023-04-22 19:10:20 +02:00
Spitap f8518b0e3d Updated build tool 2023-04-22 13:51:06 +02:00
Antoine Nguyen 75a68021c8 Revert to v2 of setup-python action 2023-04-22 13:16:26 +02:00
Antoine Nguyen 6dcdfb72b3 Pin version of pypa/gh-action-pypi-publish 2023-04-22 11:58:06 +02:00
Antoine Nguyen aea89db9fa Updated CI Actions. 2023-04-22 11:19:04 +02:00
Antoine Nguyen 5fbaaeb75b Updated CI actions 2023-04-22 10:55:55 +02:00
Antoine Nguyen cea280ecb5 Updated CI 2023-04-22 10:39:14 +02:00
Antoine Nguyen d5611c7ada Updated translation 2023-04-21 15:17:27 +02:00
Antoine NguyenandGitHub 2abe859362 Create FUNDING.yml 2023-04-20 09:02:46 +02:00
Antoine Nguyen 1a2bf048f4 Updated XML path 2023-04-18 10:01:09 +02:00
Antoine Nguyen 34c473f056 Updated artifact 2023-04-18 09:45:27 +02:00
Antoine Nguyen ec280c4f3f Force XML file path 2023-04-18 09:43:52 +02:00
Antoine Nguyen 77cb1495c8 Try with XML outptu 2023-04-18 09:27:46 +02:00
Antoine Nguyen ec4a228fcc Added debug 2023-04-17 15:43:17 +02:00
Antoine Nguyen 350027a47b Updated workflow 2023-04-17 15:17:27 +02:00
Antoine Nguyen 191cb99fec Removed wrong line 2023-04-17 10:42:08 +02:00
Antoine Nguyen c896d19c29 Updated workflow 2023-04-17 10:29:11 +02:00
Antoine Nguyen eb51a3085b Create coverage report. 2023-04-17 10:08:40 +02:00
Antoine Nguyen 30aaa42027 Updated workflow to fix codecov step 2023-04-17 09:49:30 +02:00
Antoine Nguyen f9f78786c8 Fixed CI config for coverage 2023-02-26 13:51:04 +01:00
Spitap 34b0423f01 Run all tests on github action 2023-02-23 20:52:48 +01:00
Antoine Nguyen 7745ea4f0b WIP: Moved DMARC plugin back to core repo 2023-02-23 18:08:13 +01:00
Antoine Nguyen 6cbd13173a Added frontend translations to Transifex 2023-02-22 19:26:10 +01:00
Antoine Nguyen e9de9d771a Dot not trigger workflows when translations are updated 2023-02-22 18:13:06 +01:00
Tom Hendrikx f0db03131f Run tests with python 3.10
I also tried 3.11 but that made the tests fail with all kinds of errors.
2022-11-05 01:02:38 +01:00
Antoine Nguyen fa284d93bd Fixed issue preventing DNS config dialog to pop up
fix #2512
2022-05-11 17:52:20 +02:00
Antoine Nguyen dee3488072 Frontend fixes
* Domain creation is now possible (#2507)
* Wrong labels in DNS detail page (#2505)
2022-05-06 14:56:15 +02:00
Antoine Nguyen f8164a9bbe actions: don't run release job for pull requests. 2022-03-25 11:05:18 +01:00
Antoine Nguyen 54891f6d96 Updated workflow 2021-08-25 16:37:45 +02:00
Jérôme Lebleu 6a1c31c9ba Added support for Python 3.9 and dropped <3.7 2021-07-05 18:30:32 +02:00
Antoine Nguyen 4b280c8586 Removed step. 2021-06-17 16:19:13 +02:00
Antoine Nguyen da36b3f087 Fixed wrong syntax. 2021-06-17 16:06:35 +02:00
Antoine Nguyen 8ee4095b3c Try to set timezone on the host. 2021-06-17 16:04:04 +02:00
Antoine Nguyen 10dd93d3f7 Try in django settings. 2021-06-17 15:57:15 +02:00
Antoine Nguyen bca23d6537 Try to force timezone 2021-06-17 15:50:18 +02:00
Antoine Nguyen f27cfa214f Handling pagination and filtering options in audit trail. 2021-06-17 14:57:37 +02:00
Antoine Nguyen d4868e33fc Added missing app in test list. 2021-06-02 13:17:13 +02:00
Jérôme Lebleu 63a8e84353 Resynchronize the package index in tests 2021-01-26 12:25:03 +01:00
Christophe CHAUVET 74e661be8d Replace Framework by Software 2020-12-28 14:13:54 +01:00
Christophe CHAUVET b531370766 Update Issue Template and links 2020-12-28 08:45:13 +01:00
02efd7f0e3 POC replace travis by Github Actions (#2066)
* POC replace travis by Github Actions

* add libldap2-dev

* add libsasl2-dev libssl-dev

* Delete .travis.yml

* Add specific configuration for PostgreSQL

* Retrieve PostgreSQL or MySQL port from env var

* Print affected port for the docker service

* Add Database type and dburl

* Fix dbtype

* Use environment variable to define the port in use for tests.

* Configured password for postgres connection.

* Added redis service.

* Enabled OpenLDAP service.

* Use a container for OpenLDAP too.

* Removed wrong option.

* Fixed volume syntax.

* Try using the option directly.

* Try using an absolute path.

* Fixed wrong syntax.

* Try different format for env variable.

* Try a different way to load data.

* Added missing method call.

* Fix envar

* Try to wait a bit before starting tests.

* Display openldap service logs.

* Fixed ldif scripts path.

* Try to use a custom docker image.

* Try to provide credentials.

* Try with github token.

* use main reference

* Changed LDAP Admin password.

* Added debug.

* Added more debug

* Removed debug.

* dd test for MySQL

* Fix name

* Test is independant

* Link build

* add envar DB for MySQL

* remove depends

* fix fast failed

* fix mysql user

* Use 127.0.0.1 to force for IPv4

* For parameters for MySQL

* Database name test_modoboa

* change mysql user to launch test

* Move to the last mysql version

lose connection on 5.7

* TEst some timout parameters

* remove bad parameters

* Add CONN_MAX_AGE parameters

* Add docker logs

* Try to reset db connections before we spawn processes.

* POC replace travis by Github Actions

* add libldap2-dev

* add libsasl2-dev libssl-dev

* Delete .travis.yml

* Add specific configuration for PostgreSQL

* Retrieve PostgreSQL or MySQL port from env var

* Print affected port for the docker service

* Add Database type and dburl

* Fix dbtype

* Use environment variable to define the port in use for tests.

* Configured password for postgres connection.

* Added redis service.

* Enabled OpenLDAP service.

* Use a container for OpenLDAP too.

* Removed wrong option.

* Fixed volume syntax.

* Try using the option directly.

* Try using an absolute path.

* Fixed wrong syntax.

* Try different format for env variable.

* Try a different way to load data.

* Added missing method call.

* Fix envar

* Try to wait a bit before starting tests.

* Display openldap service logs.

* Fixed ldif scripts path.

* Try to use a custom docker image.

* Try to provide credentials.

* Try with github token.

* use main reference

* Changed LDAP Admin password.

* Added debug.

* Added more debug

* Removed debug.

* dd test for MySQL

* Fix name

* Test is independant

* Link build

* add envar DB for MySQL

* remove depends

* fix fast failed

* fix mysql user

* Use 127.0.0.1 to force for IPv4

* For parameters for MySQL

* Database name test_modoboa

* change mysql user to launch test

* Move to the last mysql version

lose connection on 5.7

* TEst some timout parameters

* remove bad parameters

* Add CONN_MAX_AGE parameters

* Add docker logs

* Try to reset db connections before we spawn processes.

* Add relase on pypi (test server first)

* Fix setuptools scm to fix upload on Pypi test

* Retrieve all repos when publish on pypi

* if file exists, skip it

* Deploy only on master

* Added python 3.5 in matrix.

* Removed comments.

* Add translation and codecov

* Missing argument for upload in production

* fix bad indentation

* move codecov

* Codecov only in one build

* fix command

* Try to run codecov after PG tests.

* Fixed expressions syntax.

* Fixed path issue.

* Fixed path issue.

* Try workflow_run statement.

* Removed useless triggers.

* Test trigger on one workflow

* Another test

* Exclude master and main branch

* Regroup all steps in one workflow.

* Fixed typo

* Fixed bad syntax

* Added missing requirement.

* Push on Pypi Test only on master branch

Co-authored-by: Antoine Nguyen <tonio@ngyn.org>
2020-11-09 20:44:48 +01:00
Christophe CHAUVETandGitHub f91ac728fa Add database information 2020-10-30 09:20:25 +01:00