From cc93401722b46c301cdc2e873fba7ca0c8d5cd09 Mon Sep 17 00:00:00 2001 From: Fiona Weber Date: Thu, 25 Aug 2022 13:53:33 +0200 Subject: [PATCH] CI: Remove GitLab CI residue --- .ci/publish.sh | 56 -------------------------------------------- .gitlab-ci.yml | 63 -------------------------------------------------- README.md | 2 +- 3 files changed, 1 insertion(+), 120 deletions(-) delete mode 100755 .ci/publish.sh delete mode 100644 .gitlab-ci.yml diff --git a/.ci/publish.sh b/.ci/publish.sh deleted file mode 100755 index 1a3b202..0000000 --- a/.ci/publish.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/bash - -set -e - -echo "Publishing artifacts" - -if [ -z $DEPLOY_TOKEN ]; then - echo "DEPLOY_TOKEN not set!" - exit 42 -fi - -token="$DEPLOY_TOKEN" -gitlab="https://gitlab.com" -api="$gitlab/api/v4" - - -echo "Uploading the binary to $gitlab" -out=$(curl -f \ - --request POST \ - --header "PRIVATE-TOKEN: $token" \ - --form "file=@$CI_PROJECT_DIR/transceiver-exporter" \ - "$api/projects/$CI_PROJECT_ID/uploads") - - -echo "Response from gitlab is:" -echo "$out" -url=$(echo "$out" | jq -r '.full_path') - -body=$(cat <