-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #248 from Yuav/docker_nodesets
Add docker nodesets for acceptance tests
- Loading branch information
Showing
8 changed files
with
178 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# This file is managed via modulesync | ||
# https://github.com/voxpupuli/modulesync | ||
# https://github.com/voxpupuli/modulesync_config | ||
HOSTS: | ||
centos-5-x64: | ||
default_apply_opts: | ||
order: random | ||
strict_variables: | ||
platform: el-5-x86_64 | ||
hypervisor : docker | ||
image: tianon/centos:5.10 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
docker_image_commands: | ||
- 'yum install -y crontabs tar wget which' | ||
- 'sed -i -e "/mingetty/d" /etc/inittab' | ||
CONFIG: | ||
type: aio | ||
log_level: debug | ||
... | ||
# vim: syntax=yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
# This file is managed via modulesync | ||
# https://github.com/voxpupuli/modulesync | ||
# https://github.com/voxpupuli/modulesync_config | ||
HOSTS: | ||
centos-6-x64: | ||
default_apply_opts: | ||
order: random | ||
strict_variables: | ||
platform: el-6-x86_64 | ||
hypervisor : docker | ||
image: centos:6 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
docker_image_commands: | ||
- 'rm -rf /var/run/network/*' | ||
- 'yum install -y crontabs tar wget' | ||
- 'rm /etc/init/tty.conf' | ||
CONFIG: | ||
type: aio | ||
log_level: debug | ||
... | ||
# vim: syntax=yaml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
# This file is managed via modulesync | ||
# https://github.com/voxpupuli/modulesync | ||
# https://github.com/voxpupuli/modulesync_config | ||
HOSTS: | ||
centos-7-x64: | ||
default_apply_opts: | ||
order: random | ||
strict_variables: | ||
platform: el-7-x86_64 | ||
hypervisor : docker | ||
image: centos:7 | ||
docker_preserve_image: true | ||
docker_cmd: '["/usr/sbin/init"]' | ||
docker_image_commands: | ||
- 'yum install -y crontabs tar wget iproute' | ||
CONFIG: | ||
type: aio | ||
log_level: debug | ||
... | ||
# vim: syntax=yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
# This file is managed via modulesync | ||
# https://github.com/voxpupuli/modulesync | ||
# https://github.com/voxpupuli/modulesync_config | ||
HOSTS: | ||
debian-7-x64: | ||
default_apply_opts: | ||
order: random | ||
strict_variables: | ||
platform: debian-7-amd64 | ||
hypervisor : docker | ||
image: debian:7 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
docker_image_commands: | ||
- 'apt-get install -y cron locales-all net-tools wget' | ||
CONFIG: | ||
type: aio | ||
log_level: debug | ||
... | ||
# vim: syntax=yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# This file is managed via modulesync | ||
# https://github.com/voxpupuli/modulesync | ||
# https://github.com/voxpupuli/modulesync_config | ||
HOSTS: | ||
debian-8-x64: | ||
default_apply_opts: | ||
order: random | ||
strict_variables: | ||
platform: debian-8-amd64 | ||
hypervisor : docker | ||
image: debian:8 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
docker_image_commands: | ||
- 'apt-get install -y cron locales-all net-tools wget' | ||
- 'rm -f /usr/sbin/policy-rc.d' | ||
CONFIG: | ||
type: aio | ||
log_level: debug | ||
... | ||
# vim: syntax=yaml |
22 changes: 22 additions & 0 deletions
22
moduleroot/spec/acceptance/nodesets/docker/ubuntu-12.04.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# This file is managed via modulesync | ||
# https://github.com/voxpupuli/modulesync | ||
# https://github.com/voxpupuli/modulesync_config | ||
HOSTS: | ||
ubuntu-1204-x64: | ||
default_apply_opts: | ||
order: random | ||
strict_variables: | ||
platform: ubuntu-12.04-amd64 | ||
hypervisor : docker | ||
image: ubuntu:12.04 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
docker_image_commands: | ||
- 'apt-get install -y net-tools wget' | ||
- 'locale-gen en_US.UTF-8' | ||
CONFIG: | ||
type: aio | ||
log_level: debug | ||
... | ||
# vim: syntax=yaml |
24 changes: 24 additions & 0 deletions
24
moduleroot/spec/acceptance/nodesets/docker/ubuntu-14.04.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
# This file is managed via modulesync | ||
# https://github.com/voxpupuli/modulesync | ||
# https://github.com/voxpupuli/modulesync_config | ||
HOSTS: | ||
ubuntu-1404-x64: | ||
default_apply_opts: | ||
order: random | ||
strict_variables: | ||
platform: ubuntu-14.04-amd64 | ||
hypervisor : docker | ||
image: ubuntu:14.04 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
docker_image_commands: | ||
- 'rm /usr/sbin/policy-rc.d' | ||
- 'rm /sbin/initctl; dpkg-divert --rename --remove /sbin/initctl' | ||
- 'apt-get install -y net-tools wget' | ||
- 'locale-gen en_US.UTF-8' | ||
CONFIG: | ||
type: aio | ||
log_level: debug | ||
... | ||
# vim: syntax=yaml |
22 changes: 22 additions & 0 deletions
22
moduleroot/spec/acceptance/nodesets/docker/ubuntu-16.04.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# This file is managed via modulesync | ||
# https://github.com/voxpupuli/modulesync | ||
# https://github.com/voxpupuli/modulesync_config | ||
HOSTS: | ||
ubuntu-1604-x64: | ||
default_apply_opts: | ||
order: random | ||
strict_variables: | ||
platform: ubuntu-16.04-amd64 | ||
hypervisor : docker | ||
image: ubuntu:16.04 | ||
docker_preserve_image: true | ||
docker_cmd: '["/sbin/init"]' | ||
docker_image_commands: | ||
- 'apt-get install -y net-tools wget' | ||
- 'locale-gen en_US.UTF-8' | ||
CONFIG: | ||
type: aio | ||
log_level: debug | ||
... | ||
# vim: syntax=yaml |