Trigger labsync generator when upload is done
This commit is contained in:
parent
35232ca3c0
commit
d443e880d5
2 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ RUN apk add --no-cache \
|
|||
aws-cli \
|
||||
ca-certificates \
|
||||
coreutils \
|
||||
curl \
|
||||
libffi \
|
||||
mktorrent \
|
||||
openssh-client \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue