mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-22 05:39:06 +00:00
CI; better checkupdates job scheduling
* run 250 app batches, let's see if our runner can handle the resulting 14 jobs in parallel * stagger the startup of the jobs by 60 seconds * use a specialized image so we save setup time per job
This commit is contained in:
parent
29f73c7ad8
commit
acc0d0722c
1 changed files with 2 additions and 1 deletions
|
|
@ -74,9 +74,10 @@ checkupdates_trigger:
|
|||
- files=( metadata/*.yml )
|
||||
- files=( ${files[@]#metadata/} )
|
||||
- files=( ${files[@]%.yml} )
|
||||
- parallel --verbose -N 100 'curl -X POST -F "token=$CI_JOB_TOKEN" -F "ref=master" -F "variables[CHECKUPDATES]=true" -F "variables[CHECKUPDATES_APPIDS]= {} " https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/trigger/pipeline' ":::" ${files[@]}
|
||||
- parallel --verbose --delay 60 -N 250 'curl -X POST -F "token=$CI_JOB_TOKEN" -F "ref=master" -F "variables[CHECKUPDATES]=true" -F "variables[CHECKUPDATES_APPIDS]= {} " https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/trigger/pipeline' ":::" ${files[@]}
|
||||
|
||||
checkupdates_runner:
|
||||
image: registry.gitlab.com/fdroid/ci-images-checkupdate:latest
|
||||
tags:
|
||||
- checkupdates-runner
|
||||
only:
|
||||
|
|
|
|||
Loading…
Reference in a new issue