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:
|
script:
|
||||||
- scripts/packer.sh debian-bullseye
|
- 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
|
- 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:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- images.txt
|
- images.txt
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ RUN apk add --no-cache \
|
||||||
aws-cli \
|
aws-cli \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
coreutils \
|
coreutils \
|
||||||
|
curl \
|
||||||
libffi \
|
libffi \
|
||||||
mktorrent \
|
mktorrent \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue