Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #457 from elastic/test_all_the_things
Browse files Browse the repository at this point in the history
Refactor integration testing suites
  • Loading branch information
Crazybus authored Jun 20, 2018
2 parents f61cf5e + 95c0bff commit 4a44948
Show file tree
Hide file tree
Showing 37 changed files with 622 additions and 1,211 deletions.
51 changes: 17 additions & 34 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ platforms:
use_sudo: false
volume:
- <%=ENV['ES_XPACK_LICENSE_FILE']%>:/tmp/license.json
- /etc # This fixes certain java file actions that check the mount point. Without this adding users fails for some docker storage drivers
- name: ubuntu-16.04
driver_config:
image: dliappis/ubuntu-devopsci:16.04
Expand All @@ -54,6 +55,7 @@ platforms:
use_sudo: false
volume:
- <%=ENV['ES_XPACK_LICENSE_FILE']%>:/tmp/license.json
- /etc # This fixes certain java file actions that check the mount point. Without this adding users fails for some docker storage drivers
run_command: "/sbin/init"
- name: debian-8
driver_config:
Expand All @@ -69,6 +71,7 @@ platforms:
- pip uninstall -y ansible
volume:
- <%=ENV['ES_XPACK_LICENSE_FILE']%>:/tmp/license.json
- /etc # This fixes certain java file actions that check the mount point. Without this adding users fails for some docker storage drivers
use_sudo: false
run_command: "/sbin/init"
- name: centos-7
Expand All @@ -85,53 +88,33 @@ platforms:
- pip install jmespath
volume:
- <%=ENV['ES_XPACK_LICENSE_FILE']%>:/tmp/license.json
- /etc # This fixes certain java file actions that check the mount point. Without this adding users fails for some docker storage drivers
run_command: "/usr/sbin/init"
privileged: true
use_sudo: false

suites:
- name: standard
- name: oss
provisioner:
idempotency_test: true
playbook: test/integration/standard.yml
run_list:
attributes:
- name: package
run_list:
attributes:
provisioner:
playbook: test/integration/package.yml
- name: config
run_list:
attributes:
playbook: test/integration/oss.yml
- name: oss-upgrade
provisioner:
playbook: test/integration/config.yml
- name: multi
run_list:
attributes:
playbook: test/integration/oss-upgrade.yml
idempotency_test: false
- name: oss-to-xpack-upgrade
provisioner:
playbook: test/integration/multi.yml
idempotency_test: true
playbook: test/integration/oss-to-xpack-upgrade.yml
idempotency_test: false
- name: xpack
run_list:
attributes:
provisioner:
playbook: test/integration/xpack.yml
- name: xpack-standard
run_list:
attributes:
provisioner:
playbook: test/integration/xpack-standard.yml
idempotency_test: true
- name: issue-test
run_list:
attributes:
- name: xpack-upgrade
provisioner:
playbook: test/integration/issue-test.yml
playbook: test/integration/xpack-upgrade.yml
idempotency_test: false
- name: oss-upgrade
run_list:
attributes:
- name: multi
provisioner:
playbook: test/integration/oss-upgrade.yml
idempotency_test: false
playbook: test/integration/multi.yml
idempotency_test: true
40 changes: 0 additions & 40 deletions test/integration/config.yml

This file was deleted.

8 changes: 0 additions & 8 deletions test/integration/config/serverspec/default_spec.rb

This file was deleted.

163 changes: 0 additions & 163 deletions test/integration/helpers/serverspec/config_spec.rb

This file was deleted.

Loading

0 comments on commit 4a44948

Please sign in to comment.