Navigation Menu

Skip to content

Commit

Permalink
Use docker for acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanevet committed Aug 21, 2015
1 parent efcabd4 commit 7c3f4b4
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -5,3 +5,6 @@ spec/fixtures/
.vagrant/
.bundle/
coverage/
log/
.*.swp
*~
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -15,7 +15,7 @@ matrix:
env: PUPPET_GEM_VERSION="~> 3.0"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
- rvm: 2.1.0
- rvm: 2.1.6
env: PUPPET_GEM_VERSION="~> 4.0"
notifications:
email: false
Expand Down
4 changes: 3 additions & 1 deletion spec/acceptance/nodesets/centos-5-x86_64-docker.yml
Expand Up @@ -6,8 +6,10 @@ HOSTS:
platform: el-5-x86_64
hypervisor : docker
image: centos:5
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- 'yum install -y crontabs tar wget'
CONFIG:
type: foss
log_level: debug
4 changes: 3 additions & 1 deletion spec/acceptance/nodesets/centos-6-x86_64-docker.yml
Expand Up @@ -6,8 +6,10 @@ HOSTS:
platform: el-6-x86_64
hypervisor : docker
image: centos:6
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- 'yum install -y crontabs tar wget'
CONFIG:
type: foss
log_level: debug
4 changes: 3 additions & 1 deletion spec/acceptance/nodesets/centos-7-x86_64-docker.yml
Expand Up @@ -6,8 +6,10 @@ HOSTS:
platform: el-7-x86_64
hypervisor : docker
image: centos:7
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image: true
docker_cmd: '["/usr/sbin/init"]'
docker_image_commands:
- 'yum install -y crontabs tar wget'
CONFIG:
type: foss
log_level: debug
4 changes: 3 additions & 1 deletion spec/acceptance/nodesets/debian-6-x86_64-docker.yml
Expand Up @@ -6,8 +6,10 @@ HOSTS:
platform: debian-6-amd64
hypervisor : docker
image: debian:6
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- 'apt-get install -y wget'
CONFIG:
type: foss
log_level: debug
4 changes: 3 additions & 1 deletion spec/acceptance/nodesets/debian-7-x86_64-docker.yml
Expand Up @@ -6,8 +6,10 @@ HOSTS:
platform: debian-7-amd64
hypervisor : docker
image: debian:7
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- 'apt-get install -y cron wget'
CONFIG:
type: foss
log_level: debug
4 changes: 3 additions & 1 deletion spec/acceptance/nodesets/debian-8-x86_64-docker.yml
Expand Up @@ -6,8 +6,10 @@ HOSTS:
platform: debian-8-amd64
hypervisor : docker
image: debian:8
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- 'apt-get install -y cron wget'
CONFIG:
type: foss
log_level: debug
4 changes: 3 additions & 1 deletion spec/acceptance/nodesets/ubuntu-12.04-x86_64-docker.yml
Expand Up @@ -6,8 +6,10 @@ HOSTS:
platform: ubuntu-12.04-amd64
hypervisor : docker
image: ubuntu:12.04
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- 'apt-get install -y wget'
CONFIG:
type: foss
log_level: debug
4 changes: 3 additions & 1 deletion spec/acceptance/nodesets/ubuntu-14.04-x86_64-docker.yml
Expand Up @@ -6,8 +6,10 @@ HOSTS:
platform: ubuntu-14.04-amd64
hypervisor : docker
image: ubuntu:14.04
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- 'apt-get install -y wget'
CONFIG:
type: foss
log_level: debug
4 changes: 3 additions & 1 deletion spec/acceptance/nodesets/ubuntu-14.10-x86_64-docker.yml
Expand Up @@ -6,8 +6,10 @@ HOSTS:
platform: ubuntu-14.10-amd64
hypervisor : docker
image: ubuntu:14.10
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- 'apt-get install -y wget'
CONFIG:
type: foss
log_level: debug
4 changes: 3 additions & 1 deletion spec/acceptance/nodesets/ubuntu-15.04-x86_64-docker.yml
Expand Up @@ -6,8 +6,10 @@ HOSTS:
platform: ubuntu-15.04-amd64
hypervisor : docker
image: ubuntu:15.04
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image: true
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- 'apt-get install -y wget'
CONFIG:
type: foss
log_level: debug

0 comments on commit 7c3f4b4

Please sign in to comment.