jo
dde89def2b
ci: speed up postgres when testing api
2023-04-18 12:42:15 +00:00
jo
f35e09e593
ci: fix merge request only workflow
2023-04-14 13:38:17 +00:00
jo
0f8393e156
ci: fix duplicate pipelines
2023-04-06 09:34:00 +00:00
Georg krause
fbaa6e7b71
chore: Remove sphinx-multiversion
2023-04-06 09:08:12 +02:00
Georg krause
83baaa27c8
fix: Make development docs available again
2023-04-05 21:05:36 +02:00
Georg Krause
a029b845ed
fix: Make sure funkwhale_api package and metadata are available for docs
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2374 >
2023-03-22 11:32:14 +01:00
jo
2a11e430f5
ci: don't clone where unneeded
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2351 >
2023-02-01 19:45:41 +00:00
jo
43ca4ea29c
ci: fix missing image tag in docker job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2351 >
2023-02-01 19:45:41 +00:00
jo
a3be49e099
ci: fix new api dev build meta script
...
Run the set-api-build-metadata on merge requests for testing
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2351 >
2023-02-01 19:45:41 +00:00
jo
3115415ef5
ci: install funkwhale_api package for docs building
...
The funkwhale_api version is guessed from the package, so the package needs to be installed.
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2332 >
2023-01-31 06:57:32 +00:00
jo
651ff4e716
ci: prefer needs to dependencies
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2347 >
2023-01-30 22:53:31 +01:00
jo
701416c140
ci: move docker jobs to build stage
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2347 >
2023-01-30 22:50:17 +01:00
jo
b2c7c26552
ci: only lint api on api files changes
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2347 >
2023-01-30 19:19:16 +01:00
jo
3d9e12b3e5
ci: run build_api_schema when build_docs runs
...
We need to pass the artifact between the jobs.
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2347 >
2023-01-30 19:17:53 +01:00
jo
d18d94bbc2
ci: explicit dependencies between jobs
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:35 +01:00
jo
2020952cd6
ci: jobs are interruptible by default
...
All jobs are interruptible, except publish/deployments jobs.
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:35 +01:00
jo
ad3a74fd97
ci: aggressive caching for docs related jobs
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:35 +01:00
jo
7ff81e35f3
ci: aggressive caching for api related jobs
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:34 +01:00
jo
f027c8d04b
ci: aggressive caching for front related jobs
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:34 +01:00
jo
6662408fb3
ci: use shared ci docker image for docker jobs
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:34 +01:00
jo
195fb2d8fb
ci: rework deploy_docs job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:33 +01:00
jo
f79d71b594
ci: rework build_docs job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:33 +01:00
jo
66884a41f2
ci: rework build_front job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:33 +01:00
jo
c3722a45e3
ci: rework build_api job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:32 +01:00
jo
6806132d50
ci: rework build_api_schema job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:32 +01:00
jo
f257d9ddc0
ci: uncomment and rework test_front job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:32 +01:00
jo
1a9b93183d
ci: rework test_api job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:31 +01:00
jo
1e5273cc5e
ci: rework lint_front job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:07 +01:00
jo
573631b079
ci: rework review_docs job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:07 +01:00
jo
d15846a3a4
ci: rework review_front job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:06 +01:00
jo
8001565b46
ci: rework find_broken_links job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:06 +01:00
jo
a03c785460
ci: simplify check missing changelog job
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:06 +01:00
jo
6afd960901
ci: rename jobs
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286 >
2023-01-30 10:37:05 +01:00
jo
c6f235ec8c
feat: drop support for python3.7
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2342 >
2023-01-30 09:24:27 +00:00
jo
6806adb4f5
test(api): lint code using pylint
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2203 >
2023-01-29 12:47:02 +00:00
jo
6b469ba1d8
ci: allow running the pipeline on tags
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2325 >
2023-01-23 13:16:07 +00:00
jo
14b5e137bd
feat: prefer using the funkwhale-manage entrypoint
...
This replaces `poetry run python3 manage.py` with `venv/bin/funkwhale-manage`.
Command running `venv/bin/funkwhale-manage` assume the current working directory is `/srv/funkwhale` on common deployments.
In the funkwhale api docker image, the funwhale-manage command line
interface is available globally.
2023-01-16 02:11:07 +01:00
jo
efbdc027ab
fix: use versioned python3 instead of python
2023-01-13 16:55:05 +01:00
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