Jochen Sprickerhof
741f854e18
CI: Fail when find-changed-builds fails
...
Closes: 2761
2022-09-15 18:18:07 +02:00
Hans-Christoph Steiner
490e3a3bdb
DO NOT MRRGE test issuebot
2022-09-15 18:11:28 +02:00
Jochen Sprickerhof
c74b9afc88
CI: ignore deleting the build folder
...
This will fail in case the build recipe does something special (like
disorderfs).
2022-08-18 16:43:34 +00:00
Hans-Christoph Steiner
f984e85cd5
gitlab-ci: keep transitional code in fdroid build job
...
This transitional block of code for installing fdroid/sdkmanager needs to
remain until the buildserver is upgraded to handle all that.
The `fdroid build` is meant to provide a CI run as close as possible to the
production buildserver. It should not include custom setup or methods,
except when there is no other way to make this job work. Android's
sdkmanager is definitely part of the buildserver setup, and is included in
the fdroidserver:buildserver image.
Also, `sdkmanager --licenses` is totally inappropriate for F-Droid, and also
already handled by the buildserver provisioning. F-Droid only accepts the
licenses that match free software source code. Google has separate licenses
for libraries that have free source vs proprietary source. F-Droid will
never accept the licenses that are tied to proprietary source.
Also, the CI env var needs to remain set. Unsetting it here creates an
custom, undocumented, brittle setup.
This reverts !11367 !11476 and upgrades fdroid/sdkmanager to 0.6.1
2022-08-05 10:33:00 -07:00
Jochen Sprickerhof
c9feb87fa2
checkupdates: retry push until CI timeout
2022-08-05 09:24:28 +02:00
linsui
90112f795e
install android sdk as before
2022-08-04 02:52:53 +00:00
Hans-Christoph Steiner
2e47291277
gitlab-ci: use barebones base image for easy auditing
...
F-Droid setups here deliberately use simple base images like
alpine so we can easily check whether they are all free
software, like the MapBox issues. I have done quite a bit of
profiling in the past of docker images like curlimages vs
installing. For short jobs like this, there has never been a
clear winner. When curlimages is in the runner's docker
cache, it can be a bit faster than installing the package, but
images like alpine are much more likely to be in the docker
cache, making them on average faster.
this reverts a change in !11503 .
2022-08-03 11:35:06 -07:00
Hans-Christoph Steiner
d3fc7ec8b3
gitlab-ci: fix whitespace yamllint errors in .gitlab-ci.yml
2022-08-03 11:29:56 -07:00
proletarius101
32c6369dc1
optimize trigger-issuebot
2022-08-02 15:42:00 +00:00
linsui
a809c8e7ae
change android sdk permission
2022-08-02 15:43:42 +08:00
proletarius101
ddda87536a
improve fdroid build performance
2022-08-01 05:41:03 +00:00
Jochen Sprickerhof
7c108a89c9
Improve checkupdates_runner CI
...
- switch from bzr to brz.
- delete .git/logs/HEAD.lock
- setup en_US.UTF-8 locales (needed by set_FDroidPopen_env), bzr
warning.
2022-07-31 09:58:04 +02:00
Jochen Sprickerhof
cd34d7c8f5
Switch checkupdates to bullseye-slim image
2022-07-29 10:35:14 +02:00
linsui
fbc52ffa6f
Fix finding the common ancestor of two branch
2022-07-29 03:34:45 +00:00
proletarius101
7c1c1c2e43
Update .gitlab-ci.yml file
2022-07-29 03:11:56 +00:00
proletarius101
d545c14038
Fix appid list incomplete
2022-07-28 17:37:20 +00:00
proletarius101
8b0a3c7bb0
Fix incorrectly randomize appid list order
2022-07-28 15:18:06 +00:00
proletarius101
9539d11a62
fix appid list incomplete
2022-07-28 06:09:12 +00:00
proletarius101
7703ffcf5a
fix app id list incomplete
2022-07-28 13:33:29 +08:00
proletarius101
814395e10f
fix app id list incomplete
2022-07-28 03:55:09 +00:00
proletarius101
27cb591ed1
scale up checkupdates_runner
2022-07-28 11:29:02 +08:00
proletarius101
2fc8c30711
fix checkupdates timeout for some set of APPIDS
2022-07-27 23:10:56 +00:00
proletarius101
a821857acd
Split lint job
2022-07-27 17:03:15 +00:00
proletarius101
be3d04ace3
misc fixes
2022-07-28 00:27:44 +08:00
proletarius101
cff8357a02
fix not extracting file basenames ass APPID in checkupdates
2022-07-27 16:26:29 +00:00
proletarius101
7fb9ba9480
use GitLab's parallel keyword to deprecate checkupdates_trigger job
2022-07-27 13:26:05 +00:00
linsui
c002ddcf48
fix fatal: remote upstream already exists.
2022-07-25 06:36:19 +00:00
proletarius101
e03c2dcf57
[ci] check diff with common ancestor
2022-07-24 09:25:28 +00:00
proletarius101
2c14733bab
fix some pipelines missing for commits in default branch
2022-07-21 16:09:30 +08:00
Jochen Sprickerhof
ff846c4d78
Revert "slim checkupdates_trigger"
...
This reverts commit f541a01ac3 .
2022-07-20 10:18:51 +02:00
proletarius101
3c4af12469
limit git depth as much as possible
2022-07-18 14:41:50 +00:00
proletarius101
f541a01ac3
slim checkupdates_trigger
2022-07-15 11:10:48 +08:00
proletarius101
80d8e33320
fix rebase will not trigger fdroid build
2022-07-15 02:19:52 +00:00
proletarius101
587f7c98c2
fix sdk can't be installed
2022-07-15 02:09:38 +00:00
proletarius101
35a54ef6ca
fix .gradle not able to be uploaded
2022-07-14 16:34:31 +00:00
proletarius101
01e85c9de5
fix sdkmanager --licenses hanging
2022-07-14 15:40:38 +00:00
proletarius101
3a2a0f3323
switch to the official sdkmanager
2022-07-14 14:04:50 +00:00
proletarius101
c7517a074c
Use needs to execute jobs out-of-order
2022-07-12 09:06:29 +00:00
proletarius101
28a5e7e268
fix $CHANGED is empty
2022-07-12 05:10:02 +00:00
proletarius101
eb31e9ed4b
fix diff parsing in get_changed_apps
2022-07-11 13:17:41 +00:00
proletarius101
f99db160f8
optimize ci yaml structure
2022-07-10 13:30:43 +00:00
proletarius101
9d2dd62abe
optimize ci job dependency graph
2022-07-10 11:39:34 +00:00
proletarius101
bebb6e24a4
Fix fdroid build change detection on the default branch of fdroid/fdroiddata
2022-07-10 08:29:06 +00:00
proletarius101
9cbef0d46a
allow fdroid to run on main branch
2022-07-10 00:27:29 +08:00
proletarius101
be93abc6a1
Fix main branch ci where fdroid build doesn't run
2022-07-09 15:31:31 +00:00
proletarius101
742a30ff8e
assign ci job stages to achive proper ordering
2022-07-09 15:07:38 +00:00
proletarius101
f9c09c4bf6
restore fdroid build disable condition
2022-07-09 21:02:35 +08:00
proletarius101
b617981e50
run fdroid build in CI as long as metadata changes
2022-07-09 12:30:28 +00:00
proletarius101
2dfe0e8ef8
fix sast report detection in UI
2022-07-08 11:29:03 +00:00
proletarius101
73c74f8c90
Use branch pipelines to avoid Premium tier features
2022-07-08 00:31:09 +00:00