Commit graph

15 commits

Author SHA1 Message Date
Julien Mailleret
532cfba218
Remove CentOS 8 tests (#845)
This commit removes CentOS 8 tests. These tests are now failing because
CentOS 8 is now EOL and it's repositories have been archived.

Source: https://forums.centos.org/viewtopic.php?f=54&t=78708
2022-02-01 15:51:40 +01:00
Julien Mailleret
7175d71df1
Remove Ubuntu 14.04 support (#835)
This commit removes the support of Ubuntu 14.04. This distribution is
EOL since April 30th 2019 and CI tests are failing because apt
repositories aren't available anymore.
2021-12-06 18:43:19 +01:00
Victor Martinez
e4920b0da4
Support ubuntu-20 (#745) 2021-05-10 14:17:39 +02:00
Julien Mailleret
e2caeb84b3
Remove OSS support for version >= 7.11.0 (#770)
This commit is removing the option to install Elasticsearch OSS
distribution for version >= 7.11.0.

This is due to Elasticsearch recent license change.
See https://www.elastic.co/blog/licensing-change for more details.

- Add notice to breaking changes and update documentation
- Fail the deployment if trying to install OSS >= 7.11.0
- Remove OSS tests for 7.x except the upgrade test from last OSS version
  to default distribution
2021-02-05 16:23:55 +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
Julien Mailleret
e863695018
[meta] add dedicated ci jobs for 6.x (#760)
This commit create dedicated Jenkins jobs for 6.x for master branch and
PRs. This is required to allow having different test suites for 7.x and
6.x in a following PR.
2021-01-27 17:37:00 +01:00
Victor Martinez
cc4d7fa98c
Support CentOS 8 (#744) 2020-11-17 19:43:41 +01: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
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
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
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
4c35794b76
Add jenkins test matrix yml definition
This allows us to control and modify the jenkins matrix job via the pull
request flow instead of needing to sync changes in the jenkins
configuration.
2018-06-15 10:59:00 +02:00