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 #411 from Crazybus/kitchen_6x_support
Browse files Browse the repository at this point in the history
Update kitchen to handle testing 5.x and 6.x Elasticsearch versions
  • Loading branch information
Crazybus authored Jan 30, 2018
2 parents 7714c92 + db1079e commit 5050d8f
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ provisioner:
no_proxy: localhost,127.0.0.1
ignore_extensions_from_root: [".git",".idea",".kitchen.yml"]
ignore_paths_from_root: [".git",".idea",".kitchen"]
<% if ENV['VERSION'] %>
attributes:
extra_vars:
es_major_version: "<%= ENV['VERSION'] %>"
<% if ENV['VERSION'] == '6.x' %>
es_version: '6.1.2'
<% end %>
<% end %>

transport:
max_ssh_sessions: 6
Expand Down Expand Up @@ -78,34 +86,34 @@ platforms:
use_sudo: false

suites:
- name: standard-5x
- name: standard
provisioner:
idempotency_test: true
playbook: test/integration/standard.yml
run_list:
attributes:
- name: package-5x
- name: package
run_list:
attributes:
provisioner:
playbook: test/integration/package.yml
- name: config-5x
- name: config
run_list:
attributes:
provisioner:
playbook: test/integration/config.yml
- name: multi-5x
- name: multi
run_list:
attributes:
provisioner:
playbook: test/integration/multi.yml
idempotency_test: true
- name: xpack-5x
- name: xpack
run_list:
attributes:
provisioner:
playbook: test/integration/xpack.yml
- name: xpack-standard-5x
- name: xpack-standard
run_list:
attributes:
provisioner:
Expand All @@ -116,4 +124,4 @@ suites:
attributes:
provisioner:
playbook: test/integration/issue-test.yml
idempotency_test: false
idempotency_test: false
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5050d8f

Please sign in to comment.