[temp] repo-deb lts transitional push
This commit is contained in:
parent
22a152e188
commit
0aedcd394d
|
@ -191,6 +191,59 @@ jobs:
|
||||||
|
|
||||||
- run: ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
- run: ./.ci-make.sh install-run-test ./forgejo-bin_*_amd64.deb
|
||||||
|
|
||||||
|
publish-repo-deb:
|
||||||
|
runs-on: bookworm
|
||||||
|
if: github.event_name == 'push' && github.repository == 'forgejo-contrib/forgejo-deb'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: actions prep
|
||||||
|
id: ciprep
|
||||||
|
run: ./.ci-make.sh actions-prep
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: forgejo-deb-${{ steps.ciprep.outputs.artifactlabel }}
|
||||||
|
|
||||||
|
- uses: crystal/install-jq-action@v2.1.0
|
||||||
|
|
||||||
|
- name: "Debian package registry publish: forgejo-deb-repo"
|
||||||
|
env:
|
||||||
|
FORGEJO_SITE: https://code.forgejo.org
|
||||||
|
FORGEJO_OWNER: forgejo-contrib
|
||||||
|
DEBIAN_DIST: bullseye
|
||||||
|
DEBIAN_COMPONENT: forgejo-lts
|
||||||
|
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
|
||||||
|
run: |
|
||||||
|
cd repo-deb
|
||||||
|
../.ci-forgejo-apt.sh forgejo-deb-repo_2-3_all.deb
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
- name: "Debian package registry publish: forgejo-deb-repo-lts"
|
||||||
|
env:
|
||||||
|
FORGEJO_SITE: https://code.forgejo.org
|
||||||
|
FORGEJO_OWNER: forgejo-contrib
|
||||||
|
DEBIAN_DIST: bullseye
|
||||||
|
DEBIAN_COMPONENT: forgejo
|
||||||
|
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
|
||||||
|
run: |
|
||||||
|
cd repo-deb
|
||||||
|
../.ci-forgejo-apt.sh forgejo-deb-repo-lts_2-3_all.deb
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
- run: sudo apt install -y wget
|
||||||
|
- run: wget --content-disposition https://code.forgejo.org/forgejo-contrib/-/packages/debian/forgejo-deb-repokey/2-1/files/2918
|
||||||
|
|
||||||
|
- name: "Debian package registry publish: forgejo-deb-repokey"
|
||||||
|
env:
|
||||||
|
FORGEJO_SITE: https://code.forgejo.org
|
||||||
|
FORGEJO_OWNER: forgejo-contrib
|
||||||
|
DEBIAN_DIST: bullseye
|
||||||
|
DEBIAN_COMPONENT: forgejo-lts
|
||||||
|
FORGEJO_KEY: ${{ secrets.cfo_api_key }}
|
||||||
|
run: |
|
||||||
|
./.ci-forgejo-apt.sh forgejo-deb-repokey_2-1_all.deb
|
||||||
|
|
||||||
publish-release-repo:
|
publish-release-repo:
|
||||||
runs-on: bookworm
|
runs-on: bookworm
|
||||||
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && github.repository == 'forgejo-contrib/forgejo-deb'
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && github.repository == 'forgejo-contrib/forgejo-deb'
|
||||||
|
|
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
cp code-forgejo-org-forgejo-contrib.asc stub/
|
cp code-forgejo-org-forgejo-contrib.asc stub/
|
||||||
cp code-forgejo-org-forgejo-contrib.asc main/
|
cp code-forgejo-org-forgejo-contrib.asc main/
|
||||||
cp forgejo-deb.list stub/
|
cp forgejo-deb.list_stub stub/forgejo-deb.list
|
||||||
cp forgejo-deb.list main/
|
cp forgejo-deb.list main/
|
||||||
|
cp forgejo-deb.list main/forgejo-deb-lts.list
|
||||||
if [ "$1" = "actions" ] ; then
|
if [ "$1" = "actions" ] ; then
|
||||||
PACKAGE_BUILD_EXTRA_ARGS="--no-sign"
|
PACKAGE_BUILD_EXTRA_ARGS="--no-sign"
|
||||||
fi
|
fi
|
||||||
|
|
1
repo-deb/forgejo-deb.list_stub
Normal file
1
repo-deb/forgejo-deb.list_stub
Normal file
|
@ -0,0 +1 @@
|
||||||
|
deb https://code.forgejo.org/api/packages/forgejo-contrib/debian bullseye forgejo forgejo-lts
|
|
@ -18,3 +18,9 @@ Priority: optional
|
||||||
Replaces: forgejo-deb-repo
|
Replaces: forgejo-deb-repo
|
||||||
Description: APT Repository signing key for forgejo-deb
|
Description: APT Repository signing key for forgejo-deb
|
||||||
Debian Package Registry key for https://code.forgejo.org/forgejo-contrib
|
Debian Package Registry key for https://code.forgejo.org/forgejo-contrib
|
||||||
|
|
||||||
|
Package: forgejo-deb-repo-lts
|
||||||
|
Architecture: all
|
||||||
|
Priority: optional
|
||||||
|
Description: Switch to Forgejo LTS release channel
|
||||||
|
Transitional package to switch forgejo-deb-repo to LTS component
|
||||||
|
|
1
repo-deb/main/debian/forgejo-deb-repo-lts.install
Normal file
1
repo-deb/main/debian/forgejo-deb-repo-lts.install
Normal file
|
@ -0,0 +1 @@
|
||||||
|
forgejo-deb-lts.list /etc/apt/sources.list.d
|
|
@ -2,4 +2,4 @@ forgejo-deb-repo (0-0) unstable; urgency=medium
|
||||||
|
|
||||||
* forgejo-deb APT repository stub
|
* forgejo-deb APT repository stub
|
||||||
|
|
||||||
-- crystal <crystal@noreply.codeberg.org> Tue, 25 Jul 2023 10:50:00 +0000
|
-- crystal <crystal@noreply.codeberg.org> Sun, 28 Jul 2024 15:26:00 +0000
|
||||||
|
|
Loading…
Reference in a new issue