Trigger labsync generator when upload is done

This commit is contained in:
Jakob Lechner 2022-01-06 03:50:56 +00:00
parent 35232ca3c0
commit d443e880d5
No known key found for this signature in database
GPG key ID: 996082EFB5906C10
2 changed files with 9 additions and 0 deletions

View file

@ -76,6 +76,14 @@ security_scanner:
script:
- scripts/packer.sh debian-bullseye
- aws --endpoint-url "$AWS_ENDPOINT_URL" s3 cp images/ "s3://$AWS_BUCKET/$CI_COMMIT_REF_SLUG/$CI_JOB_ID/" --recursive --no-progress
- >
curl
-i
--retry-connrefused
--retry 10
-XPOST
-H "Authorization: Bearer $GENERATOR_TRIGGER_TOKEN"
"https://labsync.fablab-nea.de/generator/trigger"
artifacts:
paths:
- images.txt

View file

@ -5,6 +5,7 @@ RUN apk add --no-cache \
aws-cli \
ca-certificates \
coreutils \
curl \
libffi \
mktorrent \
openssh-client \