Commit Graph

326 Commits

Author SHA1 Message Date
jo 95b15b4913
ci: allow failure for find_broken_links job 2023-01-11 18:48:38 +01:00
jo 3420ea9f16 ci: don't use dependencies and needs together
Using dependencies and needs together doesn't work, the needs will be ignored.

In addition, needs doesn't load the "needed job" artifacts by default, it has to be specified.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2310>
2022-12-28 09:02:14 +00:00
Georg Krause 7e13cb45bb ci: Fix doubled git hash in version of nodeinfo endpoint 2022-12-16 17:34:11 +00:00
jo c2355a49b2 ci: ignore nginx website in find broken links 2022-12-16 17:24:28 +00:00
jo b0b81a8683 ci: use demo instance for front review apps
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2282>
2022-12-15 17:16:57 +01:00
jo 0f441e99a7 ci: reuse template from funkwhale/ci
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2282>
2022-12-14 16:53:41 +01:00
jo a599bede1e ci: reduce ci usage by changing workflow rules
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2282>
2022-12-14 16:53:41 +01:00
jo 96c2359732 ci: use default tags fro the pipeline
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2282>
2022-12-14 16:53:41 +01:00
jo 9bea730e39 ci: rename deploy stage to review
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2282>
2022-12-14 16:53:40 +01:00
jo 0b5b6e876e ci: use shared variables anchors
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2282>
2022-12-14 16:53:40 +01:00
jo ec6293b994 ci: move variables in there own jobs
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2282>
2022-12-14 16:53:20 +01:00
jo 9f82f65928 ci: remove unused variables
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2282>
2022-12-14 16:52:08 +01:00
JuniorJPDJ 05cb102b21 fix(ci): fix CI `build_documentation` job swagger-UI generation and remove leftovers NOCHANGELOG 2022-12-12 18:55:39 +00:00
jo bf0e4935ea ci: cache lychee checked urls for 1 day
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2254>
2022-12-06 15:53:50 +01:00
wvffle 215ad15beb Remove unused scripts 2022-11-28 10:16:58 +00:00
jo 452f2ee104 ci: remove docker_all_in_one_release job
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2221>
2022-11-26 19:32:46 +00:00
jo 39d0f30506 ci: make pre-commit run verbose 2022-11-25 19:43:50 +00:00
jo fa51738fe8 chore: add black pre-commit hook 2022-11-23 20:41:45 +00:00
Jacek Pruciak 15d328c974 Revert "ci: Disable Pipeline execution for branches"
This reverts commit 0fc7a96eef.
2022-11-23 20:00:14 +01:00
Renovate Bot 19f38a0c4c Update python Docker tag to v3.11 2022-11-23 09:01:38 +00:00
Georg Krause 0fc7a96eef
ci: Disable Pipeline execution for branches 2022-11-23 09:12:44 +01:00
jo 4fbef50d71 chore: add flake8 pre-commit hook
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2178>
2022-11-23 07:32:43 +00:00
jooola eea77bc234 ci: scan for broken links 2022-11-22 20:52:06 +00:00
jo e0ffb780f5 ci: fix permissions for build artifacts
- anyone should be able to read and traverse the tree
- not all the files should be executable, only scripts
2022-11-22 14:54:48 +00:00
jo 90b4cf15d1 chore: improve ci job readability 2022-11-22 14:54:48 +00:00
jo 45630be695 ci: add pre-commit job 2022-11-22 14:30:01 +00:00
RenovateBot abfa971eb5 Update alpine Docker tag to v3.17 (develop) 2022-11-17 15:30:41 +00:00
Renovate Bot 903da25bf3 Update node Docker tag to v18 2022-11-16 19:16:52 +00:00
Georg Krause bbb0e6719a
chore: Remove references to deprecated stable branch 2022-11-15 11:21:59 +01:00
Georg Krause ac16b85ddf
ci(tests): Run tests in python 3.7 2022-11-15 10:58:16 +01:00
JuniorJPDJ 730bfaec65 fix(ci): always run tests on protected branches 2022-11-09 19:00:59 +00:00
Georg Krause 9edc7f9548
ci: Add expiration time for almost all artifacts 2022-11-03 08:27:31 +01:00
Jacek Pruciak 76839daeed Revert "ci(armv7): Disable Docker builds for now"
This reverts commit dfd299741c.
2022-11-01 19:33:56 +00:00
Georg Krause dfd299741c ci(armv7): Disable Docker builds for now 2022-10-31 06:54:07 +01:00
Georg Krause f76bb01aac
ci(testing): Disable frontend testing 2022-10-30 19:39:04 +01:00
Jacek Pruciak ff26bb8976 Revert "ci(armv7): Disable Docker builds for now"
This reverts commit 3650981bc5.
2022-10-30 14:21:42 +01:00
Georg Krause 9b9d47e1d3
ci(tests): Fix exclusion of tests on stable 2022-10-30 13:33:45 +01:00
Georg Krause 64758a6a7f
ci(docs): Deploy docs for changes in develop 2022-10-29 14:34:33 +02:00
Georg Krause 93fa14e1fa
fix(testing): Make sure tests run conditionally in branches and always on develop 2022-10-29 10:03:04 +02:00
Georg Krause f68cb880f3
feat(docs): Run Preview deployment automatically when docs changed 2022-10-29 10:02:25 +02:00
Georg Krause 5c72d8d8c4
ci(testing): Only run tests for relevant changes 2022-10-29 09:46:41 +02:00
Georg Krause 570af9f1b2
ci(tests): Use released python 3.11 image for tests 2022-10-29 09:36:34 +02:00
RenovateBot fde81c1a03 Update postgres Docker tag to v15 (develop) 2022-10-28 05:25:22 +00:00
Georg Krause c82f7799ff ci(tests): report coverage to gitlab 2022-10-18 18:24:19 +00:00
Georg Krause 3650981bc5
ci(armv7): Disable Docker builds for now 2022-10-13 15:50:26 +02:00
Georg Krause 2eefd8b3f7 feat(python): Add support for python 3.11rc and testing 2022-10-12 08:52:26 +00:00
Georg Krause 8048ae49c4 Add coverage reporting for Gitlab 2022-10-09 08:27:24 +00:00
Georg Krause d0fd2be799
Only run lint jobs for MRs 2022-09-15 10:39:06 +02:00
Georg Krause 9a46a8a057 Improve merge request pipelines 2022-09-08 12:09:51 +00:00
Kasper Seweryn a38d0bc516 Add typescript type checking to gitlab CI 2022-09-06 09:26:36 +00:00
Georg Krause 36e55e56b6
Remove hotfix for setuptools and pin it properly 2022-09-05 16:13:26 +02:00
Georg Krause f3c6bc03e4
Test caching to avoid cargo build issues 2022-08-22 19:40:31 +02:00
Georg Krause 1fa648ecea
Only swagger for /api/v1 2022-07-16 09:17:12 +02:00
Georg Krause 3d825cd170
Fix black linting 2022-07-15 09:49:37 +02:00
Marcos Peña 05b0dded7c Merge branch 'stable' into develop 2022-07-14 13:30:02 +02:00
Georg Krause 0dd5d316be
Do run linter on tags, closes #1822 2022-07-14 10:42:28 +02:00
JuniorJPDJ 96c2eacb0f Cleanup Gitlab CI and Dockerfiles 2022-07-11 20:20:16 +00:00
Georg Krause d22a7fa57b Rework Docker Deployment and add frontend container 2022-06-28 13:55:54 +00:00
RenovateBot e8b41fd06f Update dependency alpine to v3.16 (develop) 2022-06-11 21:05:46 +00:00
Georg Krause 7e8bf3d850
Fix Pipeline definition for Gitlab 15 2022-06-09 14:48:13 +02:00
Georg Krause 6ea57880ce
Fix Pipeline definition for Gitlab 15 2022-06-08 14:12:55 +02:00
Georg Krause af5e2d31ea
Merge branch 'stable' into develop 2022-04-23 14:04:53 +02:00
Georg Krause 0034a6cdd1
Hotfix backend tests, ref #1745 2022-04-01 10:11:30 +02:00
Georg Krause 12cf0b6f59
Apply hotfix for failing pipelines, ref #1745 2022-04-01 09:20:49 +02:00
Georg Krause 7cc62c03d5
Use up-to-date image for docs preview 2022-04-01 09:00:49 +02:00
Georg Krause 067adc83f0
Deploy documentation on self hosted static host 2022-03-30 12:08:43 +02:00
Georg Krause 767a82b1c4
Pull latest commits before generating docs 2022-03-21 12:12:36 +01:00
Georg Krause f81221ef11
Merge branch 'stable' into develop 2022-03-18 13:43:00 +01:00
Georg Krause a0fa6a3b8a
Make develop and stable available in pages job 2022-03-17 21:01:21 +01:00
Georg Krause 0de8a829d8
Add forward to stable, fix docs preview 2022-03-17 20:40:01 +01:00
Georg Krause 2031babf64
Adjust Pipeline config to use poetry for docs 2022-03-17 20:39:50 +01:00
Georg Krause 6171b0b267
Add forward to stable, fix docs preview 2022-03-10 11:06:07 +01:00
Georg Krause 3632e0cade
Adjust Pipeline config to use poetry for docs 2022-03-10 11:06:07 +01:00
Kasper Seweryn d5cff4f3bf
Fix deployment base path 2022-02-27 23:20:03 +01:00
Kasper Seweryn 112ef174fc
Fix GitLab previews for frontend 2022-02-27 14:10:59 +01:00
JuniorJPDJ 90aa4dcc2a Retry API test CI job once if failed 2022-02-18 14:41:37 +01:00
Georg Krause fcf55b598e
[CI] Use node version 16 for all CI jobs 2022-02-17 12:29:51 +01:00
Georg Krause 8d69968f9d
Run frontend tests on npm 16 2022-02-15 20:24:13 +01:00
JuniorJPDJ 697a65ed2b Make Python 3.10 API tests mandatory 2022-02-05 21:43:20 +00:00
Georg Krause 8b77f5e89f Run job to check for changelog snippet 2022-02-05 21:42:31 +00:00
Renovate Bot 38445787c3 Update postgres Docker tag to v14 2022-02-03 19:33:13 +00:00
RenovateBot 03cb761749 Update redis Docker tag to v6 (develop) 2022-02-03 19:22:22 +00:00
Renovate Bot 11f103a8c6
Update node Docker tag to v16 2022-02-03 19:03:51 +01:00
Georg Krause fb9cb5425c Generate swagger 2022-01-28 12:33:39 +00:00
Georg Krause fc5848571c
Don't allow failures of eslint anymore 2022-01-23 14:06:15 +01:00
Georg Krause b53ced6ac9
Ignore failures of AIO container for now #1682 2022-01-23 10:22:23 +01:00
Ciarán Ainsworth 1ec7e1e8e5 Overhaul end user documentation 2022-01-19 18:49:46 +00:00
Georg Krause f4b9e670d6 Run pytest inside poetry venv 2022-01-19 08:53:47 +00:00
Georg Krause cfebcb87c3 Install dependencies for tests using poetry 2022-01-19 08:53:47 +00:00
Georg Krause 34bb75bb64 Run tests against all supported python versions
Python 3.10 is for now allowed to fail, since we not yet support it. This is to be done in %1.3.0, see #1653
2022-01-13 10:48:47 +00:00
Georg Krause 850dc69091 Update Black & run for whole repository 2022-01-09 11:40:49 +00:00
Georg Krause 1f4fee5902
Fix Pipeline for stable release builds 2022-01-06 17:36:40 +01:00
Georg Krause 77f3f44468 Fix Pipeline for stable release builds 2021-12-30 11:29:53 +00:00
Georg Krause 1261659e1d Fix review CI to allow instance switch and switch default instance 2021-12-12 13:32:45 +00:00
Georg Krause cefa3ec9d2 Fix post lint issues 2021-12-08 18:48:06 +00:00
Georg Krause 8ee9a536e1
Lint the frontend code 2021-12-06 11:35:20 +01:00
Georg Krause 87ff5b4da0
Remove manual checking of dependencies in favor of upcoming renovate bot 2021-11-25 13:07:26 +01:00
Georg Krause 7d66afeb0a Docker multiarch build CI (!1402) 2021-11-06 21:55:25 +00:00
Georg Krause cd0f74dc26
Only run linter and tests for relevant changes 2021-11-02 09:10:06 +01:00
Georg Krause e4b11df1ea
Fix eslint invocation in CI 2021-10-21 09:02:13 +02:00
Georg Krause e96d2dab10
Start process to get rid of master branch 2021-09-21 13:36:16 +02:00
egon0 58abf6e5c7
build docker images inside docker aka dind 2021-09-09 17:45:11 +02:00
Georg Krause f80e26843b
Use egon0s docker image to have bash available 2021-09-09 17:32:41 +02:00
Georg Krause dbcc430813
Add Dind-Service 2021-09-09 17:11:59 +02:00
Georg Krause d64a4c8030
Build in official docker image 2021-09-09 16:55:05 +02:00
Georg Krause be595bc5f8
Do not use shell runner anymore 2021-08-30 20:35:29 +02:00
Georg Krause 8d44ce3273
Fix temp path for AiO Docker build 2021-08-17 10:45:27 +02:00
Georg Krause 972ebd4fe3
Download zip artifact of All in One Repository 2021-08-17 10:28:58 +02:00
Micha Gläß-Stöcker 293b69e906 Fix building of All-In-One-Image 2021-08-15 20:17:22 +00:00
Georg Krause 48b355d145
Only report files with missing coverage 2021-08-15 21:58:23 +02:00
Georg Krause 6a7c806de8
Disable building of branch specific image for api tests 2021-08-15 21:58:23 +02:00
Micha Gläß-Stöcker 593c9d3594
Use variables instead of strings 2021-07-31 20:48:52 +02:00
Georg Krause cfa5df948d
Follow best practice to label docker images following semantic versioning 2021-07-30 22:30:10 +02:00
Georg Krause 6c90351cd7 Add job to lint Frontend changes 2021-07-16 18:34:46 +00:00
Georg Krause f7d33cff20
Delete all the images, not just dangling ones 2021-07-07 12:03:14 +02:00
Georg Krause 1b38537376
Cleanup runner before building the backend docker image 2021-07-07 11:58:56 +02:00
Georg Krause cf8c0752cd Update dev and test dependencies 2021-07-05 12:21:52 +00:00
Georg Krause 539ff45bed
Disable All-In-One Builds until they are fixed 2021-06-23 12:14:15 +02:00
Georg Krause 96fe772d96
Run dependency checks in up-to-date image 2021-06-17 12:29:35 +02:00
Georg Krause 913bfecd9c
Run tests in prebuilt docker image 2021-06-17 12:19:29 +02:00
Georg Krause 62ba4f4381
Add commit ref name to dev build as tag 2021-06-17 12:12:28 +02:00
Georg Krause 7ab4d760c1
Fix typo 2021-06-17 12:06:30 +02:00
Georg Krause 0864458235
Fix Pipeline for external devs 2021-06-17 12:02:14 +02:00
Georg Krause 1ef252e29d Implement several pipeline improvements
* Build docker image to run tests in
* Collect backend coverage reports
* Update dependencies
2021-05-28 09:39:27 +00:00
Georg Krause ec77040e87
Update deps and add CI job to check outdated pkgs 2021-04-30 06:25:38 +02:00
Georg Krause 15af4a1660
Fix API test report path 2021-04-22 17:04:16 +02:00
Georg Krause 134ba74399
Fix pytest junit command 2021-04-22 16:06:20 +02:00
Georg Krause 3884ee20a6
Add unit test reporting and vulnerability scans to CI 2021-04-22 15:57:15 +02:00
Agate dbe69eebce Pinned black version in gitlab.ci 2020-08-26 17:33:14 +02:00
Agate 4351331355 Fix #1175: Fix embedded player not working on channel serie/album 2020-07-21 11:19:35 +02:00
Agate c19e85955d
Fixed broken linting 2020-05-15 14:42:48 +02:00
Agate 5415fc540e
Build docker images for master branch 2020-05-07 14:05:24 +02:00
Agate 9f1da09621
Fixed broken docs build on master 2020-05-04 11:20:47 +02:00
Agate 13d0811635 Documentation for .env variables 2020-04-20 13:48:19 +02:00
Eliot Berriot 23d3893f01 See #170: subsonic API for podcasts 2020-03-18 15:52:23 +01:00
Eliot Berriot e313fcd033 Resolve "Screening for signups" 2020-03-18 11:57:33 +01:00
Eliot Berriot 7395845987
Fixed broken build 2020-03-09 17:28:51 +01:00
Eliot Berriot 4b2b250047
Fixed broken db with postgres:11.7 2020-02-15 12:01:19 +01:00
techknowlogick 4b9a03a110 Update docker-compose.yml to use redis v5
Fix #1021
2020-02-02 09:10:04 +01:00
techknowlogick 366d1bbc2d Use Node 12 (most recent LTS version) 2020-02-01 10:25:22 +01:00
Eliot Berriot 994bfbeb04
Use sphinx_rtd documentation theme, added logo and link to source on Gitlab 2019-10-02 19:26:30 +02:00
Eliot Berriot ef50927fe9
Make test jobs interruptible 2019-09-23 11:15:32 +02:00
Eliot Berriot 0af5459bb5 Merge branch 'push-latest-images' into 'develop'
Push latest images

See merge request funkwhale/funkwhale!857
2019-08-19 14:22:42 +02:00
Eliot Berriot b3b6dff3ae
Updated CI configuration to push latest tags on Docker hub 2019-08-19 14:19:41 +02:00
Eliot Berriot bb1a895a9b
Merge branch 'master' into develop 2019-07-29 14:22:31 +02:00
Eliot Berriot 0894306e5e
Use Node:11 in CI 2019-07-25 15:43:21 +02:00
Eliot Berriot 32de134e4a
Fixed broken CI build 2019-06-24 14:04:53 +02:00
Eliot Berriot 4de78995c0 Fix #862: replaced Daphne by Gunicorn/Uvicorn 2019-06-19 10:26:09 +02:00
Eliot Berriot a6f5dd026c
Restored review app for docs 2019-06-13 15:14:32 +02:00
Eliot Berriot 2bc119e353
Restored review app for front-end 2019-06-13 15:14:32 +02:00