chore: use new docker image for the tests

This commit is contained in:
Adrien Waksberg 2018-08-15 07:46:37 +02:00
parent 8e9af2f3e5
commit b3fd17bdf8
2 changed files with 5 additions and 6 deletions

View file

@ -8,16 +8,15 @@ provisioner:
name: ansible_playbook name: ansible_playbook
hosts: localhost hosts: localhost
require_ansible_repo: false require_ansible_repo: false
require_ansible_omnibus: true require_ansible_omnibus: false
require_chef_for_busser: true require_chef_for_busser: true
ansible_verbose: false ansible_verbose: false
ansible_version: <% if ENV['ANSIBLE_VERSION'] %><%= ENV['ANSIBLE_VERSION'] %><% else %><%= '2.4.6.0' %><% end %>
ansible_inventory: ./test/integration/inventory ansible_inventory: ./test/integration/inventory
platforms: platforms:
- name: debian-9 - name: debian-9
driver_config: driver_config:
image: nishiki/ansible:stretch image: nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.6' %>
command: /bin/systemd command: /bin/systemd
volume: volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/cgroup:/sys/fs/cgroup:ro

View file

@ -2,9 +2,9 @@ sudo: required
language: ruby language: ruby
env: env:
- ANSIBLE_VERSION=2.4.6.0 - ANSIBLE_VERSION=2.4
- ANSIBLE_VERSION=2.5.7.0 - ANSIBLE_VERSION=2.5
- ANSIBLE_VERSION=2.6.2.0 - ANSIBLE_VERSION=2.6
services: services:
- docker - docker