Commit Graph

51 Commits

Author SHA1 Message Date
Sli
6bdc1b73ae Enable sentry workflow again 2024-12-15 17:31:41 +01:00
imperosol
c7a8a1a91c refactor CI 2024-11-11 13:28:44 +01:00
thomas girod
a4fe4996aa
Merge pull request #834 from ae-utbm/real-name
Restore real name
2024-10-03 10:12:23 +02:00
Sli
655d72a2b1 Completely integrate wepack in django
* Migrate alpine
* Migrate jquery and jquery-ui
* Migrate shorten
* Add babel for javascript
* Introduce staticfiles django app
* Only bundle -index.js files in static/webpack
* Unify scss and webpack generated files
* Convert scss calls to static
* Add --clear-generated option to collectstatic
* Fix docs warnings
2024-10-02 16:11:02 +02:00
Sli
9c93162741 Add missing files 2024-09-23 10:25:27 +02:00
Sli
6068c6048a Use real name of the website once again 2024-09-23 01:37:25 +02:00
thomas girod
341ffc9a55 update CI 2024-09-02 12:49:11 +02:00
thomas girod
e82acdabb0 remove sentry deployment CI (until Sentry is repaired) 2024-08-29 11:48:26 +02:00
thomas girod
b7261ec629 custom manifest static files storage that also minify scss and js files 2024-08-26 22:34:32 +02:00
Sli
54af894b82 Improve documentation 2024-07-21 00:57:12 +02:00
thomas girod
07b625d4aa Rewrite documentation with MkDocs 2024-07-21 00:56:58 +02:00
thomas girod
5c999b6ef1
Merge pull request #696 from ae-utbm/fix-xapian-deploy
Fix missing xapian install step in deploy workflows
2024-07-05 10:28:41 +02:00
Sli
e1cf1c786d Fix missing xapian install step in deploy workflows 2024-07-04 19:44:22 +02:00
thomas girod
71fe9559b1 parallelize the CI 2024-07-04 14:44:28 +02:00
Sli
99605b98d4 Two steps pre-commit and better workflow output 2024-07-02 20:16:02 +02:00
Sli
c7135875b8 Use pre-commits hooks instead of ruff directly 2024-07-01 17:36:19 +02:00
thomas girod
d97602e60b
Use pytest for tests (#681)
* use pytest for tests

Eh ouais, il y a que la config qui change. Pytest est implémentable par étapes. Et ça c'est beau.

* rework tests with pytest

* remove unittest custom TestRunner

* Edit doc and CI
2024-06-26 19:10:24 +02:00
thomas girod
9bdf3fc4ac use ruff for formating
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
2024-06-26 12:35:14 +02:00
Julien Constant
51a12814f9 Update workflow 2023-09-19 22:17:26 +02:00
Julien Constant
00ae6e4623 Update workflow
Following this update : https://github.blog/changelog/2023-09-13-github-actions-updates-to-github_ref-and-github-ref/
2023-09-19 22:04:46 +02:00
thomas girod
96dede5077
Speed up tests (#638) 2023-05-02 11:00:23 +02:00
thomas girod
b5a40cfda9
Mise à jour de Black vers la version 23.3 (#629) 2023-04-22 15:32:31 +02:00
Théo DURR
13bae8d2fa
Update deploy.yml (#527) 2022-12-15 23:55:29 +01:00
Théo DURR
d8867fc9ea
Edited workflows (#521)
Résoud le soucis lié à dependabot.

Le problème venait du fait que l'on faisait un poetry update et non un poetry Install. Un update écrit dans poetry.lock, alors qu'un Install lit ce fichier. C'est là toute la différence.

Cette PR change donc les workflows.

Laisser ce bot apporte beaucoup de sécurité, vu qu'il nous prévient des changement, et aussi des vulnérabilités au niveau des dépendances.
2022-12-15 19:02:29 +01:00
Thomas Girod
5bff38fc7b add yaml config files for test deployment 2022-10-28 01:41:53 +02:00
Théo DURR
65c2689578
Editing workflow process
Sentry new release only triggers when deployment is successful
2022-08-27 21:56:46 +02:00
Théo DURR
1da82ac2dd
Another regex 2022-08-26 23:31:33 +02:00
Théo DURR
705dc56153
Testing another regex 2022-08-26 23:26:37 +02:00
Théo DURR
895d4b33a6
Going back to actions again 2022-08-26 23:19:29 +02:00
Théo DURR
ec65ca11d6
Added sentry release action (See: #444) 2022-08-26 21:33:18 +02:00
Théo DURR
0198027544
I forgot sth 2022-08-26 17:11:20 +02:00
Théo DURR
9a1a5635e2
Implemented file diff (see: #445) 2022-08-26 17:04:09 +02:00
Théo DURR
863f9ff77e
Added some safety to deploy script 2022-08-26 16:39:49 +02:00
Théo DURR
b3ad5c5df9
Unit tests do not run on master push
They are only trigerred on PRs
2022-08-26 16:12:17 +02:00
Théo DURR
596126f4f4
Actions seem to be operationnal 2022-08-26 14:39:10 +02:00
Théo DURR
8646b2c8f7
Rollback to previous version (see: https://github.com/appleboy/ssh-action/issues/174) 2022-08-26 14:10:37 +02:00
Théo DURR
55e0eecc0b
SSH Connection now works 2022-08-26 13:58:45 +02:00
Théo DURR
ab43d7d2df
Testing things 2022-08-26 13:53:17 +02:00
Théo DURR
13f0bfe546
Enabled debug 2022-08-26 13:48:40 +02:00
Théo DURR
83a384145b
Fixed spelling 2022-08-26 13:43:13 +02:00
Théo DURR
8a923761a5
Specified environment 2022-08-26 13:26:41 +02:00
Théo DURR
6e4a99eba3
Added sample deploy action 2022-08-26 13:20:57 +02:00
Théo DURR
273371db8b
Updated for merging into master 2022-08-25 22:46:30 +02:00
Théo DURR
ed3aa0c328
Removed real tests during actions deployment 2022-08-25 22:45:33 +02:00
Théo DURR
acfff6b103
Edited master to actions for testing purposes 2022-08-25 22:30:32 +02:00
Théo DURR
ada4579193
Created deploy workflow & made a dry run 2022-08-25 22:23:13 +02:00
Théo DURR
3a17c3079e
0/10 en dictée 2022-08-25 21:23:48 +02:00
Théo DURR
26e46de8e1
Je sais pas écrire 2022-08-25 21:21:12 +02:00
Théo DURR
111bcc8e60
Fixed permission issue on apt-get 2022-08-25 21:19:23 +02:00
Théo DURR
cdaa204ba2
Added bullshit 2022-08-25 21:17:19 +02:00