Warning
This repo is archived. The tooling to run the apt and rpm repo is in a different repo that is not open source.
The scripts in this repo provide tooling to produce debian binary packages from the binary artifacts released in the zrepl
repository.
The resulting packages are put into debs
for further processing, e.g. by aptly (see below).
Make sure Docker is installed and running on your system.
# Download GitHub released files into ./release
./docker_make_debs.bash
# Download GitHub released files into ./release
./ondebian_make_debs.bash amd64
./ondebian_make_debs.bash arm64
./ondebian_make_debs.bash armhf
./ondebian_make_debs.bash i386
We use aptly
(1.4 at the time of writing) for managing the zrepl APT repositories.
The script aptly/import-debs.bash
imports packages in debs
into the aptly repo and updates the aptly filesystem publish dir aptly/root
.
The aptly config, database and GPG homedir for package signing are all in aptly
.
aptly/env.bash
can be sourced to get an aptly
alias with properly set -config
flag and GNUPGHOME
environment variable.
# add new placeholder entry to debian/changelog
sudo docker run --rm -it -v $PWD:/src -w /src zrepl_debian_pkg dch --newversion 0.2.0-1 foo
# now fix placeholders in changelog
# commit
# rebuild