This folder contains the following scripts:
setup
: builds the Docker containers that create Ubuntu packages.package
: builds the Ubuntu packages.test
: tests the installation of the packages created bypackage
. These tests run inside containers, so no modifications are made to the host system, except for theTorXakis
logs, which are placed inci/mk-package/.torxakis
.
After running package
the .deb
files will be placed inside .package-build
.
Ubuntu packages are created inside Docker containers. To run the scripts in this directory install Docker.
After installing Docker, either log in again or run:
newgrp docker
from the terminal session where the setup
, package
, and test
scripts will
be run.
After docker is installed, run setup
to create the docker containers.
./ci/mk-package/setup
This will create the Docker images that allow to create Ubuntu packages.
Next, create the Ubuntu packages by running:
./ci/mk-package/package $VERSION
where $VERSION
must be a TorXakis
git
tag, e.g.:
./ci/mk-package/package 0.8.1.1
To test the packages run:
./ci/mk-package/test 0.8.1.1