Skip to content
GitLab
Menu
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/
...
@@ -5,3 +5,6 @@ spec/fixtures/
.vagrant/
.vagrant/
.bundle/
.bundle/
coverage/
coverage/
log/
.*.swp
*~
.travis.yml
View file @
0dfe149f
...
@@ -15,29 +15,50 @@ matrix:
...
@@ -15,29 +15,50 @@ matrix:
env
:
PUPPET_GEM_VERSION="~> 3.0"
env
:
PUPPET_GEM_VERSION="~> 3.0"
-
rvm
:
2.0.0
-
rvm
:
2.0.0
env
:
PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
env
:
PUPPET_GEM_VERSION="~> 3.0" FUTURE_PARSER="yes"
-
rvm
:
2.1.
0
-
rvm
:
2.1.
6
env
:
PUPPET_GEM_VERSION="~> 4.0"
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
:
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
-
env
:
BEAKER_set="debian-7-x86_64-openstack"
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="debian-7-x86_64-docker"
bundler_args
:
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
-
env
:
BEAKER_set="debian-8-x86_64-openstack"
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="debian-8-x86_64-docker"
bundler_args
:
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
-
env
:
BEAKER_set="ubuntu-12.04-x86_64-openstack"
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="ubuntu-12.04-x86_64-docker"
bundler_args
:
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
-
env
:
BEAKER_set="ubuntu-14.04-x86_64-openstack"
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="ubuntu-14.04-x86_64-docker"
bundler_args
:
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
-
env
:
BEAKER_set="centos-6-x86_64-openstack"
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="centos-6-x86_64-docker"
bundler_args
:
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
-
env
:
BEAKER_set="centos-7-x86_64-openstack"
-
rvm
:
default
sudo
:
required
services
:
docker
env
:
BEAKER_set="centos-7-x86_64-docker"
bundler_args
:
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
:
notifications
:
email
:
false
email
:
false
deploy
:
deploy
:
...
...
spec/acceptance/nodesets/centos-5-x86_64-docker.yml
View file @
0dfe149f
...
@@ -6,8 +6,10 @@ HOSTS:
...
@@ -6,8 +6,10 @@ HOSTS:
platform
:
el-5-x86_64
platform
:
el-5-x86_64
hypervisor
:
docker
hypervisor
:
docker
image
:
centos:5
image
:
centos:5
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image
:
true
docker_preserve_image
:
true
docker_cmd
:
'
["/sbin/init"]'
docker_image_commands
:
-
'
yum
install
-y
crontabs
tar
wget'
CONFIG
:
CONFIG
:
type
:
foss
type
:
foss
log_level
:
debug
log_level
:
debug
spec/acceptance/nodesets/centos-6-x86_64-docker.yml
View file @
0dfe149f
...
@@ -6,8 +6,10 @@ HOSTS:
...
@@ -6,8 +6,10 @@ HOSTS:
platform
:
el-6-x86_64
platform
:
el-6-x86_64
hypervisor
:
docker
hypervisor
:
docker
image
:
centos:6
image
:
centos:6
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image
:
true
docker_preserve_image
:
true
docker_cmd
:
'
["/sbin/init"]'
docker_image_commands
:
-
'
yum
install
-y
crontabs
tar
wget'
CONFIG
:
CONFIG
:
type
:
foss
type
:
foss
log_level
:
debug
log_level
:
debug
spec/acceptance/nodesets/centos-7-x86_64-docker.yml
View file @
0dfe149f
...
@@ -6,8 +6,10 @@ HOSTS:
...
@@ -6,8 +6,10 @@ HOSTS:
platform
:
el-7-x86_64
platform
:
el-7-x86_64
hypervisor
:
docker
hypervisor
:
docker
image
:
centos:7
image
:
centos:7
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image
:
true
docker_preserve_image
:
true
docker_cmd
:
'
["/usr/sbin/init"]'
docker_image_commands
:
-
'
yum
install
-y
crontabs
tar
wget'
CONFIG
:
CONFIG
:
type
:
foss
type
:
foss
log_level
:
debug
log_level
:
debug
spec/acceptance/nodesets/debian-6-x86_64-docker.yml
View file @
0dfe149f
...
@@ -6,8 +6,10 @@ HOSTS:
...
@@ -6,8 +6,10 @@ HOSTS:
platform
:
debian-6-amd64
platform
:
debian-6-amd64
hypervisor
:
docker
hypervisor
:
docker
image
:
debian:6
image
:
debian:6
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image
:
true
docker_preserve_image
:
true
docker_cmd
:
'
["/sbin/init"]'
docker_image_commands
:
-
'
apt-get
install
-y
wget'
CONFIG
:
CONFIG
:
type
:
foss
type
:
foss
log_level
:
debug
log_level
:
debug
spec/acceptance/nodesets/debian-7-x86_64-docker.yml
View file @
0dfe149f
...
@@ -6,8 +6,10 @@ HOSTS:
...
@@ -6,8 +6,10 @@ HOSTS:
platform
:
debian-7-amd64
platform
:
debian-7-amd64
hypervisor
:
docker
hypervisor
:
docker
image
:
debian:7
image
:
debian:7
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image
:
true
docker_preserve_image
:
true
docker_cmd
:
'
["/sbin/init"]'
docker_image_commands
:
-
'
apt-get
install
-y
cron
wget'
CONFIG
:
CONFIG
:
type
:
foss
type
:
foss
log_level
:
debug
log_level
:
debug
spec/acceptance/nodesets/debian-8-x86_64-docker.yml
View file @
0dfe149f
...
@@ -6,8 +6,10 @@ HOSTS:
...
@@ -6,8 +6,10 @@ HOSTS:
platform
:
debian-8-amd64
platform
:
debian-8-amd64
hypervisor
:
docker
hypervisor
:
docker
image
:
debian:8
image
:
debian:8
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image
:
true
docker_preserve_image
:
true
docker_cmd
:
'
["/sbin/init"]'
docker_image_commands
:
-
'
apt-get
install
-y
cron
wget'
CONFIG
:
CONFIG
:
type
:
foss
type
:
foss
log_level
:
debug
log_level
:
debug
spec/acceptance/nodesets/ubuntu-12.04-x86_64-docker.yml
View file @
0dfe149f
...
@@ -6,8 +6,10 @@ HOSTS:
...
@@ -6,8 +6,10 @@ HOSTS:
platform
:
ubuntu-12.04-amd64
platform
:
ubuntu-12.04-amd64
hypervisor
:
docker
hypervisor
:
docker
image
:
ubuntu:12.04
image
:
ubuntu:12.04
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image
:
true
docker_preserve_image
:
true
docker_cmd
:
'
["/sbin/init"]'
docker_image_commands
:
-
'
apt-get
install
-y
wget'
CONFIG
:
CONFIG
:
type
:
foss
type
:
foss
log_level
:
debug
log_level
:
debug
spec/acceptance/nodesets/ubuntu-14.04-x86_64-docker.yml
View file @
0dfe149f
...
@@ -6,8 +6,10 @@ HOSTS:
...
@@ -6,8 +6,10 @@ HOSTS:
platform
:
ubuntu-14.04-amd64
platform
:
ubuntu-14.04-amd64
hypervisor
:
docker
hypervisor
:
docker
image
:
ubuntu:14.04
image
:
ubuntu:14.04
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image
:
true
docker_preserve_image
:
true
docker_cmd
:
'
["/sbin/init"]'
docker_image_commands
:
-
'
apt-get
install
-y
wget'
CONFIG
:
CONFIG
:
type
:
foss
type
:
foss
log_level
:
debug
log_level
:
debug
spec/acceptance/nodesets/ubuntu-14.10-x86_64-docker.yml
View file @
0dfe149f
...
@@ -6,8 +6,10 @@ HOSTS:
...
@@ -6,8 +6,10 @@ HOSTS:
platform
:
ubuntu-14.10-amd64
platform
:
ubuntu-14.10-amd64
hypervisor
:
docker
hypervisor
:
docker
image
:
ubuntu:14.10
image
:
ubuntu:14.10
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image
:
true
docker_preserve_image
:
true
docker_cmd
:
'
["/sbin/init"]'
docker_image_commands
:
-
'
apt-get
install
-y
wget'
CONFIG
:
CONFIG
:
type
:
foss
type
:
foss
log_level
:
debug
log_level
:
debug
spec/acceptance/nodesets/ubuntu-15.04-x86_64-docker.yml
View file @
0dfe149f
...
@@ -6,8 +6,10 @@ HOSTS:
...
@@ -6,8 +6,10 @@ HOSTS:
platform
:
ubuntu-15.04-amd64
platform
:
ubuntu-15.04-amd64
hypervisor
:
docker
hypervisor
:
docker
image
:
ubuntu:15.04
image
:
ubuntu:15.04
# This stops the image from being deleted on completion, speeding up the process.
docker_preserve_image
:
true
docker_preserve_image
:
true
docker_cmd
:
'
["/sbin/init"]'
docker_image_commands
:
-
'
apt-get
install
-y
wget'
CONFIG
:
CONFIG
:
type
:
foss
type
:
foss
log_level
:
debug
log_level
:
debug
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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