Merge branch 'implement-generator-trigger' into 'master'

Trigger labsync generator when upload is done

See merge request fablab/labsync!69
This commit is contained in:
jalr 2022-01-06 12:15:12 +00:00
commit ead80800c6
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 \