From 09f27751ffda2cc176425bc7c3fc357c57ed9049 Mon Sep 17 00:00:00 2001 From: crystal Date: Tue, 25 Jul 2023 05:37:56 -0600 Subject: [PATCH] Revert "oneshot repo transfer" This reverts commit b47f2faf53cb9e6315eb12ced5a59c454fe372ff. --- .crystalintegration.yml | 17 ----------------- oneshot/dl.sh | 12 ------------ 2 files changed, 29 deletions(-) delete mode 100755 oneshot/dl.sh diff --git a/.crystalintegration.yml b/.crystalintegration.yml index f06b289..3203fd5 100644 --- a/.crystalintegration.yml +++ b/.crystalintegration.yml @@ -350,20 +350,3 @@ pipeline: - ./.ci-forgejo-apt.sh *.deb when: event: [ tag ] - - oneshot-dl-script: - image: *bin_dl_image - commands: - - oneshot/dl.sh - - oneshot-apt-repo: - image: *ci_verify_image - environment: - FORGEJO_SITE: https://code.forgejo.org - FORGEJO_OWNER: forgejo-contrib - DEBIAN_DIST: bullseye - DEBIAN_COMPONENT: forgejo - secrets: [ cfo_api_key ] - commands: - - export FORGEJO_KEY=$CFO_API_KEY - - ./.ci-forgejo-apt.sh oneshot/*.deb diff --git a/oneshot/dl.sh b/oneshot/dl.sh deleted file mode 100755 index 4145556..0000000 --- a/oneshot/dl.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -cd oneshot - -CI_RELEASE_ASSETS=$(curl https://codeberg.org/api/v1/repos/forgejo-contrib/forgejo-deb/releases/tags/v1.20.1-0 | jq -c '.assets[]' | grep .deb) -CI_RELEASE_DEB_URL0=$(echo "$CI_RELEASE_ASSETS" | grep .deb\" | grep forgejo_ | jq -r --jsonargs .browser_download_url) -CI_RELEASE_DEB_URL1=$(echo "$CI_RELEASE_ASSETS" | grep .deb\" | grep forgejo-sqlite_ | jq -r --jsonargs .browser_download_url) -CI_RELEASE_DEB_URL2=$(echo "$CI_RELEASE_ASSETS" | grep .deb\" | grep forgejo-bin_ | jq -r --jsonargs .browser_download_url) - -wget --content-disposition $CI_RELEASE_DEB_URL0 -wget --content-disposition $CI_RELEASE_DEB_URL1 -wget --content-disposition $CI_RELEASE_DEB_URL2