mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-19 12:19:10 +00:00
gitlab-ci: set fs.inotify.max_user_watches in "fdroid build"
Some builds need to track a lot of files, so this needs to be set for them to succeed. Some runners do not support setting sysctl, so it cannot be required.
This commit is contained in:
parent
074ba6ef38
commit
58b4d3b1b0
1 changed files with 5 additions and 0 deletions
|
|
@ -359,6 +359,11 @@ fdroid build:
|
|||
- ln -s $CI_PROJECT_DIR/tmp $home_vagrant/tmp
|
||||
- ln -s $CI_PROJECT_DIR/srclibs $home_vagrant/srclibs
|
||||
|
||||
# Some builds need to track a lot of files, so this needs to be
|
||||
# set for them to succeed. Some runners do not support setting
|
||||
# sysctl, so it cannot be required.
|
||||
- sysctl fs.inotify.max_user_watches=524288 || true
|
||||
|
||||
- export GRADLE_USER_HOME=$home_vagrant/.gradle
|
||||
# each `fdroid build --on-server` run expects sudo, then uninstalls it
|
||||
- export fdroid="sudo --preserve-env --user vagrant
|
||||
|
|
|
|||
Loading…
Reference in a new issue