Add container-structore tests

- Fixes issue #4
This commit is contained in:
Markus Opolka
2018-04-30 12:54:40 +02:00
parent cb3f54eb90
commit c7f1bee380
4 changed files with 94 additions and 5 deletions

10
tests/run.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
IMAGE=$1
if [ ! -f container-structure-test ]; then
curl -LO https://storage.googleapis.com/container-structure-test/latest/container-structure-test
chmod +x container-structure-test
fi
./container-structure-test test --image $IMAGE --config tests/image_tests.yaml