Commit Graph

287 Commits

Author SHA1 Message Date
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
Eliot Berriot ca41499c7d
Removed tests files from bundled API 2019-05-13 15:30:58 +02:00
Eliot Berriot 37b878270e Revert "Merge branch '769-ci-changes' into 'develop'"
This reverts merge request !689
2019-03-26 10:45:52 +01:00
Eliot Berriot eed8ac009f
Fix #769: run CI jobs only when relevant 2019-03-26 10:30:27 +01:00
Eliot Berriot 302031b4e3 Unified black conf 2019-03-15 12:11:05 +01:00
Eliot Berriot ce3543b471
fixed broken build 2019-01-21 14:32:56 +01:00
Eliot Berriot e9e5b15d39
Fix #614: added alternative funkwhale/all-in-one docker image 2019-01-17 09:30:26 +01:00
Eliot Berriot 6d0a4594c4
Disabled dependencies caching for develop/release builds 2019-01-15 12:10:40 +01:00
Eliot Berriot cc777d7a36
Fix #656: Updated default docker postgres version from 9.4 to 11 2019-01-11 10:45:38 +01:00
Eliot Berriot 169cab0bce
Fixed broken CI 2019-01-11 10:26:53 +01:00
Eliot Berriot e0c24bea51
Fixed typo in ci script 2019-01-10 15:07:04 +01:00
Eliot Berriot 43e096b1e0
Now include commit hash in develop builds 2019-01-10 14:55:28 +01:00
Eliot Berriot 4e1f159ae2
Merge branch 'master' into master-to-develop 2018-12-19 10:57:44 +01:00
Eliot Berriot f4b7dd6518
Fix #642: Deploy documentation from the master branch instead of the develop branch to avoid inconsistencies 2018-12-19 10:21:27 +01:00
Eliot Berriot 99359094e0
Point to new gitlab URL 2018-12-19 10:16:20 +01:00
Eliot Berriot dd23dfa07c
Point to new gitlab URL 2018-12-10 16:00:33 +01:00
Eliot Berriot 409b076c23
Removed the need to specify the DJANGO_ALLOWED_HOSTS variable 2018-11-25 18:40:56 +01:00
Eliot Berriot f5a3f59f1c
Use most recent image from develop as build cache 2018-10-20 16:24:19 +02:00
Joshua M. Boniface 4ce46ff2a0 Implement LDAP authentication 2018-08-22 18:10:39 +00:00
Eliot Berriot 5e7985387e
Fix #490: Ensure we always have a default api url set on first load to avoid displaying the instance picker 2018-08-21 18:22:57 +02:00
Eliot Berriot 37174ea3bb
Fix #388: More permissive default permissions for front-end files 2018-08-19 17:30:18 +02:00
Eliot Berriot a8a609155b
Fixed broken unit tests due to front-end cleanup 2018-08-11 17:59:20 +02:00
Eliot Berriot 3a94462bd6
Removed django-cacheops dependency 2018-07-21 12:57:48 +02:00
ButterflyOfFire 6ccfeaa066 Adding arabic translation 2018-07-04 16:31:29 +00:00
Eliot Berriot 36b9e301ff
Fixed broken front build 2018-07-01 18:33:20 +02:00
Eliot Berriot 94530bda9b Merge branch 'faster-ci' into 'develop'
Faster review apps

