repo deb
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:
parent
7645a4737f
commit
73da6b9d0d
|
@ -161,6 +161,12 @@ pipeline:
|
|||
- ./.ci-make.sh package-build
|
||||
- ./.ci-make.sh package-clean
|
||||
|
||||
package-repo:
|
||||
image: *deb_build_image
|
||||
commands:
|
||||
- cd repo-deb
|
||||
- ./build.sh
|
||||
|
||||
gen-sha256:
|
||||
image: *ci_verify_image
|
||||
commands:
|
||||
|
|
13
repo-deb/build.sh
Executable file
13
repo-deb/build.sh
Executable 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
|
29
repo-deb/code-forgejo-org-crystal.asc
Normal file
29
repo-deb/code-forgejo-org-crystal.asc
Normal file
|
@ -0,0 +1,29 @@
|
|||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
xsBNBGSVbecBCADSrwa9TMkPb5LMC7Ts/6wDRUDkmO63uJLJ8eSTz2iurmN/gUuE
|
||||
GG65Pgkv+zqNENFga+nAJz4sTeAEMbUxxgPFKKdM5pdkYoSZ2iqsnH8/3nGeeNne
|
||||
7sE5i2ZbUKJwRFwBW8Oi8aecBcR7bxYPi2sdMcz93zYebrc23xhUEUA1tNdXU0SR
|
||||
+H7Wepq6MafWKYWpAWeAbRSGzB/jkc7rEur9CwvgEfuvKIpn6dvjbPVZdC8gUzJb
|
||||
+nBAqCWvzU28+ByWioRpmMmPwCVjxDlwhZNZfNkme3i9PuIHDqWCID+kfPMqDxLe
|
||||
BX4lJhrIBkzNXEyrCBxI6f00fstMblx05QqhABEBAAHNM0Zvcmdlam86IEJleW9u
|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LuNWNYISHwJB644m2xsMG9bohLU2h78yS0ToZlt5hvoTpTNKO1g
|
||||
9lUM7u2i5DBDBQnUBfp6nKou9gMH2CHgB4W4Gc36b7sgU7AQt095yfbfdIjaHl7a
|
||||
wikaAx/cMShI0lJudDs60qUfxfKfEQBcexJMiEiZbF6dPzQ6OQm9lcmkuhNAX6MP
|
||||
zuNnZsilht/BDYeKWqmwdfXFxcdZ/BX/oitwkA==
|
||||
=hNbH
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
1
repo-deb/forgejo-deb.list
Normal file
1
repo-deb/forgejo-deb.list
Normal file
|
@ -0,0 +1 @@
|
|||
deb https://code.forgejo.org/api/packages/crystal/debian bullseye forgejo
|
5
repo-deb/main/debian/changelog
Normal file
5
repo-deb/main/debian/changelog
Normal 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
|
1
repo-deb/main/debian/compat
Normal file
1
repo-deb/main/debian/compat
Normal file
|
@ -0,0 +1 @@
|
|||
10
|
19
repo-deb/main/debian/control
Normal file
19
repo-deb/main/debian/control
Normal 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
|
1
repo-deb/main/debian/forgejo-deb-repo.install
Normal file
1
repo-deb/main/debian/forgejo-deb-repo.install
Normal file
|
@ -0,0 +1 @@
|
|||
forgejo-deb.list /etc/apt/sources.list.d
|
1
repo-deb/main/debian/forgejo-deb-repokey.install
Normal file
1
repo-deb/main/debian/forgejo-deb-repokey.install
Normal file
|
@ -0,0 +1 @@
|
|||
code-forgejo-org-crystal.asc /etc/apt/trusted.gpg.d
|
4
repo-deb/main/debian/rules
Executable file
4
repo-deb/main/debian/rules
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@ --with=systemd
|
5
repo-deb/stub/debian/changelog
Normal file
5
repo-deb/stub/debian/changelog
Normal 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
|
1
repo-deb/stub/debian/compat
Normal file
1
repo-deb/stub/debian/compat
Normal file
|
@ -0,0 +1 @@
|
|||
10
|
12
repo-deb/stub/debian/control
Normal file
12
repo-deb/stub/debian/control
Normal 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
|
2
repo-deb/stub/debian/forgejo-deb-repo.install
Normal file
2
repo-deb/stub/debian/forgejo-deb-repo.install
Normal 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
4
repo-deb/stub/debian/rules
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@ --with=systemd
|
Loading…
Reference in a new issue