Torsten Grote
b095a1c2af
CI: Remove kvm skipped job
...
We didn't notice that the KVM tests didn't run and enabling the KVM jobs with env variable doesn't work anymore, because even merge requests against our project don't have access to our KVM runners. So the better option is to fail explicitly, so we can run the MR pipeline with our runners manually.
2025-12-10 09:11:28 -03:00
Torsten Grote
db8a11ff2e
CI: Pass with warning if flaky tests fail after 5 attempts
2025-12-10 09:08:04 -03:00
Torsten Grote
07b56f0516
Upgrade Dokka syntax to v2
2025-11-04 08:50:56 -03:00
Torsten Grote
1e4c9f39ed
Enable Binary compatibility validation
...
which is still experimental, but allows us to sport API breakage in CI. It still doesn't produce anything for the database lib.
2025-11-04 08:50:55 -03:00
Torsten Grote
7d655487ff
Remove emulator CPU core setting as it doesn't help
2025-10-21 12:38:21 +00:00
Torsten Grote
b5368e577b
Fix emulator cores issue (again)
2025-10-21 12:38:21 +00:00
Torsten Grote
bdb4649a8e
Run CI on SDK 24 as this is new minimum
2025-10-21 12:38:21 +00:00
proletarius101
f992d2c265
feat: add PMD linting integration to GitLab CI
2025-10-21 12:11:53 +00:00
Torsten Grote
3d0388c946
Set number of CPU cores for emulator
...
so it doesn't error on not enough cores anymore
2025-08-15 14:40:49 -03:00
Torsten Grote
9b09cfabe3
run full CI when dependencies change
2025-08-07 16:54:09 -03:00
Torsten Grote
78e8d09219
Run flaky network-based tests in a different job
...
that is allowed to fail. These tests are hitting real servers that often have issues and thus make our tests fail.
2025-07-14 23:26:40 +00:00
Hans-Christoph Steiner
62d7978489
gitlab-ci: fdroidserver from master until fix is released
...
This
https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1666
Fixes this:
https://gitlab.com/fdroid/fdroidclient/-/jobs/10347168516
2025-06-18 19:44:31 +02:00
Torsten Grote
e5771fac7b
Upgrade androguard from backports for nightly publishing
2025-06-13 10:14:20 -03:00
Torsten Grote
be7375bdc1
Upgrade CI image to bookworm
...
in order to get fixed androguard to fix nightly publishing
2025-06-12 17:21:11 -03:00
Torsten Grote
e4eb23653d
Update all the things
2025-05-30 16:48:41 -03:00
Torsten Grote
cd43134045
Adapt DB modification CI check for KSP
2025-05-30 16:48:41 -03:00
Hans-Christoph Steiner
f99fe63bf0
gitlab-ci: fix changes: path syntax error
...
https://docs.gitlab.com/ci/yaml/#ruleschanges
`metadata/` means only the dir. `*` is needed to include files.
2025-03-07 13:29:27 +01:00
Torsten Grote
dbd9a4dc79
Also publish debug APKs for easier testing
2025-02-06 09:01:46 -03:00
Torsten Grote
66c522c689
Also build and publish basic flavor in CI
2025-02-06 09:01:45 -03:00
Hans-Christoph Steiner
913b16eba6
gitlab-ci: use runner tag available to those not in fdroid group
...
https://docs.gitlab.com/ee/ci/runners/hosted_runners/linux.html#machine-types-available-for-linux---x86-64
Examples of failures:
* https://gitlab.com/mnbogner/fdroidclient-mnb/-/jobs/8446468813
* https://gitlab.com/Tobias_Groza/fdroidclient/-/jobs/7908875038
https://gitlab.com/fdroid/fdroidclient/-/merge_requests/1317#note_2127636293
2024-11-22 13:12:08 +01:00
Torsten Grote
e8ea01e3ac
Disable cache for KVM jobs
...
fill up our runner quickly and take forever to store
2024-10-18 11:27:47 -03:00
Torsten Grote
1b7a55b043
Upgrade all the things!
...
Use version catalog now and upgrade ktlint as well.
2024-10-17 17:41:12 +00:00
Torsten Grote
9c0c5ab9b1
change compileSdk to 35
2024-10-17 17:41:12 +00:00
Torsten Grote
1fc4deefd7
log free disk space
2024-10-09 09:45:29 -03:00
Torsten Grote
e9d852cd56
No need to install old build tools anymore
2024-10-08 10:20:50 -03:00
Torsten Grote
347cc01925
Remove accepting licenses from SDK
2024-10-08 09:15:55 -03:00
Torsten Grote
78b4a7b32b
Install newer build tools and accept licenses
2024-10-03 13:11:23 -03:00
Torsten Grote
c2b021a39a
[app] add ktlint checking and fix complaints it has
2024-07-12 10:05:30 -03:00
Torsten Grote
f3b8444d38
Use junit test reports, so it is easier to see which test failed
2024-04-10 12:18:53 +00:00
Torsten Grote
ce195b8fc4
Apply SHA1 CI hack to Java 17
2024-03-05 14:43:28 +00:00
Torsten Grote
7dd1c132f7
Install new build tools
2024-03-05 14:43:28 +00:00
Torsten Grote
fe7ec2213d
Install Java 17 for CI
2024-03-05 14:43:28 +00:00
Torsten Grote
35affc09db
Upgrade to Gradle 8 and SDK 34
...
This commit tries to limit the changes required to what is needed to make the project compile again. This includes the Kotlin and Room update.
2024-03-05 14:43:28 +00:00
Hans-Christoph Steiner
30f7ef450b
gitlab-ci: allow manually triggering of pipelines
2024-02-15 11:08:37 +01:00
Torsten Grote
87b66c08d5
Always upload artifacts so we have APKs for testing
2024-02-13 11:31:01 -03:00
Torsten Grote
f69eeabcff
stop allowing KVM failure, tests should be less flaky now
2024-02-09 11:32:12 -03:00
Torsten Grote
1c6ef78af7
Enable SHA-1 for index-v1 CI until 2026
2024-01-09 15:25:09 -03:00
Hans-Christoph Steiner
aa4451f00b
gitlab-ci: add job to show that KVM jobs got skipped
...
https://gitlab.com/fdroid/fdroidclient/-/merge_requests/1249#note_1437804063
2023-11-23 12:27:42 +00:00
proletarius101
9f84fdd658
ci: use xlarge machine type
2023-11-23 10:20:49 +00:00
Hans-Christoph Steiner
fe422ca6bc
gitlab-ci: include metadata/ in Weblate merge conflict check
2023-10-19 18:08:24 +02:00
Torsten Grote
e59f13abac
Allow KVM tests to fail with warning
...
due to the use of flaky/broken online services in those instrumentation tests
2023-08-24 11:48:06 +02:00
Torsten Grote
88cfe7dcfb
Run app build and test also in lib changes
...
as lib changes may break the app.
2023-06-21 09:06:58 +00:00
Torsten Grote
0e5009e1fd
Include lib build reports in artifacts
2023-06-15 10:28:40 +00:00
Torsten Grote
2e2730f88d
Go back to running instrumentation tests on SDK 23
2023-06-15 10:28:40 +00:00
Torsten Grote
e83bf6f94c
Run KVM tests on SDK 28 due to mock limitation
2023-06-15 10:28:40 +00:00
Torsten Grote
6a5022511e
Run library instrumentation tests together with app instrumentation tests
...
This job already takes the longest to complete due to the slow emulator. Therefore splitting this off doesn't make much sense.
2023-06-15 10:28:40 +00:00
Torsten Grote
8266745fe9
Also do assembleFullRelease for the app in CI
2023-06-15 10:28:40 +00:00
Torsten Grote
373d038cc9
Enable gradle build cache within each pipeline
...
in order to speed up the CI.
This does not enable the build cache on local dev machines.
2023-06-15 10:28:40 +00:00
Torsten Grote
e05db5b662
Split out libs tests from CI jobs
2023-06-15 10:28:40 +00:00
Torsten Grote
7fd223c76d
Split out CI jobs and only run them on changes
2023-06-15 10:28:40 +00:00