Revert "oneshot repo transfer"

This reverts commit b47f2faf53.
This commit is contained in:
crystal 2023-07-25 05:37:56 -06:00
parent b47f2faf53
commit 09f27751ff
No known key found for this signature in database
GPG key ID: 1122054731F7CC43
2 changed files with 0 additions and 29 deletions

View file

@ -350,20 +350,3 @@ pipeline:
- ./.ci-forgejo-apt.sh *.deb - ./.ci-forgejo-apt.sh *.deb
when: when:
event: [ tag ] 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

View file

@ -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