Commit graph

104 commits

Author SHA1 Message Date
Victor Martinez
e4920b0da4
Support ubuntu-20 (#745) 2021-05-10 14:17:39 +02:00
Julien Mailleret
953f0e5d73
[meta] update ubuntu-1804 during kitchen provisioning (#793) 2021-04-12 15:57:26 +02:00
Elastic Machine
1d3be6dc6c
7.12.0 release (#790) 2021-03-23 10:48:12 -04:00
Elastic Machine
7bf590a219
7.11.1 release (#780)
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
2021-02-22 17:52:36 +01:00
Julien Mailleret
d3e394b071
[meta] refactor kitchen tests (#765)
* [meta] refactor kitchen tests

This commit update kitchen tests to match important feature to test:
- default: test a deployment with all default values
- license: test a deployment with a license and default values
- trial: test a deployment with security enabled and trial license
- oss: test a deployment with oss version and default values (6.x only)
- upgrade: test an upgrade from a previous version
- oss-upgrade: test an upgrade with oss version (6.x only)
- oss-to-default-upgrade: test an upgrade from previous oss to latest
default version
- custom_config: test a deployment with custom config files
- security: test a deployment with security enabled

* [meta] fix license test
2021-02-04 11:19:00 +01:00
Victor Martinez
cc4d7fa98c
Support CentOS 8 (#744) 2020-11-17 19:43:41 +01:00
Julien Mailleret
64f92ed170
Fix test-kitchen net-scp-error (#736)
This commit report setting added to ansible-beats repo to fix the
transient Net::SCP::Error reported in ansible-beats and
ansible-elasticsearch during test-kitchen CI tests.
2020-11-17 18:17:40 +01:00
Elastic Machine
389a3ff45f
7.9.3 release (#734)
* 7.9.3 release

Co-authored-by: Nassim Kammah <nassim.kammah@elastic.co>
2020-10-22 15:50:23 +02:00
Yuriy
202676b121
7.9.0 release (#712)
* 7.9.0 as default version
* 6.8.12 as 6.x tested version
2020-08-18 10:32:49 -05:00
Julien Mailleret
37fc61bc2e
7.8.1 release (#708) 2020-07-28 16:32:23 +02:00
anisf
9539712bd7
add AMZN Linux 2 support (#703) 2020-06-26 09:42:23 +02:00
Julien Mailleret
8a2ab0ce0e
add debian 10 support (#699)
* add debian 10 support
* install jdk11 for debian 10 and elasticsearch 6
2020-06-15 16:03:14 +02:00
Julien Mailleret
c12542836e
[meta] 7.7.1 release (#698) 2020-06-04 21:06:33 +02:00
Julien Mailleret
9e327e7437
7.7.0 release (#692)
- 7.7.0 as default version
- 6.8.9 as 6.x tested version
2020-05-13 18:11:10 +02:00
Julien Mailleret
8ac6ec52b1
[7.6.2] bump version 2020-03-31 10:44:54 +02:00
Julien Mailleret
77e516c260
[7.6.1] bump version 2020-03-04 18:35:20 +01:00
Julien Mailleret
ffa66f5d21
[7.5.1] bump version 2019-12-18 15:59:40 +01:00
Julien Mailleret
f78a33b07b
bump elasticsearch to 6.8.5 and 7.4.2 2019-11-25 22:14:58 +01:00
pemontto
8fb9e81289
Remove issue-test-trail test suite 2019-10-31 10:55:13 +00:00
pemontto
43f7421d72
Merge branch 'master' into AddSSLSupport 2019-10-25 11:14:00 +01:00
pemontto
235a656350
Add documentation for SSL/TLS 2019-10-22 14:27:56 +01:00
Julien Mailleret
2425e2c78b
7.4.1 release 2019-10-22 11:31:19 +02:00
pemontto
ab70e6f11d
Add tests for SSL and and trial versions 2019-10-18 17:56:55 +01:00
Julien Mailleret
10d16a2c1f
bump elasticsearch version 2019-09-25 15:57:19 +02:00
Julien Mailleret
c0238edb38
release 7.1.1 version (#573) 2019-06-04 12:18:30 +02:00
Julien Mailleret
2cb020a4c2
Remove multi instances support (#566)
* remove multi instances support
The goal is to stop supporting installation of more than one node in the same host. This commit update the Ansible role README documentation and remove the multi instances kitchen test.

* remove systemd and init.d templates
As we no more need to support more than one node on the same host, we no more need to override init files provided by elasticsearch official packages.

* remove file script feature
File scripts have been removed since elasticsearch 6.0 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_scripting_changes.html#_file_scripts_removed)

* remove custom user and custom group
ES_USER and ES_GROUP settings are no longer supported (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_packaging_changes.html#_configuring_custom_user_and_group_for_package_is_no_longer_allowed)

* add upgrade procedure

* use same task for license activation with and without authentication
2019-06-03 14:18:09 +02:00
Julien Mailleret
a1c81884e2
[7.x] add support for elasticsearch 7.x and remove support for 5.x (#558)
- add support for elasticsearch 7.x
- remove support for elasticsearch 5.x
- update kitchen-ansible configuration (install ansible and jmespath dependencies using os repositories)
- replace geoip plugin in tests as this one is now embeded in elasticsearch since 6.7.0 (cf. https://www.elastic.co/guide/en/elasticsearch/plugins/6.7/ingest-geoip.html)
- update discovery configuration for 7.x (in ES 7.x, discovery.zen.ping.unicast.hosts is replaced by discovery.seed_hosts and transport.tcp.port is replaced by transport.port, also discovery.seed_hosts is disabled on master nodes to avoid "master_not_discovered_exception" error when creating templates in the same play)
- update index template structure for 7.x 
- update security realms settings for 7.x (cf. https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#include-realm-type-in-setting)
2019-05-09 09:06:02 +02:00
Julien Mailleret
07287ebecd
[test] fix debian-8 provisioning in kitchen tests (#556)
Jessie backport repos have been removed from debian mirrors and moved to archive mirrors (cf. https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html). We also need to disable validity checks as this repo is no more updated (https://unix.stackexchange.com/questions/508724/failed-to-fetch-jessie-backports-repository)
2019-04-29 11:07:59 +02:00
Michael Russell
2d8192ac09
Install the necessary packages for Ubuntu 14.04 and 18.04 2018-11-26 16:46:07 +01:00
Michael Russell
afc2fe74ae
Switch to vanilla docker images and add Ubuntu 18.04 and Debian 9 2018-11-26 15:26:57 +01:00
Michael Russell
324ec67bd5
Bump 5.x testing version to 5.6.11 2018-08-28 07:58:36 +02:00
Michael Russell
b1d159cad3
Enable issue-test suite again to make it easy to do ad hoc testing 2018-07-13 10:19:12 +02:00
Michael Russell
da58c5f0dd
Move to new testing suite names
This commit is just moving the tests to their new names. The config,
packge and issue test suites have been removed and the tests from these
will be incorporated into the oss and xpack tests.

oss: Standard elasticsearch-oss role with idempotency test

oss-upgrade: Upgrade from previous minor version oss to current minor version oss

oss-to-xpack-upgrade: Upgrade from previous minor version oss to current minor version xpack

xpack: Standard elasticsearch (with xpack) role with idempotency test

xpack-upgrade: Upgrade from previous minor version xpack to current minor version xpack

multi: Tests multiple instances of elasticsearch on a single machine
2018-06-19 10:39:16 +02:00
Michael Russell
2c8ce3bb2d
Add test for upgrading from previous version of oss to current 2018-06-15 17:22:18 +02:00
Michael Russell
bbc5e0603d
Abstract 6.3 changes into a separate task to reduce all of the jinja one
liner complexity

Set ES_PATH_CONF when installing so upgrading from 6.2 to 6.3 works as
expected
2018-06-14 14:44:31 +02:00
Michael Russell
10ff32d109
Install missing python SSL libraries to allow https to work with the uri
module
2018-06-13 17:32:55 +02:00
Michael Russell
c58b69f5d6
Install python-openssl into Ubuntu 14.04 otherwise SSL verification
doesn't work for the uri module
2018-06-13 11:13:22 +02:00
Michael Russell
6d82cf3142
WIP: 6.3 support 2018-06-13 08:29:45 +02:00
Dejon Gill
f67eae6eb0 bump es release version 2018-04-23 22:18:43 -07:00
Michael Russell
fe0fc4b430
Bump default version to 6.2.2 and 5.6.8 2018-02-21 21:09:15 +01:00
Michael Russell
be8e2606bf
Upgrade to the latest ansible version 2018-02-01 16:00:26 +01:00
Michael Russell
fbfc85e766
Make 6.x the default version 2018-02-01 14:54:16 +01:00
Michael Russell
9b6fb3602f
Mount /etc/elasticsearch as a volume otherwise x-pack fails to make
immutable changes to the static x-pack users file
2018-01-31 14:29:49 +01:00
Michael Russell
7377ed76e5
Update kitchen to handle testing 5.x and 6.x Elasticsearch versions 2018-01-22 15:04:04 +01:00
Dale McDiarmid
e9a6f74d09 Fix for issue #369 2017-09-19 20:11:09 +01:00
Dale McDiarmid
5e1873ca68 Simpler restart handling + issue-test for recreation of problems 2017-08-20 10:30:39 -04:00
Dale McDiarmid
00faa9115a Added comment in readme for support of es_xpack_custom_url 2017-08-18 20:01:31 +01:00
Dale McDiarmid
330d8d1392 Standard tests 2017-08-18 19:38:10 +01:00
Dale McDiarmid
53741c33c6 X-pack security fix + activation 2017-08-17 21:44:46 +01:00
Dale McDiarmid
ec27bc3fe4 keep current version of pip 2017-08-16 13:07:38 +01:00