Commit Graph

105 Commits

Author SHA1 Message Date
Kyle Robbertze 87525efaba update to use new labels for issue filing 2021-09-21 22:01:05 +02:00
jo ed8a63a284 Update labels 2021-09-18 17:12:46 +02:00
jo 78344167da Allow ci image user to run sudo without password 2021-09-16 21:34:41 +02:00
Kyle Robbertze 56f5a84146
Merge pull request #1339 from jooola/feat/ci_start_linting
Start linting 🎉 !
2021-09-13 12:01:31 +00:00
jo 9a7c3e0d21 Replace build.sh with make to manage airtime_mvc 2021-09-11 04:55:51 +02:00
jo 03b109dcb5 Fix paths after composer.* files move 2021-09-11 04:48:53 +02:00
jo 15145039b3 Add annotations matchers 2021-09-10 15:14:48 +02:00
jo c9322fbcc8 Use makefile in test jobs
Reorder test job sorting
2021-09-10 15:14:48 +02:00
jo 00b73a3819 Add CI linting job
Use a single lint job

Run linting inside a container
2021-09-10 15:14:48 +02:00
Kyle Robbertze 31c2d2ee7f disable interactive frontend for apt in docker builds 2021-09-09 20:16:22 +02:00
jo 3677a08656 Prepare Ubuntu 20.04 support
Start building docker dev images for testing purpose.
2021-09-09 17:54:27 +02:00
jo 1ec11f2a87 Prepare Debian 11 support
Start building docker dev images for testing purpose.
2021-09-09 16:31:55 +02:00
jo 7f1c368c13 Run tools CI job 2021-09-07 23:10:34 +02:00
jo 7cb3501540 Rename scripts/ to tools/ 2021-09-07 23:03:19 +02:00
jo bbabffcc0d Remove unused lock workflow 2021-09-02 16:12:14 +02:00
jo 610a1d673b Fix CI docker test image
- Lowercase registry organisation name
- Always use LibreTime's org dev image for tests
- Never build the dev image on forks
2021-09-01 17:06:40 +02:00
jo 84c334eafb Add missing ffmpeg package for fixtures generation 2021-09-01 16:00:08 +02:00
jo 4a3ce313d1 Enhance CI workflow
- Explode tests in multiple jobs.
- Cache apt dependencies in a shared docker image.
- Run tests on different distribution (debian/ubuntu, and maybe centos).
2021-09-01 16:00:08 +02:00
jo 8ac5c1ba03 Generate analyzer fixtures using ffmpeg 2021-08-30 21:23:38 +02:00
jo 2db156040c Remove xenial file leftover 2021-08-17 14:15:12 +02:00
jo 5ec5ef8a40 Fix CI python app installation 2021-08-17 12:24:00 +02:00
jo 9881eebf55 Fix shellcheck warnings 2021-08-17 12:23:36 +02:00
jo dc999f9006 Fix shellcheck errors 2021-08-17 12:23:32 +02:00
jo 6c2e547808 Allow custom shellcheck severity
Normal severity is normal.

CI severity is set to warning, but this should be
changed to style (default) once most
of the scripts are iether gone or modernized.
2021-08-17 12:20:52 +02:00
jo 38513c3bed Add shell-check job
We don't want to fail on shellcheck yet.
2021-08-17 12:20:52 +02:00
jo 5b64b29bdc ci: use test matrix for php and python tests 2021-08-15 13:53:30 +02:00
Kyle Robbertze f94e90a7f6 update documentation to remove bionic 2021-07-12 10:13:07 +02:00
Kyle Robbertze fa5db502ed Drop Ubuntu Xenial support
Fixes: #1226
2021-07-06 10:27:17 +02:00
Kyle Robbertze 817919b5be Add pull request template
Fixes: #794
2021-07-03 18:43:26 +02:00
Kyle Robbertze 16a9168d4f
Merge pull request #1227 from jooola/update_contibuting
Improve CONTRIBUTING and community links
2021-06-13 18:37:08 +02:00
jo ed3d527c09 Update CI to run pytest 2021-06-08 14:28:16 +02:00
jo 8d9d1e43c5 Update CI to run api_clients pytest 2021-06-08 14:06:32 +02:00
jo 19b7573b6f Improve CONTRIBUTING and community links
- Enhance CONTRIBUTING.md file.
- Add extra links to issue chooser.
2021-06-08 00:39:26 +02:00
Kyle Robbertze e8d5481422
Merge pull request #1210 from jooola/setup-pre-commit
Add pre-commit setup
2021-06-07 23:14:56 +02:00
jo cd17d0e6f9 Setup dependabot config 2021-06-07 23:08:32 +02:00
jo 35e325fbf0 Move lint/pre-commit to test/pre-commit workflow 2021-06-05 00:39:35 +02:00
jo 0180fa0e49 Fix shebangs 2021-06-04 17:06:05 +02:00
jo 1af089219f Bump pre-commit/actions version to 2.0.3 2021-06-04 17:06:05 +02:00
Jonas L c04daca033 Pin pre-commit action version
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2021-06-04 17:06:05 +02:00
jo efe4fa027e Format code using prettier 2021-06-04 17:04:53 +02:00
jo 65f7b41487 Fix spelling 2021-06-04 17:04:53 +02:00
jo 0cd499eee1 Add pre-commit setup
- Add pre-commit hooks
- Add github action to enforce pre-commit setup

For any hooks required for a 'sub project', for
instance the UI. It will be possible to create custom hooks,
and call some package scripts in the package.json file.

Fixes #1208
2021-06-04 17:04:53 +02:00
Kyle Robbertze 6beece7057 run CI on pull request updates 2021-05-31 10:54:07 +02:00
Kyle Robbertze ab3cc1afdd do not run release on every push to master 2021-05-27 15:31:30 +02:00
Kyle Robbertze b6d83d9b9b install for all python apps 2021-05-21 16:50:57 +02:00
Kyle Robbertze ca28cc5170 make release on tags draft 2021-05-21 16:45:29 +02:00
Kyle Robbertze c7c62b1268 drop Python tests on xenial 2021-05-21 16:40:29 +02:00
Kyle Robbertze e63fa940df pass environment to step 2021-05-21 16:36:12 +02:00
Kyle Robbertze 629d1d451b set log dir permissions 2021-05-21 16:29:45 +02:00
Kyle Robbertze 6193d80e2a group install steps 2021-05-21 16:22:50 +02:00