From 632387dfd1546a0becfac987ca3e7c1eff3ee2f6 Mon Sep 17 00:00:00 2001 From: Jakob Lechner Date: Fri, 7 Jan 2022 04:22:12 +0000 Subject: [PATCH] Revert "Trigger labsync generator when upload is done" This reverts commit d443e880d544b6e9faa6ae6d2847cb1f5ec62a62. While the pipeline is still running, labsync generator can't retrieve its result as it is not yet marked as successfully finished. Therefore, it is easier to use a webhook instead --- .gitlab-ci.yml | 8 -------- builder/Dockerfile | 1 - 2 files changed, 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85be239..a1736a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,14 +76,6 @@ 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 diff --git a/builder/Dockerfile b/builder/Dockerfile index 2409dc0..f5fbfa7 100644 --- a/builder/Dockerfile +++ b/builder/Dockerfile @@ -5,7 +5,6 @@ RUN apk add --no-cache \ aws-cli \ ca-certificates \ coreutils \ - curl \ libffi \ mktorrent \ openssh-client \