mirror of
https://github.com/outbackdingo/debos.git
synced 2026-01-27 10:18:47 +00:00
Nothing special here - a simple test.yaml akin to the existing ones. The pacman.conf file is effectively vanilla config that comes with the pacman package, while the mirrorlist file is a list of UK https mirrors that I've been using for years. Note that there is no canonical mirror for Arch. The top-level/tier 1 Arch server should _not_ be used as per the official recommendation. Instead we use the mirrors set in the official arch docker tooling. v2: - Also install archlinux-keyring and makepkg - Use arch + backend=qemu only testing matrix v3: - Use the same mirrors as the Arch docker images tooling - Build and install pacman locally, until we get an official package v4: - Remove the local pacman build - it's available in backports v5: - Explicitly pull arch-install-scripts from backports, normal one lack pacstrap v6: - Manually pull the latest keyring - Debian one is outdated Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
debos
Docker container for 'debos' tool.
Installation
docker pull godebos/debos
Debos needs virtualization to be enabled on the host and shared with the container.
Check that kvm is enabled and writable by the user running the docker container by running ls /dev/kvm
Usage
/!\ This container should be used as an executable, i.e. there is no need to add debos after godebos/debos.
To build recipe.yaml:
cd <PATH_TO_RECIPE_DIR>
docker run --rm --interactive --tty --device /dev/kvm --user $(id -u) --workdir /recipes --mount "type=bind,source=$(pwd),destination=/recipes" --security-opt label=disable godebos/debos <RECIPE.yaml>
Container build
To build the debos container image from current git branch:
docker build -f docker/Dockerfile -t godebos/debos .
Tests
Unit tests
Run unit tests:
docker-compose -f docker/unit-tests.test.yml up --build --exit-code-from=sut