1
0
mirror of https://github.com/pi-hole/docker-pi-hole.git synced 2024-06-20 06:26:38 +02:00
docker-pi-hole/tox.ini
Daniel 752d83aeaa
Introduce additional docker tags for the debian version.
* Added new docker tag variations to specify the debian version ('stretch', and 'buster').
* Arch images are alway as specific as possible: pihole/pihole:master-amd64-stretch
* Multiarch images have both the specific debian version tags as well as the generic non-debian tags: pihole/pihole:master-stretch & pihole/pihole:master
* Currently, the non-specific tags point to the 'stretch' images. Eventaully it can be migrated to 'buster'.
* Use GitHub actions to do the builds. Although the script names include 'gh-actions' to differentiate them from the 'circle' scripts, there is zero logic that is specific to Github (ie. no Github environment variables).
* 'armhf:buster' & 'arm64:buster' has an issue with `ip route get`. I think the issue is related to 'qemu', but I'm not sure. Update the `validate_env` function to only use `ip route get` if `nc` reports something strange.

Signed-off-by: Daniel <daniel@developerdan.com>
2020-06-29 09:34:19 -04:00

19 lines
720 B
INI

[tox]
envlist = py38
[testenv]
commands = echo "Use ./gh-actions-test.sh instead for now"
# Currently out of comission post-python3 upgrade due to failed monkey patch of testinfra sh -> bash
#[testenv]
#whitelist_externals = docker
#deps = -rrequirements.txt
## 2 parallel max b/c race condition with docker fixture (I think?)
#commands = docker run --rm --privileged multiarch/qemu-user-static:register --reset
# ./Dockerfile.py -v --arch amd64
# pytest -vv -n auto -k amd64 ./test/
# ./Dockerfile.py -v --arch armhf --arch arm64 --arch armel
# pytest -vv -n auto -k arm64 ./test/
# pytest -vv -n auto -k armhf ./test/
# pytest -vv -n auto -k armel ./test/