aboutsummaryrefslogtreecommitdiff
path: root/run-tests.sh
blob: dae718bf37bf510029e0a665db17675451885fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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