diff options
author | jaseg <git@jaseg.de> | 2021-02-07 12:47:49 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-02-07 12:47:49 +0100 |
commit | 4a967682d48ed16db75f787976e99cd97df28356 (patch) | |
tree | 14d462370b9c4fe122ecd5f4146b816054b8c046 /run-tests.sh | |
parent | 79db2628583f7423d89a9e1892867106c8bf7a9a (diff) | |
download | gerbolyze-4a967682d48ed16db75f787976e99cd97df28356.tar.gz gerbolyze-4a967682d48ed16db75f787976e99cd97df28356.tar.bz2 gerbolyze-4a967682d48ed16db75f787976e99cd97df28356.zip |
Make inital test run on debian, ubuntu, arch, fedora
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-x | run-tests.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh new file mode 100755 index 0000000..dae718b --- /dev/null +++ b/run-tests.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +python setup.py sdist build +cp dist/*.tar.gz podman/testdata + +for distro in arch fedora debian ubuntu +do + podman build -t gerbolyze-$distro-testenv -f podman/$distro-testenv + mkdir -p /tmp/gerbolyze-test-out + podman run --mount type=bind,src=podman/testdata,dst=/data,ro --mount type=bind,src=/tmp/gerbolyze-test-out,dst=/out gerbolyze-$distro-testenv /data/testscript.sh +done + |