Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Puppet Camptocamp Postfix
Commits
0dfe149f
Commit
0dfe149f
authored
Aug 21, 2015
by
Mickaël Canévet
Browse files
Use docker for acceptance tests
parent
dd20711e
Changes
12
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
0dfe149f
...
...
@@ -5,3 +5,6 @@ spec/fixtures/
.vagrant/
.bundle/
coverage/
log/
.*.swp
*~
.travis.yml
View file @
0dfe149f
...
...
@@ -15,29 +15,50 @@ 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"
-
env
:
BEAKER_set="debian-6-x86_64-openstack"
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="debian-6-x86_64-docker"
bundler_args
:
script
:
'
[
-z
"${OS_AUTH_URL}"
-o
-z
"${OS_USERNAME}"
-o
-z
"${OS_PASSWORD}"
-o
-z
"${OS_TENANT_NAME}"
]
||
bundle
exec
rspec
spec/acceptance/*_spec.rb'
-
env
:
BEAKER_set="debian-7-x86_64-openstack"
script
:
bundle exec rspec spec/acceptance/*_spec.rb
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="debian-7-x86_64-docker"
bundler_args
:
script
:
'
[
-z
"${OS_AUTH_URL}"
-o
-z
"${OS_USERNAME}"
-o
-z
"${OS_PASSWORD}"
-o
-z
"${OS_TENANT_NAME}"
]
||
bundle
exec
rspec
spec/acceptance/*_spec.rb'
-
env
:
BEAKER_set="debian-8-x86_64-openstack"
script
:
bundle exec rspec spec/acceptance/*_spec.rb
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="debian-8-x86_64-docker"
bundler_args
:
script
:
'
[
-z
"${OS_AUTH_URL}"
-o
-z
"${OS_USERNAME}"
-o
-z
"${OS_PASSWORD}"
-o
-z
"${OS_TENANT_NAME}"
]
||
bundle
exec
rspec
spec/acceptance/*_spec.rb'
-
env
:
BEAKER_set="ubuntu-12.04-x86_64-openstack"
script
:
bundle exec rspec spec/acceptance/*_spec.rb
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="ubuntu-12.04-x86_64-docker"
bundler_args
:
script
:
'
[
-z
"${OS_AUTH_URL}"
-o
-z
"${OS_USERNAME}"
-o
-z
"${OS_PASSWORD}"
-o
-z
"${OS_TENANT_NAME}"
]
||
bundle
exec
rspec
spec/acceptance/*_spec.rb'
-
env
:
BEAKER_set="ubuntu-14.04-x86_64-openstack"
script
:
bundle exec rspec spec/acceptance/*_spec.rb
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="ubuntu-14.04-x86_64-docker"
bundler_args
:
script
:
'
[
-z
"${OS_AUTH_URL}"
-o
-z
"${OS_USERNAME}"
-o
-z
"${OS_PASSWORD}"
-o
-z
"${OS_TENANT_NAME}"
]
||
bundle
exec
rspec
spec/acceptance/*_spec.rb'
-
env
:
BEAKER_set="centos-6-x86_64-openstack"
script
:
bundle exec rspec spec/acceptance/*_spec.rb
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="centos-6-x86_64-docker"
bundler_args
:
script
:
'
[
-z
"${OS_AUTH_URL}"
-o
-z
"${OS_USERNAME}"
-o
-z
"${OS_PASSWORD}"
-o
-z
"${OS_TENANT_NAME}"
]
||
bundle
exec
rspec
spec/acceptance/*_spec.rb'
-
env
:
BEAKER_set="centos-7-x86_64-openstack"
script
:
bundle exec rspec spec/acceptance/*_spec.rb
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="centos-7-x86_64-docker"
bundler_args
:
script
:
'
[
-z
"${OS_AUTH_URL}"
-o
-z
"${OS_USERNAME}"
-o
-z
"${OS_PASSWORD}"
-o
-z
"${OS_TENANT_NAME}"
]
||
bundle
exec
rspec
spec/acceptance/*_spec.rb
'
script
:
bundle exec rspec spec/acceptance/*_spec.rb
notifications
:
email
:
false
deploy
:
...
...
spec/acceptance/nodesets/centos-5-x86_64-docker.yml
View file @
0dfe149f
...
...
@@ -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
spec/acceptance/nodesets/centos-6-x86_64-docker.yml
View file @
0dfe149f
...
...
@@ -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
spec/acceptance/nodesets/centos-7-x86_64-docker.yml
View file @
0dfe149f
...
...
@@ -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
spec/acceptance/nodesets/debian-6-x86_64-docker.yml
View file @
0dfe149f
...
...
@@ -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
spec/acceptance/nodesets/debian-7-x86_64-docker.yml
View file @
0dfe149f
...
...
@@ -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
spec/acceptance/nodesets/debian-8-x86_64-docker.yml
View file @
0dfe149f
...
...
@@ -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
spec/acceptance/nodesets/ubuntu-12.04-x86_64-docker.yml
View file @
0dfe149f
...
...
@@ -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
spec/acceptance/nodesets/ubuntu-14.04-x86_64-docker.yml
View file @
0dfe149f
...
...
@@ -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
spec/acceptance/nodesets/ubuntu-14.10-x86_64-docker.yml
View file @
0dfe149f
...
...
@@ -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
spec/acceptance/nodesets/ubuntu-15.04-x86_64-docker.yml
View file @
0dfe149f
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment