Commit Graph

68 Commits

Author SHA1 Message Date
Adrià Casajús
127bb5b98c
Replace poetry with rye (#2163) 2024-07-25 16:18:49 +02:00
martadams89
e6c51bcf20
ci: remove v7 (#2062) 2024-03-14 09:49:45 +01:00
martadams89
4bfc6b9aca
ci: add arm docker images (#2056)
* ci: add arm docker images

* ci: remove armv6

* ci: update workflow to run only on path

* Update .github/workflows/main.yml

---------

Co-authored-by: Adrià Casajús <acasajus@users.noreply.github.com>
2024-03-13 15:20:47 +01:00
Adrià Casajús
7600038813
Update dependencies (#1901)
* Update dependencies

* Update python version

* update workflow to use python 3.10

* Install OS deps
2023-09-29 17:26:40 +02:00
Adrià Casajús
363a9932f1
Allow sentry to fail (#1454)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-11-28 12:40:06 +01:00
Adrià Casajús
b6ec4a9ac7
Update github checkout actions to v3 (#1451)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-11-28 11:13:27 +01:00
Adrià Casajús
478b1386cd
Updated checkout action to full checkout the repo (#1436)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-11-24 10:37:04 +01:00
Son Nguyen Kim
390b96b991
remove the code which is never called (#1407)
* remove the code which is never called

* fix comment

* no need to run ci for python 3.9
2022-11-15 10:07:06 +01:00
Adrià Casajús
efc7760ecb
Use newer github actions to install and cache poetry (#1395)
* Use newer github actions to install and cache poetry

* Update setup-python action to v4

* Parallel execution

* Build depends on lint

* Added missing req deps

* Install in all

* Remove unused

* No need to lint on all python versions

* Remove matrix deps

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-11-02 17:59:36 +01:00
Adrià Casajús
7f9ce5641f
Feat: Added parallel limiter to prevent sqlalchemy transaction issues (#1360)
* Feat: Added parallel limiter to prevent sqlalchemy transaction issues

* Remove logs

* Moved initialization to its own file

* Throw exception

* Added test

* Add redis to gh actions

* Added v6 to the name

* Removed debug prints

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-10-27 10:07:02 +02:00
Adrià Casajús
2bc088cad7
Disable telegran notificaiton (#1152)
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2022-07-11 10:27:05 +02:00
Adrià Casajús
046748c443
Update pre-commit (#1138)
* Update pre-commit

* Upgrade djlint, remove flake8 and add pylint

* Reformat with new djlint version

* Run pre-commit on CI

* Use only python3.10 on CI

* Reformat files with pre-commit

* Run pre-commit against all files

* Reformat

* Added global excludes

* Added pre-commit to the contributing file

* Set python 3.9 as default

* Set language version to python3

Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
Co-authored-by: Carlos Quintana <carlos.quintana@proton.ch>
2022-07-04 16:01:04 +02:00
Carlos Quintana
cb7868bdca
Add djlint (#1122)
* Add DJlint configuration

* Initial reformat for djlint

* Add template linting to CI

* Add explanation for HTML template checks in CONTRIBUTING.md
2022-06-29 11:28:26 +02:00
Adrià Casajús
28cc678c5c
Set github sha 2022-05-12 17:06:45 +02:00
Adrià Casajús
e584268219
Action refactor: Only run on push and also send to slack the sha of the commit 2022-05-12 17:02:03 +02:00
Carlos Quintana
0ed45f54c6
Move generation of build info to script 2022-05-12 16:48:51 +02:00
Carlos Quintana
9959848d74
Use python version file 2022-05-12 16:21:36 +02:00
Carlos Quintana
c3792dc333
Obtain git information from version file 2022-05-12 16:11:20 +02:00
Carlos Quintana
6b36651def
Fix Slack notification (#976) 2022-05-12 15:22:40 +02:00
Carlos Quintana
69e2f48d13
Try to generate release notes 2022-05-12 12:11:45 +02:00
Carlos Quintana
e01bae6206
Fix create sentry release 2022-05-12 09:12:10 +02:00
Carlos Quintana
cbcd4ea92f
Add slack message sending + upgrade docker build process 2022-05-12 08:54:44 +02:00
Adrià Casajús
b3645b33dd
Set global change for the job 2022-05-11 16:48:27 +02:00
Adrià Casajús
4f8a590ef9
Run only on pull 2022-05-11 16:35:08 +02:00
Adrià Casajús
42159dce4d
Run docker build only once and also on tag 2022-05-11 16:33:24 +02:00
Son
e74362dd9f set config 2022-05-01 17:22:05 +02:00
Son
c748ab22e6 run db migration in github ci 2022-05-01 17:06:10 +02:00
Carlos Quintana
8fedceb090
Also install libpq-dev 2022-04-28 16:10:43 +02:00
Carlos Quintana
0a34c1547f
Fix python 3.10 2022-04-28 15:24:42 +02:00
Adrià Casajús
7d38c41d52
Put version version between " so it is 3.10 instead of 3.1 2022-04-27 15:30:16 +02:00
Adrià Casajús
83a8d439e5
Add workflow for python 3.10 2022-04-27 15:28:26 +02:00
Adrià Casajús
af24876c71
Use sha3 and truncate to 8 bytes and store time in minutes starting at 2022-01-01 2022-04-20 20:46:35 +02:00
george
68462f2d8f
Reformat. 2022-02-06 23:17:52 +00:00
george
7f765e83b7
Use install-poetry to use poetry with caching. 2022-02-06 16:08:40 +00:00
george
4800274b33
Run flake8 through poetry. 2022-02-06 14:49:16 +00:00
george
116fc7114a
Update test_can_be_used_as_personal_email to only skip if using GitHub Actions. 2022-02-06 14:37:46 +00:00
george
3a5f077bbf
Improve and refactor testing. 2022-02-03 21:08:38 +00:00
Viktor Szépe
103d550347
Fix another typo 2021-11-02 04:48:13 +01:00
Viktor Szépe
597f8cac74
Fix typo 2021-11-02 04:34:04 +01:00
Son
be418029bd fix github ci 2021-08-15 21:49:56 +02:00
Son
d9c682a23e remove sqlite everywhere, only use postgres. Do not use 5432 port to avoid conflict 2021-08-15 17:41:16 +02:00
Son Nguyen Kim
a13953e13f add postgres to github action 2021-08-06 08:54:24 +02:00
Son NK
a570a426d4 remove --cov option from pytest to allow debugging in pycharm 2021-03-24 17:25:41 +01:00
Son NK
9c4a5fc734 run black via poetry in CI 2021-03-08 13:39:20 +01:00
Renaud Boyer
c61dd9dec6 linting step in workflow 2020-12-06 22:21:18 +01:00
Renaud Boyer
0023627bf5 store htmlcov as a workflow artefact 2020-12-05 15:03:13 +01:00
Son NK
1801fa1a4b remove environment tag in sentry action 2020-11-26 10:54:28 +01:00
Son NK
25d7709a8b create sentry release 2020-11-26 10:04:51 +01:00
Son NK
4c1bf68d86 only push docker image on master 2020-11-26 10:04:39 +01:00
Son NK
351adc57f5 use poetry instead of pip 2020-10-01 12:13:28 +02:00