Add docker fixture for integration tests

This commit is contained in:
Ettore Di Giacinto 2020-04-11 20:12:43 +02:00
parent dd45a46ed0
commit 579a4f20fc
No known key found for this signature in database
GPG Key ID: 1ADA699B145A2D1C
3 changed files with 51 additions and 0 deletions

46
tests/fixtures/docker/build.yaml vendored Normal file
View File

@ -0,0 +1,46 @@
image: "alpine"
unpack: true
includes:
- /bin$|/bin/.*
- /dev$|/dev/.*
- /etc$
- /etc/alpine-release.*
- /etc/apk.*
- /etc/conf.d.*
- /etc/crontabs.*
- /etc/fstab.*
- /etc/group.*
- /etc/init.d.*
- /etc/inittab.*
- /etc/issue.*
- /etc/logrotate.d.*
- /etc/modprobe.d.*
- /etc/modules.*
- /etc/modules-load.d.*
- /etc/motd.*
- /etc/mtab.*
- /etc/network.*
- /etc/opt.*
- /etc/os-release.*
- /etc/passwd.*
- /etc/periodic.*
- /etc/profile.*
- /etc/protocols.*
- /etc/securetty.*
- /etc/shadow.*
- /etc/shells.*
- /etc/ssl.*
- /etc/sysctl.*
- /etc/udhcpd.*
- /home$|/home/.*
- /lib$|/lib.*
- /media$|/media/.*
- /mnt$|/mnt/.*
- /opt$|/opt/.*
- /root$|/root/.*
- /run$|/run/.*
- /sbin$|/sbin/.*
- /usr$|/usr/.*
- /var$|/var/.*
- /srv$|/srv/.*
- /tmp$|/tmp/.*

3
tests/fixtures/docker/definition.yaml vendored Normal file
View File

@ -0,0 +1,3 @@
category: "seed"
name: "alpine"
version: "1.0"

2
tests/fixtures/docker/finalize.yaml vendored Normal file
View File

@ -0,0 +1,2 @@
install:
- touch /tmp/foo