Skip to content

Commit 2e91cf1

Browse files
committed
Add acceptance tests (docker) nodes for supported debian flavors
1 parent fc9452f commit 2e91cf1

File tree

5 files changed

+96
-0
lines changed

5 files changed

+96
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
HOSTS:
3+
debian-8-x64:
4+
platform: debian-8-amd64
5+
hypervisor: docker
6+
image: debian:8
7+
docker_preserve_image: true
8+
docker_cmd: '["/sbin/init"]'
9+
docker_image_commands:
10+
- 'apt-get update && apt-get install -y net-tools wget locales strace lsof && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen'
11+
- 'rm -rf /usr/sbin/policy-rc.d'
12+
- 'systemctl mask -- tmp.mount etc-hostname.mount etc-hosts.mount etc-resolv.conf.mount -.mount swap.target dev-mqueue.mount cgproxy.service [email protected] getty-static.service systemd-udev-trigger.service systemd-tmpfiles-setup-dev.service systemd-remount-fs.service systemd-ask-password-wall.path systemd-logind.service && systemctl set-default multi-user.target || true'
13+
14+
CONFIG:
15+
trace_limit: 200
16+
type: aio
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
HOSTS:
3+
debian-9-x64:
4+
platform: debian-9-amd64
5+
hypervisor: docker
6+
image: debian:stretch
7+
docker_preserve_image: true
8+
docker_cmd: '["/lib/systemd/systemd"]'
9+
docker_image_commands:
10+
- 'apt-get update && apt-get install -y systemd cron net-tools wget locales strace lsof && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen'
11+
- 'rm -rf /usr/sbin/policy-rc.d'
12+
- 'systemctl mask -- tmp.mount etc-hostname.mount etc-hosts.mount etc-resolv.conf.mount -.mount swap.target dev-mqueue.mount cgproxy.service [email protected] getty-static.service systemd-udev-trigger.service systemd-tmpfiles-setup-dev.service systemd-remount-fs.service systemd-ask-password-wall.path systemd-logind.service && systemctl set-default multi-user.target || true'
13+
14+
CONFIG:
15+
trace_limit: 200
16+
type: aio
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
HOSTS:
3+
debian-9-x64:
4+
platform: debian-9-amd64
5+
hypervisor: docker
6+
image: debian:stretch
7+
docker_preserve_image: true
8+
docker_cmd: '["/sbin/init"]'
9+
docker_image_commands:
10+
- 'apt-get update && apt-get install -y sysvinit-core cron psmisc procps net-tools wget locales strace lsof && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen'
11+
- 'apt-get remove -y --purge --auto-remove systemd'
12+
- 'update-rc.d -f hwclock.sh remove || true'
13+
- 'update-rc.d -f mountall-bootclean.sh remove || true'
14+
- 'update-rc.d -f mountall.sh remove || true'
15+
- 'update-rc.d -f checkfs.sh remove || true'
16+
- 'update-rc.d -f checkroot.sh remove || true'
17+
- 'update-rc.d -f motd remove || true'
18+
- 'update-rc.d -f bootlogs remove || true'
19+
- 'update-rc.d -f mountdevsubfs.sh remove || true'
20+
- 'update-rc.d -f procps remove || true'
21+
- 'update-rc.d -f hostname.sh remove || true'
22+
- 'update-rc.d -f mountkernfs.sh remove || true'
23+
- 'update-rc.d -f urandom remove || true'
24+
- 'update-rc.d -f mountnfs-bootclean.sh remove || true'
25+
- 'update-rc.d -f mountnfs.sh remove || true'
26+
- 'update-rc.d -f umountnfs.sh remove || true'
27+
- 'update-rc.d -f umountfs remove || true'
28+
- 'update-rc.d -f umountroot remove || true'
29+
30+
CONFIG:
31+
trace_limit: 200
32+
type: aio
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
HOSTS:
3+
ubuntu-16.04-x64:
4+
platform: ubuntu-16.04-amd64
5+
hypervisor: docker
6+
image: ubuntu:16.04
7+
docker_preserve_image: true
8+
docker_cmd: '["/lib/systemd/systemd"]'
9+
docker_image_commands:
10+
- 'apt-get update && apt-get install -y net-tools wget locales strace lsof && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen'
11+
- 'rm -rf /usr/sbin/policy-rc.d'
12+
- 'systemctl mask -- tmp.mount etc-hostname.mount etc-hosts.mount etc-resolv.conf.mount -.mount swap.target dev-mqueue.mount cgproxy.service [email protected] getty-static.service systemd-udev-trigger.service systemd-tmpfiles-setup-dev.service systemd-remount-fs.service systemd-ask-password-wall.path systemd-logind.service && systemctl set-default multi-user.target || true'
13+
14+
CONFIG:
15+
trace_limit: 200
16+
type: aio
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
HOSTS:
3+
ubuntu-18.04-x64:
4+
platform: ubuntu-18.04-amd64
5+
hypervisor: docker
6+
image: ubuntu:18.04
7+
docker_preserve_image: true
8+
docker_cmd: '["/lib/systemd/systemd"]'
9+
docker_image_commands:
10+
- 'apt-get update && apt-get install -y net-tools wget locales strace lsof && echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen'
11+
- 'rm -rf /usr/sbin/policy-rc.d'
12+
- 'systemctl mask -- tmp.mount etc-hostname.mount etc-hosts.mount etc-resolv.conf.mount -.mount swap.target dev-mqueue.mount cgproxy.service [email protected] getty-static.service systemd-udev-trigger.service systemd-tmpfiles-setup-dev.service systemd-remount-fs.service systemd-ask-password-wall.path systemd-logind.service && systemctl set-default multi-user.target || true'
13+
14+
CONFIG:
15+
trace_limit: 200
16+
type: aio

0 commit comments

Comments
 (0)