2017-09-24 14:03:05 +00:00
|
|
|
---
|
|
|
|
driver:
|
|
|
|
name: docker
|
|
|
|
use_sudo: false
|
|
|
|
|
|
|
|
provisioner:
|
|
|
|
# name of the host
|
|
|
|
hosts: test-kitchen
|
|
|
|
# use an ansible playbook to provision our server
|
|
|
|
name: ansible_playbook
|
|
|
|
ansible_verbose: false
|
|
|
|
require_ansible_repo: false
|
|
|
|
require_ansible_omnibus: true
|
2018-04-16 17:59:28 +00:00
|
|
|
ansible_version: 2.5.0
|
2017-09-24 14:03:05 +00:00
|
|
|
require_chef_for_busser: false
|
|
|
|
sudo_command: sudo -E -H
|
|
|
|
idempotency_test: false
|
|
|
|
sudo: true
|
|
|
|
ansible_extra_flags: "-e '{ kitchen_testrun: True }'"
|
|
|
|
additional_copy_path:
|
2017-09-27 22:28:45 +00:00
|
|
|
- ".ci/integration/vars"
|
|
|
|
- ".ci/integration/tasks"
|
2017-09-24 14:03:05 +00:00
|
|
|
|
|
|
|
transport:
|
|
|
|
max_ssh_sessions: 3
|
|
|
|
|
|
|
|
platforms:
|
2019-01-04 21:53:13 +00:00
|
|
|
- name: alpine-latest
|
2017-09-24 14:03:05 +00:00
|
|
|
driver_config:
|
2019-01-04 21:53:13 +00:00
|
|
|
run_command: /sbin/init
|
|
|
|
dockerfile: .Dockerfiles/alpine/latest/Dockerfile
|
|
|
|
platform: alpine
|
2017-09-24 14:03:05 +00:00
|
|
|
volume:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
|
|
|
|
run_options:
|
|
|
|
tmpfs:
|
2017-11-27 15:51:31 +00:00
|
|
|
- /run
|
|
|
|
- /run/lock
|
2017-09-24 14:03:05 +00:00
|
|
|
|
2019-01-04 21:53:13 +00:00
|
|
|
- name: debian-latest
|
2017-09-24 14:03:05 +00:00
|
|
|
driver_config:
|
|
|
|
run_command: /lib/systemd/systemd
|
2019-01-04 21:53:13 +00:00
|
|
|
dockerfile: .Dockerfiles/debian/latest/Dockerfile
|
|
|
|
platform: debian
|
2017-09-24 14:03:05 +00:00
|
|
|
cap_add:
|
|
|
|
- SYS_ADMIN
|
|
|
|
volume:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
|
|
|
|
run_options:
|
|
|
|
tmpfs:
|
2017-11-27 15:51:31 +00:00
|
|
|
- /run
|
|
|
|
- /run/lock
|
2017-09-24 14:03:05 +00:00
|
|
|
|
2019-01-04 21:53:13 +00:00
|
|
|
- name: fedora-latest
|
2017-09-27 19:49:55 +00:00
|
|
|
driver_config:
|
|
|
|
run_command: /lib/systemd/systemd
|
2019-01-04 21:53:13 +00:00
|
|
|
dockerfile: .Dockerfiles/fedora/latest/Dockerfile
|
|
|
|
platform: fedora
|
2017-09-27 19:49:55 +00:00
|
|
|
cap_add:
|
|
|
|
- SYS_ADMIN
|
|
|
|
volume:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
|
|
|
|
run_options:
|
|
|
|
tmpfs:
|
2017-11-27 15:51:31 +00:00
|
|
|
- /run
|
|
|
|
- /run/lock
|
2017-09-27 19:49:55 +00:00
|
|
|
|
2017-09-24 14:03:05 +00:00
|
|
|
- name: ubuntu-latest
|
|
|
|
driver_config:
|
|
|
|
run_command: /lib/systemd/systemd
|
|
|
|
dockerfile: .Dockerfiles/ubuntu/latest/Dockerfile
|
|
|
|
platform: ubuntu
|
|
|
|
cap_add:
|
|
|
|
- SYS_ADMIN
|
|
|
|
volume:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
|
|
|
|
run_options:
|
|
|
|
tmpfs:
|
2017-11-27 15:51:31 +00:00
|
|
|
- /run
|
|
|
|
- /run/lock
|
2017-09-24 14:03:05 +00:00
|
|
|
|
|
|
|
- name: ubuntu-rolling
|
|
|
|
driver_config:
|
|
|
|
run_command: /lib/systemd/systemd
|
|
|
|
dockerfile: .Dockerfiles/ubuntu/rolling/Dockerfile
|
|
|
|
platform: ubuntu
|
|
|
|
cap_add:
|
|
|
|
- SYS_ADMIN
|
|
|
|
volume:
|
|
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
|
|
- <%=ENV['PWD']%>:/opt/workspace # Make the working directory available inside the container
|
|
|
|
run_options:
|
|
|
|
tmpfs:
|
2017-11-27 15:51:31 +00:00
|
|
|
- /run
|
|
|
|
- /run/lock
|
2017-09-24 14:03:05 +00:00
|
|
|
|
|
|
|
verifier:
|
|
|
|
name: serverspec
|
|
|
|
sudo_path: true
|
|
|
|
|
|
|
|
suites:
|
|
|
|
# suites found at /test/integration/$test-name
|
|
|
|
# in container @/tmp/kitchen
|
|
|
|
- name: gnupg1
|
|
|
|
verifier:
|
|
|
|
patterns:
|
2017-09-27 22:28:45 +00:00
|
|
|
- roles/git-secret/.ci/integration/gnupg1/serverspec/*_spec.rb
|
2017-09-27 19:49:55 +00:00
|
|
|
excludes:
|
|
|
|
- centos-latest
|
2017-09-24 14:03:05 +00:00
|
|
|
- name: gnupg2
|
|
|
|
verifier:
|
|
|
|
patterns:
|
2017-09-27 22:28:45 +00:00
|
|
|
- roles/git-secret/.ci/integration/gnupg2/serverspec/*_spec.rb
|
2017-09-24 14:03:05 +00:00
|
|
|
excludes:
|
2019-01-04 19:35:25 +00:00
|
|
|
- centos-latest
|
2017-09-24 14:03:05 +00:00
|
|
|
- name: gnupg-git
|
|
|
|
verifier:
|
|
|
|
patterns:
|
2017-09-27 22:28:45 +00:00
|
|
|
- roles/git-secret/.ci/integration/gnupg-git/serverspec/*_spec.rb
|
2017-09-24 14:03:05 +00:00
|
|
|
excludes:
|
2017-09-27 20:58:00 +00:00
|
|
|
- centos-latest
|
2017-09-28 23:59:15 +00:00
|
|
|
- alpine-latest
|
2019-01-04 22:50:59 +00:00
|
|
|
- debian-latest
|