See merge request funkwhale/funkwhale!294
2018-07-01 15:11:59 +00:00
Eliot Berriot c47104b653
Faster review apps 2018-07-01 17:07:21 +02:00
Eliot Berriot 2af068be19
Should now have review apps aon forks 2018-07-01 16:21:08 +02:00
Eliot Berriot aab048dd32
Fix #161 and #161: initial french translation 2018-06-30 20:32:05 +02:00
Eliot Berriot f5dbdd0701
See #161: compile translations in dev and when publishing artifacts 2018-06-30 12:12:53 +02:00
Eliot Berriot cac543c9ba
Fix #332: Ensure 750 permissions on CI artifacts 2018-06-28 16:55:36 +02:00
Eliot Berriot 39461b8fab
Fix #256: Added troubleshotting and technical overview documentation 2018-06-25 23:34:18 +02:00
Eliot Berriot 31d8df7341
Review app for docs 2018-06-24 13:27:02 +02:00
Eliot Berriot 690bc47fd3
See #327: review app for the front \o/ 2018-06-23 17:54:29 +02:00
Eliot Berriot 7707636150
Ignore migrations in linting 2018-06-19 20:31:01 +02:00
Eliot Berriot 77c0b2b1a2
See #297: added black as a local dependency, more verbose check in CI 2018-06-10 12:13:02 +02:00
Eliot Berriot 2b1c46317f
See #297: flake8 CI job 2018-06-09 17:14:36 +02:00
Eliot Berriot 630ab896a5
CI job Performance improvements 2018-06-09 17:04:37 +02:00
Eliot Berriot afb9a71fd2
Updated and factorized Docker release CI job 2018-06-09 16:55:08 +02:00
Eliot Berriot aac80177f5
See #297: added black formatting check in CI 2018-06-09 16:04:46 +02:00
Eliot Berriot c4777532eb
Bundle swagger docs with sphinx docs 2018-04-26 18:22:47 +02:00
Eliot Berriot 140a78559b
Restrict sensitive build steps to only upstream repo 2018-04-22 14:06:13 +02:00
Eliot Berriot 74e7aed2d4
Removed duplicated line 2018-04-20 19:49:56 +02:00
Eliot Berriot 84c4e5ebbb
Added CI check to catch build errors 2018-04-20 19:30:23 +02:00
Eliot Berriot 35dda16adb
Compile and bundle translations in CI 2018-04-16 22:54:36 +02:00
Eliot Berriot 76c1abe9d6
Use redis in CI 2018-04-02 19:24:01 +02:00
Eliot Berriot 4f50eb50fb
Fixed broken CI 2018-04-02 19:16:34 +02:00
Eliot Berriot 82aa8c4e22
Compute coverage on API tests 2018-03-25 22:45:37 +02:00
Eliot Berriot a4b4e9bc00
Fixed lint issues in ci file 2018-03-20 15:05:49 +01:00
Eliot Berriot 80de16b693
Better documentation build CI Job 2018-03-12 23:39:03 +01:00
Eliot Berriot a448eaaf17
Fix #117: Use django-cacheops to cache common ORM requests 2018-03-08 23:21:59 +01:00
Eliot Berriot 93e4a4f123
Added FUNWHALE_URL setting to use in activity stream in representations 2018-03-01 18:38:32 +01:00
Eliot Berriot 2f8a026afa
Can now configure allowed host in all settings 2018-02-18 14:42:17 +01:00
Eliot Berriot cb2238c576
Should now run frontend tests on gitlab 2018-01-09 21:11:45 +01:00
Eliot Berriot c7636c9528
Now use postgres in tests 2018-01-07 22:21:01 +01:00
Eliot Berriot 3927b65965
Fixed broken Gitlab CI build and added pip cache 2017-12-16 16:10:48 +01:00
Eliot Berriot 1b58965e8c
Better cache in dockerfile 2017-12-16 15:27:42 +01:00
Eliot Berriot d63e7677e4 WIP: Debian installation instructions 2017-07-20 23:30:25 +02:00
Eliot Berriot 53e02cecb2 Added missing script 2017-07-17 22:01:57 +02:00
Eliot Berriot abdafd68cd Now also zip API code for easier release and installation 2017-07-17 22:01:02 +02:00
Eliot Berriot 0db752e0df Missing -r flag on cp statement 2017-06-28 20:11:06 +02:00
Eliot Berriot 005e3291a2 Fixed #27: now include compiled frontend files in docker container 2017-06-28 19:58:57 +02:00
Eliot Berriot e45edadcfb Bad gitlab ci conf for building image 2017-06-26 22:31:52 +02:00
Eliot Berriot 6d0755efcd Bad gitlab ci conf for building image 2017-06-26 22:24:37 +02:00
Eliot Berriot e56e57e22c Should now build and push latest docker image on master 2017-06-26 22:04:55 +02:00
Eliot Berriot 3c2a6914ce Fixup for last commit: wrong stage 2017-06-26 20:07:19 +02:00
Eliot Berriot ab4b6c3764 Fixed missing environment variable 2017-06-26 19:51:25 +02:00
Eliot Berriot 368937c422 Should now build funkwhale docker container and push it to docker hub 2017-06-26 19:48:09 +02:00
Eliot Berriot 4f15d3d28d Fixed #19: now uses pytest as a testing framework 2017-06-26 19:01:15 +02:00
Eliot Berriot c1b80ab184 Removed dind requirement to run tests for the api part 2017-06-26 17:26:36 +02:00
Eliot Berriot 5d7b1cb892 Should work now 2017-06-25 19:13:46 +02:00
Eliot Berriot 7db4e2cbfa Attempt 2017-06-25 19:12:23 +02:00
Eliot Berriot 270eab46f6 Job not being picked up... 2017-06-25 19:10:35 +02:00
Eliot Berriot a2356e3288 Missing ci tag 2017-06-25 19:07:49 +02:00
Eliot Berriot f757403c94 Should now build and deploy docs 2017-06-25 19:05:47 +02:00
Eliot Berriot 072605dea6 CI builds / pipeline now run tests and build static assets 2017-06-25 18:31:00 +02:00
Eliot Berriot 76f98b74dd Initial commit that merge both the front end and the API in the same repository 2017-06-23 23:00:42 +02:00