Commit Graph

333 Commits

Author SHA1 Message Date
jo 00bb922b79 ci: add shared packages to dev container 2022-09-08 18:29:26 +02:00
Jonas L 3990040e7a
ci: fix docusaurus monorepo config (#2101) 2022-09-08 11:12:31 +02:00
Jonas L 8b5749ec98
ci: build test images for debian bookworm (#2097) 2022-09-07 23:17:46 +02:00
jo d3d622929d ci: add housekeeping lychee cache 2022-09-06 08:55:14 +02:00
jo f048704fbb ci: add docs lint tools cache 2022-09-06 08:55:14 +02:00
jo a3817ea468 ci: add check-shell tools cache 2022-09-06 08:55:14 +02:00
jo 5680bdf581 ci: add check-shell python cache 2022-09-06 08:55:14 +02:00
jo d87e5d78a7 ci: add pre-commit python cache 2022-09-06 08:55:14 +02:00
jo 1edd941eb1 chore: add renovate-schema in renovate config 2022-09-05 12:12:38 +02:00
jo 64390965f4 chore: widen version range on python deps update 2022-09-05 12:12:38 +02:00
jo 3f2f2cb50b ci(legacy): catch syntax errors on older php versions 2022-08-24 12:18:40 +02:00
jo 6d928d9b24 ci: add missing gid when running dev container 2022-08-13 21:14:38 +02:00
jo 8810b5875f ci: add custom user for dev containers 2022-08-13 21:14:38 +02:00
renovate[bot] 631a7956ea chore(deps): update lycheeverse/lychee-action action to v1.5.1 2022-08-07 12:47:23 +02:00
Jonas L 2d334d3ede
ci: website-preview use single comment (#1996) 2022-07-26 14:17:35 +02:00
jo 28cec5100a chore: release 3.0.0-alpha.13 2022-07-15 13:20:17 +02:00
jo df9a6edf88 ci: add api coverage report using codecov 2022-06-29 12:26:03 +02:00
jo 01f1902900 ci: add missing codecov flags 2022-06-29 12:26:03 +02:00
Kyle Robbertze 7ff0aff70a ci: report pytest coverage in PR via codecov
Fixes: #1915
2022-06-29 11:23:44 +02:00
jo 1faf5a724b chore: move api client get_schedule to playout 2022-06-24 17:56:24 +02:00
Jonas L e232ad4c41
ci: fix schema update commit author (#1912)
Fix #1901
2022-06-22 19:33:53 +02:00
Jonas L 50877a033b
ci: fix python packages caching (#1893) 2022-06-18 15:54:16 +02:00
jo b10696265f ci: check and dispatch api schema changes
- check if api schema is outdated
- do not cancel in progress workflow
  Since this workflow commit to an external repo, it might squash multiple changes into a single commit.
- dispatch each schema update to client repo
- cache pip dependencies
2022-06-18 12:13:11 +02:00
jo ca8214cd65 ci: replace link checker report with failing job 2022-06-18 11:08:35 +02:00
jo b5d923acd3 chore: don't check for unreachable www.ascap.com 2022-06-18 11:08:35 +02:00
jo 03b870f83d chore: don't check urls with version variables 2022-06-18 11:08:35 +02:00
jo 387cb4da16 chore: exclude versionned docs from link checker 2022-06-16 16:25:43 +02:00
Jonas L 294b05a235
chore: auto merge pre-commit patch update (#1882) 2022-06-16 16:24:00 +02:00
Kyle Robbertze ad14e3f525 ci: specify python version 2022-06-09 09:54:37 +02:00
Renovate Bot b6728603d7 chore(deps): update actions/setup-python action to v4 2022-06-09 09:54:37 +02:00
renovate[bot] f1d187ebe3
chore(deps): update pre-commit/action action to v3 (#1864)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-05 23:54:28 +02:00
renovate[bot] b27f62f3fb
chore(deps): update lycheeverse/lychee-action action to v1.5.0 (#1861)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-31 06:41:15 +02:00
renovate[bot] 6289b5be6f
chore(deps): update docker/login-action action to v2 (#1844)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-06 08:13:20 +02:00
renovate[bot] f9e80377d5
chore(deps): update docker/build-push-action action to v3 (#1843)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 21:39:31 +02:00
renovate[bot] 64d17832cf
chore(deps): update amannn/action-semantic-pull-request action to v4.5.0 (#1825)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 13:17:20 +02:00
Kyle Robbertze 696f7f957d
ci: add link to next version of the docs in preview comment (#1824) 2022-05-03 11:38:54 +02:00
Kyle Robbertze 164cddca9f
ci: rename api-client repo (#1805) 2022-04-25 16:31:04 +02:00
Jonas L e320ce204e
ci: reduce usage (#1804)
* ci: move analyzer jobs in a dedicated workflow

* ci: move worker jobs in a dedicated workflow

* ci: move legacy jobs in a dedicated workflow

* ci: move shared jobs in a dedicated workflow

* ci: move api-client jobs to dedicated workflow

* ci: remove unused test job

* ci: move api jobs in a dedicated workflow

* ci: move playout ci jobs in a dedicated workflow

* ci: remove unused test job

* ci: move test-with-database in api workflow

* ci: run playout on api-client changes

* ci: rename tools workflow to dev-tools

* ci: rename generic tests workflow to project

* ci: rename lint-pr workflow to pr

* ci: update python tests concurrency

* ci: update python caching keys

* ci: update website/docs trigger condition

* ci: update legacy trigger condition

* ci: readd cancel in progress

* ci :update api cache key
2022-04-25 15:27:10 +02:00
renovate[bot] 684951dcd3
chore(deps): update amannn/action-semantic-pull-request action to v4.4.0 (#1801)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 11:14:40 +00:00
Jonas L 62a7558ed1
chore: allow deps scope for commit messages (#1803) 2022-04-25 13:05:42 +02:00
Kyle Robbertze c460bb1f6b chore(deps): remove dependabot 2022-04-25 12:57:49 +02:00
Kyle Robbertze 634fea9a04 chore(deps): configure renovate 2022-04-25 12:57:49 +02:00
Jonas L 7865683f53
ci: fix website preview cleanup branch (#1793) 2022-04-23 20:05:28 +02:00
dependabot[bot] 148292933a
chore: bump amannn/action-semantic-pull-request from 4.2.0 to 4.3.0 (#1772)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-18 09:11:15 +00:00
Jonas L 8a8476755c
ci: do not cache website preview build (#1763) 2022-04-12 15:13:46 +00:00
Jonas L f183886224
ci: update workflow dispatch input description (#1762) 2022-04-12 15:01:35 +00:00
Jonas L 6e31dc0005
ci: setup command dispatcher (#1759) 2022-04-12 16:10:01 +02:00
Kyle Robbertze c033c68daa
ci: use GH actions bot for schema generation committer (#1756) 2022-04-12 13:27:44 +02:00
jo 388519fa73 ci: add website-preview workflow 2022-04-11 12:47:06 +02:00
jo 6e00a75f9f ci: add website build cache 2022-04-11 12:47:06 +02:00
jo b42ab29b59 ci: only run website workflow for main branch 2022-04-11 12:47:06 +02:00
jo b18cc8c2e8 ci: move docs linting to docs workflow 2022-04-11 12:47:06 +02:00
Jonas L 0ac19964e7
ci: ignore versioned_docs with find_closed_references (#1753) 2022-04-11 07:11:07 +00:00
jo 28be15f83b ci: test on ubuntu jammy 2022-04-09 19:23:45 +02:00
Jonas L 652349c749
ci: simplify legacy test matrix (#1749) 2022-04-09 17:53:14 +02:00
Jonas L f2e7c3c124
ci: fix dev images creation script (#1745) 2022-04-09 16:33:10 +02:00
Jonas L 5f4badcdeb
ci: build test images for ubuntu jammy (#1743) 2022-04-09 16:18:12 +02:00
jo aedfd522d7 ci: don't run api-schema generation on forks 2022-04-08 16:44:06 +02:00
Jonas L 4113ea7506 ci: update api-schema generation commit message 2022-04-08 16:44:06 +02:00
Kyle Robbertze beebe79edd
ci: generate schema and push to api-client repo (#1740)
* chore(api): add schema generation make target

* ci: generate schema and push to api-client repo
2022-04-08 15:38:58 +02:00
Jonas L fce988aef1
feat(api): split api into multiple apps (#1626)
Fixes #1622

- split the api into 4 apps: core, history, schedule, storage
- exploded the settings into testing/prod
2022-04-04 14:38:50 +02:00
Jonas L fef38fb131
chore: rename api_client to api-client (#1727) 2022-04-04 10:25:38 +02:00
Jonas L e623c1f0df
ci: add missing python3-venv package for testing (#1729)
Related to 8c96c0a094
2022-04-03 15:07:31 +02:00
Jonas L 713640e8dc
chore: release 3.0.0-alpha.12 (#1718) 2022-03-29 15:49:33 +02:00
Jonas L 331df277b4
docs: fix and update links (#1714) 2022-03-29 13:07:38 +02:00
Kyle Robbertze 3c50d67b8e ci: use current release notes 2022-03-28 21:13:41 +02:00
jo 01daceedc9 ci: don't run linting in custom testing container 2022-03-28 17:55:08 +02:00
jo d49681447e ci: use ppa in all ubuntu distributions 2022-03-28 17:55:08 +02:00
jo 4f14be8ca0 ci: run test container as root
Should fix a permissions issue with github actions
2022-03-28 17:55:08 +02:00
Jonas L 7c44580260
ci: install git in libretime-dev testing image (#1706)
This might fix a lot of false positive while downloading the
code to the testing folder.
2022-03-28 11:35:12 +00:00
Jonas L 877eb6cee7
chore: ignore docusaurus extra packages upgrade (#1705) 2022-03-28 11:23:30 +00:00
dependabot[bot] 4f35a7e419
chore: bump lycheeverse/lychee-action from 1.3.2 to 1.4.1 (#1698)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.3.2 to 1.4.1.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.3.2...v1.4.1)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 11:23:04 +02:00
dependabot[bot] 6c47250647
chore: bump peter-evans/create-issue-from-file from 3 to 4 (#1699)
Bumps [peter-evans/create-issue-from-file](https://github.com/peter-evans/create-issue-from-file) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-issue-from-file/releases)
- [Commits](https://github.com/peter-evans/create-issue-from-file/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-issue-from-file
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 11:22:04 +02:00
dependabot[bot] 8ccf371a04
chore: bump actions/cache from 2 to 3 (#1690)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 12:57:04 +02:00
dependabot[bot] e1dc69af9e
chore: bump actions/checkout from 2 to 3 (#1668)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 09:22:29 +00:00
dependabot[bot] 3d14989c5c
chore: bump lycheeverse/lychee-action from 1.3.1 to 1.3.2 (#1667)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 11:19:04 +02:00
dependabot[bot] 417c2fa4b9
chore: bump actions/setup-python from 2 to 3 (#1669)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 11:17:51 +02:00
Jonas L 83eec6a878
ci: lowercase org name (#1656) 2022-03-03 13:07:16 +02:00
jo 2dcc654b70 feat(api): load config using shared helpers
- add django settings module documentation
- use default for previously required fields

BREAKING CHANGE: The API command line interface require the
configuration file to be present. The default configuration file path is
`/etc/airtime/airtime.conf`
2022-03-02 22:03:56 +02:00
dependabot[bot] cc0e764f47
chore: bump lycheeverse/lychee-action from 1.3.0 to 1.3.1 (#1646)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 11:20:02 +02:00
dependabot[bot] a058f80958
chore: bump actions/setup-node from 2 to 3 (#1647)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 11:17:50 +02:00
Jonas L 6dcea43f7a
chore: ignore closed ref notifer on releases notes (#1635) 2022-02-24 17:34:57 +02:00
Kyle Robbertze a7e9549643 docs: fix deploy to LibreTime website 2022-02-21 10:00:22 +01:00
Jonas L 3ec85d7821
docs: update structure and create links between pages (#1611)
* docs: rework files structure

* rewrite documentation entrypoint

* update category files and use yml

* add manuals entry page

* update admin-manual titles and page order

* create releases sections

* move ssl configuration to reverse proxy

* docs: update website vars and links

* update release note codeblock syntax key

* resurect troubleshooting guide

* Update freeipa custom auth documentation

* add notice about the state of the documentation

* update the backup documentation

* tmp: allow to deploy the website for preview

* Don't use require.resolve for plugins

* Update the main page link dest

* update development environment title

* rewrite the install/upgrade/migrate as guides

* update website docs sections links

* Fix urls

* move release note to documentation

* move home links to vars files

* tmp: update deploy url

* add react to tsconfig to handle jsx linting

* fix: replace absolute url to relative path to files

* tmp: allow CI Website dpeloy on working branch

* Update release note title

* use default syntax highlighting theme

* update the troubleshooting guide

* Wording

* use CodeBlock components

* Better prose

* remove api_client config section

* fix prose errors

* update import prefix for vars file

* reroder docs manuals links

* use sentence capitalization for page titles

* Wording

* missing word

* Update note about syslog log file

* wording
2022-02-21 09:16:54 +02:00
jo 8113077fd9 chore: fix broken links 2022-02-16 15:01:25 +02:00
dependabot[bot] 0bde024bda
chore: bump lycheeverse/lychee-action from 1.2.1 to 1.3.0 (#1597)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 11:24:42 +02:00
jo 94d3c5e496 docs: fix prose linting errors
- Properly enclose code between triple backticks
- Put paths and url between backticks
- Remove links <> enclosing
- Libretime styled name is LibreTime
- Put urls and paths betwen backticks
- Use sentence like capitalization for headings
- Put tools name between backticks
- Update links
2022-02-11 10:12:07 +01:00
jo 75e3760f2e ci: setup docs prose linting with vale
- only deploy if prose lint passes
- rework styles download
- add vale anotations matcher
- set MinAlertLevel to warning
- add website pages to the prose linter
- do not fail on docs linting
2022-02-11 10:12:07 +01:00
jo dae1420a5b ci: add link-checker workflow
- merge closed-references and link-checker
- add issue number to update
2022-02-10 08:40:38 +01:00
jo 328e36168d ci: only cancel same worklow 2022-02-10 08:40:38 +01:00
dependabot[bot] 89214966c2 chore: bump amannn/action-semantic-pull-request from 4.1.0 to 4.2.0
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-10 08:21:23 +01:00
jo 17f3aab7cb ci: add dependabot check on website 2022-02-10 08:17:02 +01:00
jo 270fef3cbc ci: add website deploy workflow
Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
jo 8d8e55f236 docs: replace jekyll with docusaurus
- jsnon5 not handled by pre-commit

Co-authored-by: Zachary Klosko <zklosko@users.noreply.github.com>
2022-02-10 08:17:02 +01:00
dependabot[bot] 94ca1b3e41 chore: bump amannn/action-semantic-pull-request from 3.6.0 to 4.1.0
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 3.6.0 to 4.1.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v3.6.0...v4.1.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:17:48 +01:00
Jonas L 3245216869
feat(legacy): add db config defaults and allow custom port (#1559)
* feat(legacy): allow custom port for database connection

- fix heredoc for php72

* update test config db section

* update sample config db section

* update api db config

* use defaults for database config section

* update documentation

* more documentation for migration
2022-02-04 16:03:01 +02:00
Jonas L 729a7b99e0
feat(legacy): consolidate constants (#1558)
* remove unused file

* fix paths leading slash

* remove useless imports

* refactor(legacy): use constants everywhere

* fix path leading slash

* remove useless import

* consolidate legacy contants

* format code

* reuse LIBRETIME_CONFIG_DIR

* fix test config path

* remove ci legacy log dir creation

* some logs improvements
2022-02-04 12:00:41 +02:00
jo a15e1fead5 chore(shared): add dependabot dependencies check 2022-01-31 11:17:02 +02:00
jo ca37322da4 chore: reorder dependabot entries 2022-01-31 11:17:02 +02:00
Jonas L 7ce6104806
chore: remove broken invite-contributors config (#1541)
Fixes #1323
2022-01-31 11:14:23 +02:00
jo ad7686e8a7 feat(api): update env var settings loading
BREAKING CHANGE: environment variables names changed
'LIBRETIME_CONF_DIR' was removed
'LIBRETIME_CONF_FILE' was renamed to 'LIBRETIME_CONFIG_FILEPATH'
2022-01-17 09:49:22 +02:00
Jonas L 4443528cf8
ci: cancel duplicate test workflow (#1513) 2022-01-13 19:35:42 +02:00
Jonas L c2cd1c28b8
chore: rename master branch to main (#1508) 2022-01-13 16:03:31 +00:00
dependabot[bot] db8dd87d61
chore: bump amannn/action-semantic-pull-request from 3.5.0 to 3.6.0 (#1500)
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-10 11:13:06 +02:00
Jonas L 9bad45acb3
ci: add shared to allowed commit scopes (#1494) 2022-01-07 17:34:59 +02:00
Jonas L 3a615cafa0
feat: create libretime_shared package (#1349)
* feat: create libretime_shared package

- We don't use pydantic.BaseSettings because of some
  incompatble loading behavior.

* fix: whitelist pydantic in pylintrc

* docs: update to new BaseConfig behavior

* docs: change confusing config filepath
2022-01-06 15:40:52 +02:00
jo 4a7f2290f1 ci: pin action-semantic-pull-request version 2022-01-04 08:26:27 +01:00
Jonas L bd43688757
ci: add semantic pull request linting (#1472)
* ci: add semantic pull request linting

* ci: add missing link to conventional commits
2022-01-04 09:15:08 +02:00
Jonas L 0b994c4e20
ci: add closed references notificier workflow (#1467)
This workflow will check for issue links in the code
that has been closed upstream and can be dealt with.
2022-01-04 08:51:03 +02:00
Jonas L e5ac78414e
chore(ci): let dependapot catch up with commit syle (#1468) 2022-01-03 08:02:06 +02:00
Kyle Robbertze 360bcb0a9c chore: add semantic-release prefix to dependabot commits 2021-11-17 10:20:19 +01:00
Jonas L 4057c88cf0
feat: debian 11 support (#1292)
* Debian 11 Support

Run api ci test on bullseye as well

* Silan does not work for mp3 on bullseye

* Liquisoap does not fail with wma files on bullseye
2021-11-09 11:21:40 +02:00
Kyle Robbertze 8200df1c40 ci: add missing focal database test run 2021-11-08 20:57:41 +01:00
Kyle Robbertze 7182390000
feat: add support for Ubuntu Focal 20.04 (#1168)
Co-authored-by: Valerio Bozzolan <gnu@linux.it>
2021-11-04 09:55:50 +02:00
Kyle Robbertze 6ca1ca2aec
feat: run API tests in CI (#1421)
* feat: run API tests in CI

* fix: remove incorrect test for guest user viewing themself
2021-10-18 14:17:34 +02:00
Jonas L 7837cc2320
Add dependabot check for legacy composer (#1392) 2021-10-17 18:25:50 +02:00
Jonas L 5e8d8db6e9
Feature: Support php7.4 (#1354)
* Run CI tests against php 7.4

* Sort composer dependencies

* Remove unused Aws S3 php library

* Pin simplepie dependency to ^1.5

* Pin getid3 dependency to ^1.9

* Pin composer semver to ^3.2

* Pin php-amqplib to ^2.12

* Drop sentry logging support

* Update composer dependencies

* Move propel regenerate to Makefile

* Regenerate propel files with v1.7.0

* Pin propel orm to ^1.7

* Regenerate propel files with v1.7.2

* fix: generator_version in airtime-conf-production.php

* Replace propel/propel1 with jooola/propel1

* Regenerate propel files with v1.7.3-dev

* Fix php7.4 compatibility

Using php-cs-fixer:

    '@PhpCsFixer' => true,
    'concat_space' => ['spacing' => 'one'],
    'ordered_class_elements' => false,
    'yoda_style' => false,
    '@PHP74Migration' => true,
    'assign_null_coalescing_to_coalesce_equal' => false,
    'ternary_to_null_coalescing' => false,
    'heredoc_indentation' => false,
    '@PHP74Migration:risky' => true,
    'declare_strict_types' => false,
    'void_return' => false,
    'use_arrow_functions' => false,

* Fix pre-commit
2021-10-17 17:19:53 +02:00
Jonas L 30b3470a06
Better format enforcing (#1391)
* Add shared python format-check target

* Add .format-check to api lint target

* Format api code with makefile format target

* Add .format-check to tools lint target

* Add .format-check to analyzer lint target

* Format analyzer code with makefile format target

* Add .format-check to celery lint target

* Add .format-check to api_client lint target

* Format api_client code with makefile format target

* Add .format-check to playout lint target

* Run CI linting in parallel

* Disable isort in pre-commit
2021-10-17 16:24:37 +02:00
jo 19c816f294 Update paths after playout move 2021-10-17 08:02:47 +00:00
jo 8fe0156d4f Update paths after api_client move 2021-10-17 08:02:47 +00:00
jo cf36eec5f8 Update paths after wroker move 2021-10-17 08:02:47 +00:00
jo 08f13d850c Update paths after analyzer move 2021-10-17 08:02:47 +00:00
Kyle Robbertze 9f1e41e6fa
Fix release action (#1401)
* correctly output file content

* trigger on version tags

* install gettext

* do not allow manual releases

* use maintained release action
2021-10-15 16:50:18 +02:00
Kyle Robbertze 9e9f6b433a
Create alpha.10 release notes (#1395)
* create alpha.10 release notes

* fix table of context to be markdown

* add python script cleanup

* fix links

* add API v2 feature

* Remove /usr/local/bin references

* add issue links to known issues and fix API v2 description

* Sort cleanup command args

* Better cleanup comments

Co-authored-by: Jonas L <jooola@users.noreply.github.com>
2021-10-15 15:49:45 +02:00
Jonas L 4335795c52
chore: Enhance release workflow (#1400)
* Rename package-release to release

* Move tarball creation in Makefile

* Enhance release workflow

* Add --ignore-platform-reqs to composer build
2021-10-15 14:59:59 +02:00
jo 81b0f22277 Improve legacy Makefile 2021-10-15 01:49:56 +02:00
jo 6a2b90b44d Add php-cs-fixer ci job 2021-10-12 11:07:56 +02:00
jo c4c89eae19 Fix paths after legacy rename 2021-10-11 13:43:39 +02:00
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