jo
ddae3202cc
chore: release 3.0.0-beta.1
2022-09-23 13:41:14 +02:00
jo
f1dbad9be1
ci: run docs workflow on vale files changes
2022-09-22 13:19:35 +02:00
jo
31e09401bb
chore: replace custom makefile with vale packages
2022-09-22 13:19:35 +02:00
jo
74539f75d8
ci: don't check github.com/libretime/libretime/(issues|pulls) links
2022-09-17 11:51:35 +02:00
jo
093d8bafbb
ci: ignore changelog for closed reference notifier
2022-09-17 11:51:35 +02:00
jo
bdc2e92454
chore: release 3.0.0-beta.0
2022-09-16 16:32:00 +02:00
jo
990dabcdd3
chore: remove unused variable
2022-09-15 14:28:32 +02:00
jo
07c672a565
ci: add container tags
2022-09-15 10:06:48 +02:00
jo
369b85018a
ci: improve containers build caching
2022-09-15 10:06:48 +02:00
jo
1c3c15f3af
ci: enable containers concurrency group
2022-09-15 10:06:48 +02:00
Jonas L
2b6966e089
ci: don't run all workflows in unrelated workflows changes ( #2142 )
2022-09-14 13:45:26 +02:00
jo
b93e24a02c
ci: add containers build job
2022-09-14 11:09:52 +02:00
jo
7184fb3235
test(worker): setup testing
2022-09-09 14:44:37 +02:00
jo
00bb922b79
ci: add shared packages to dev container
2022-09-08 18:29:26 +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
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
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
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
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
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
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
270fef3cbc
ci: add website deploy workflow
...
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
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
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
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
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
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
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
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
fa5db502ed
Drop Ubuntu Xenial support
...
Fixes : #1226
2021-07-06 10:27:17 +02:00
jo
35e325fbf0
Move lint/pre-commit to test/pre-commit workflow
2021-06-05 00:39:35 +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
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
ca28cc5170
make release on tags draft
2021-05-21 16:45:29 +02:00