Revert "slim checkupdates_trigger"

This reverts commit f541a01ac3.
This commit is contained in:
Jochen Sprickerhof 2022-07-20 10:18:51 +02:00
parent 42033d9131
commit ff846c4d78

View file

@ -206,9 +206,11 @@ checkupdates_trigger:
- schedules
variables:
- $CHECKUPDATES == "true"
image: alpine:latest
image: archlinux:latest
before_script:
- apk add parallel curl
- pacman -Sy --noconfirm parallel
# workaround broken parallel version 20220222 not distributing jobs equally
- pacman -U --noconfirm "https://archive.archlinux.org/packages/p/parallel/parallel-20220122-1-any.pkg.tar.zst"
script:
- parallel --verbose --delay 90 -X --jobs 10 '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' ":::" metadata/*.yml