The repository can be added to the system by installing a package. The location  of the repository can be changed in the future by pushing an update to the repo deb.
This commit is contained in:
crystal 2023-07-02 15:15:20 -06:00
parent 7645a4737f
commit 73da6b9d0d
No known key found for this signature in database
GPG key ID: 1122054731F7CC43
15 changed files with 104 additions and 0 deletions

View file

@ -161,6 +161,12 @@ pipeline:
- ./.ci-make.sh package-build - ./.ci-make.sh package-build
- ./.ci-make.sh package-clean - ./.ci-make.sh package-clean
package-repo:
image: *deb_build_image
commands:
- cd repo-deb
- ./build.sh
gen-sha256: gen-sha256:
image: *ci_verify_image image: *ci_verify_image
commands: commands:

13
repo-deb/build.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
cp code-forgejo-org-crystal.asc stub/
cp code-forgejo-org-crystal.asc main/
cp forgejo-deb.list stub/
cp forgejo-deb.list main/
cd stub
dpkg-buildpackage -b
cd ..
cd main
dpkg-buildpackage -b
cd ..
exit 0

View file

@ -0,0 +1,29 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
xsBNBGSVbecBCADSrwa9TMkPb5LMC7Ts/6wDRUDkmO63uJLJ8eSTz2iurmN/gUuE
GG65Pgkv+zqNENFga+nAJz4sTeAEMbUxxgPFKKdM5pdkYoSZ2iqsnH8/3nGeeNne
7sE5i2ZbUKJwRFwBW8Oi8aecBcR7bxYPi2sdMcz93zYebrc23xhUEUA1tNdXU0SR
+H7Wepq6MafWKYWpAWeAbRSGzB/jkc7rEur9CwvgEfuvKIpn6dvjbPVZdC8gUzJb
+nBAqCWvzU28+ByWioRpmMmPwCVjxDlwhZNZfNkme3i9PuIHDqWCID+kfPMqDxLe
BX4lJhrIBkzNXEyrCBxI6f00fstMblx05QqhABEBAAHNM0Zvcmdlam86IEJleW9u
ZCBjb2RpbmcuIFdlIGZvcmdlLiAoRGViaWFuIFJlZ2lzdHJ5KcLAYgQTAQgAFgUC
ZJVt5wkQFppua1ziWCACGwMCGQEAAC3YCAAIfjy3U2+OX1QWB2hYnuF1eRtrJhwu
oioH0gV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----END PGP PUBLIC KEY BLOCK-----

View file

@ -0,0 +1 @@
deb https://code.forgejo.org/api/packages/crystal/debian bullseye forgejo

View file

@ -0,0 +1,5 @@
forgejo-deb-repo (1-0) unstable; urgency=medium
* This is a pre-release version, install for testing only
-- crystal <crystal@noreply.codeberg.org> Wed, 2 Jul 2023 19:59:00 +0000

View file

@ -0,0 +1 @@
10

View file

@ -0,0 +1,19 @@
Source: forgejo-deb-repo
Section: admin
Priority: optional
Maintainer: crystal <crystal@noreply.codeberg.org>
Build-Depends: debhelper (>= 10)
Package: forgejo-deb-repo
Architecture: all
Priority: optional
Depends: forgejo-deb-repokey, apt-transport-https
Description: APT Repository for forgejo-deb builds
Forgejo will be updated via apt along with other software on your system
Package: forgejo-deb-repokey
Architecture: all
Priority: optional
Replaces: forgejo-deb-repo
Description: APT Repository signing key for forgejo-deb
Debian Package Registry key for https://code.forgejo.org/crystal

View file

@ -0,0 +1 @@
forgejo-deb.list /etc/apt/sources.list.d

View file

@ -0,0 +1 @@
code-forgejo-org-crystal.asc /etc/apt/trusted.gpg.d

4
repo-deb/main/debian/rules Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/make -f
%:
dh $@ --with=systemd

View file

@ -0,0 +1,5 @@
forgejo-deb-repo (0-0) unstable; urgency=medium
* forgejo-deb APT repository stub
-- crystal <crystal@noreply.codeberg.org> Wed, 2 Jul 2023 20:30:00 +0000

View file

@ -0,0 +1 @@
10

View file

@ -0,0 +1,12 @@
Source: forgejo-deb-repo
Section: admin
Priority: optional
Maintainer: crystal <crystal@noreply.codeberg.org>
Build-Depends: debhelper (>= 10)
Package: forgejo-deb-repo
Architecture: all
Priority: optional
Depends: apt-transport-https
Description: APT Repository for forgejo-deb builds
Forgejo will be updated via apt along with other software on your system

View file

@ -0,0 +1,2 @@
code-forgejo-org-crystal.asc /etc/apt/trusted.gpg.d
forgejo-deb.list /etc/apt/sources.list.d

4
repo-deb/stub/debian/rules Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/make -f
%:
dh $@ --with=systemd