56 Commits

Author SHA1 Message Date
Derek Ho d3177a8bcb Pass in initial admin password and remove admin:admin references (#631)
* Update to pass in initial admin password

Signed-off-by: Derek Ho <dxho@amazon.com>

* Add changelog and logic to distinguish between versions

Signed-off-by: Derek Ho <dxho@amazon.com>

* fix syntax

Signed-off-by: Derek Ho <dxho@amazon.com>

* Revert tests

Signed-off-by: Derek Ho <dxho@amazon.com>

* Add 2.12 to the matrix and fix testing logic

Signed-off-by: Derek Ho <dxho@amazon.com>

* Fix version logic

Signed-off-by: Derek Ho <dxho@amazon.com>

* Try to split job into two batches

Signed-off-by: Derek Ho <dxho@amazon.com>

* Fix lint

Signed-off-by: Derek Ho <dxho@amazon.com>

* Change name

Signed-off-by: Derek Ho <dxho@amazon.com>

* Remove period

Signed-off-by: Derek Ho <dxho@amazon.com>

* Pull password dynamically

Signed-off-by: Derek Ho <dxho@amazon.com>

* Change to proper env var

Signed-off-by: Derek Ho <dxho@amazon.com>

* Try passing through

Signed-off-by: Derek Ho <dxho@amazon.com>

---------

Signed-off-by: Derek Ho <dxho@amazon.com>
Signed-off-by: Derek Ho <derek01778@gmail.com>
2024-06-18 11:44:21 -04:00
Sai Medhini Reddy Maryada ba715b9d3f Dropped support for python 3.6, 3.7 and added support for python 3.12 (#717)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-04-06 11:18:47 -04:00
Daniel (dB.) Doubrovkine 1801ada270 Added pylint, enforce naming. (#590)
* Added pylint.

Signed-off-by: dblock <dblock@amazon.com>

* Enforce pylint:invalid-name.

Signed-off-by: dblock <dblock@amazon.com>

* Updated the generated code header to prevent broken links.

Signed-off-by: dblock <dblock@amazon.com>

* Swapped order of messages.

Signed-off-by: dblock <dblock@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
2023-11-21 10:04:39 -08:00
Daniel (dB.) Doubrovkine 627e717534 Remove support for Python 2.x. (#548)
Signed-off-by: dblock <dblock@amazon.com>
2023-10-24 07:57:21 -07:00
Daniel (dB.) Doubrovkine e022932ed1 Add the ability to run test patterns. (#454)
Signed-off-by: dblock <dblock@amazon.com>
2023-07-26 10:18:45 -07:00
florianvazelle c60c259d96 Security plugin support (#399)
* feat(plugins): add security client plugin

Signed-off-by: florian <florian@harfanglab.fr>

* test(plugins): skip security plugin tests when disabled

Signed-off-by: florian <florian@harfanglab.fr>

* fix(security): remove non-ASCII character

Signed-off-by: florian <florian@harfanglab.fr>

* chore(CHANGELOG): added entry for security api support in changelog

Signed-off-by: florian <florian@harfanglab.fr>

* test(plugins): add asynchronous tests version

Signed-off-by: florian <florian@harfanglab.fr>

* test: remove some warnings

Signed-off-by: florian <florian@harfanglab.fr>

* chore(USER_GUIDE): add a security plugin part

Signed-off-by: florian <florian@harfanglab.fr>

* test(security): Split out security plugin tests in its own file

Signed-off-by: florian <florian@harfanglab.fr>

* chore: apply reviews

Signed-off-by: florian <florian@harfanglab.fr>

---------

Signed-off-by: florian <florian@harfanglab.fr>
2023-06-27 11:01:40 -04:00
Vacha Shah 20cc9b4b98 Removing OpenDistro integration tests (#183)
Signed-off-by: Vacha Shah <vachshah@amazon.com>

Signed-off-by: Vacha Shah <vachshah@amazon.com>
2022-10-18 11:30:21 -07:00
Arnav Das 2d03dc773b Alerting Plugins (#93)
* Alert Plugin

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* lint file header license

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* Tests For Alerting[Monitors]

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* Tests For Alerting[Destinations]

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* dynamic lookup 90#issuecomment-1003396742

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* Alerting Async

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* Lint Changes

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* alerting plugins integration tests

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* Integ UnitTests Skip on OPENSEARCH_VERSION >= 2.0.0

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* Unit Test Skip Complete

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* License Headers fixed

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* test_urllib3_connection timeout

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* lint

Signed-off-by: Arnav Das <arnav.das88@gmail.com>

* Fix licenses in all files

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>

* Remove elastic search licenses on new files

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>

* Fix formatting

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>

Signed-off-by: Arnav Das <arnav.das88@gmail.com>
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
Co-authored-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
2022-10-03 14:45:18 -04:00
Vacha Shah b1eaba0064 Type removal breaking changes (#151)
* Breaking changes for type removal

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding support to test against unreleased OpenSearch

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Formatting

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Addressing comments to refactor run-opensearch.sh

Signed-off-by: Vacha Shah <vachshah@amazon.com>
2022-04-13 10:47:48 -07:00
Vacha Shah 172a3179ab Add support to test against various versions of OpenSearch (#146)
* Adding support to run integration tests across various versions of OpenSearch

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding a compatibility matrix and getting started guide with formatting

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Splitting jobs for opendistro and opensearch

Signed-off-by: Vacha Shah <vachshah@amazon.com>
2022-04-05 14:06:54 -07:00
Shivam Dhar 25ff092c8f removes cert usage from CI module
Signed-off-by: Shivam Dhar <dhshivam@amazon.com>
2022-01-08 15:15:15 +05:30
Vijayan Balasubramanian ffce9f27a6 Use version instead of latest tag (#99)
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
2021-12-15 11:28:29 +02:00
Rushi Agrawal 5149372e45 Support integ test with security plugin enabled
Removed a docker-compose.yml file which wasn't being used.

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-26 11:49:31 +05:30
Rushi Agrawal 004e346bb0 Change all instances of es->opensearch and ES->OPENSEARCH
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-19 07:58:20 +05:30
Rushi Agrawal 9e9269c8f3 Rename Elasticsearch -> OpenSearch
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-19 07:58:20 +05:30
Rushi Agrawal 90cf2a78e7 [CI] Remove unused variables and logic
elasticsearch_container, elasticsearch_image vars were not being used,
so removed them. Also, cleaned up other variables which depended on them
(mostly hardcoded them instead of deriving from these removed variables)

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-18 01:32:55 +05:30
Rushi Agrawal 6760edc6da Remove STACK_VERSION variable
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-18 01:32:55 +05:30
Rushi Agrawal 3dc1881a9d Support both OpenDistro and OpenSearch in CI
Note that it supports only without security plugin for now

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-18 01:32:55 +05:30
Rushi Agrawal 07c21725e8 remove platinum and change free -> oss
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-13 11:29:59 +05:30
Rushi Agrawal 87cf44ccd6 Rename dockerfiles for clarity
also rename image name to just 'odfe'

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-13 11:19:49 +05:30
Rushi Agrawal 98cfd25604 change docker image to point to opendistro 1.13.2 image
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-13 11:19:49 +05:30
Rushi Agrawal 200d3c584f Set up CI for elasticsearch-oss
Signed-off-by: Rushi Agrawal <agrrushi@amazon.com>
2021-08-06 12:25:34 +05:30
Seth Michael Larson 82b3daf6aa Allow integration tests to be run from IDE 2021-07-15 15:23:11 -05:00
Seth Michael Larson 20d23a374c 7.x-SNAPSHOT 2021-06-23 08:59:42 -05:00
Seth Michael Larson a82b2920e0 Fix test-matrix, mypy, and bad backport
- test-matrix.yml was intepreting 3.10 as '3.1' via float
- mypy recently removed its built-in type stubs for many
  third-party libraries so now need to install 'types-requests'
- Backport of the ELASTIC_CLIENT_APIVERSIONING test case
  included '8' instead of '7'
2021-06-23 08:51:33 -05:00
github-actions[bot] 1787f64d02 [7.x] Start testing on Python 3.10
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2021-06-07 13:30:04 -05:00
Seth Michael Larson 794a97578f [7.x] Start using the Elastic Artifacts API for YAML REST tests 2021-04-22 12:08:05 -05:00
github-actions[bot] 45a430e7c9 [Backport 7.x] Build dists in Docker during make.sh assemble
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2021-03-30 10:04:48 -05:00
github-actions[bot] a313b8773a Revert "Update .ci/make.sh with new command skeletons" (#1558) (#1560)
This reverts commit 5a16c18ed43e5538a5339efe1811a815e7d08fe2.

Co-authored-by: Martijn Laarman <Mpdreamz@gmail.com>
2021-03-30 09:15:01 +02:00
github-actions[bot] e507271c86 [7.x] Update .ci/make.sh with new command skeletons
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2021-03-29 13:45:48 -05:00
Seth Michael Larson 41aad93ea2 Remove useless Jenkins job definitions on 7.x branch 2021-02-24 11:59:06 -06:00
Seth Michael Larson 9744eae1b6 [7.x] [CI] Update integration test suite with new Docker distribution format 2021-01-29 15:22:58 -06:00
github-actions[bot] e0e54a1128 [7.x] Use gzip to compress the release tarball
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2021-01-11 15:19:17 -06:00
github-actions[bot] 32f17b5507 [7.x] Move tarball step into .ci/make.sh
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2020-12-22 14:26:17 -06:00
Seth Michael Larson b33e18ba0d [7.x] Start using wipe_cluster() for consistent cluster state
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2020-12-04 08:10:37 -06:00
Seth Michael Larson 00a4f1edab [7.x] Remove -it option from make.sh Docker call
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2020-11-23 17:32:35 -06:00
github-actions[bot] a1cac1aaad [7.x] Add Python 3.9 to CI
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2020-11-19 13:46:10 -06:00
github-actions[bot] 21f25419eb [7.x] Change 'make.sh release' to 'make.sh assemble'
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2020-11-10 13:45:05 -06:00
Seth Michael Larson 708e282eaf [7.x] Actually dockerize repo, update build-dists for release manager 2020-11-04 13:58:42 -06:00
Seth Michael Larson 9b8cee0199 [7.x] Add .ci/make.sh script for building releases
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2020-10-12 16:42:23 -05:00
Seth Michael Larson eaa8334e54 [7.x] Automatically retry 'docker pull' on CI 2020-07-29 17:12:11 -05:00
Seth Michael Larson 1bfb1113d3 [7.x] Split CI into Jenkins and GitHub Actions 2020-05-27 16:42:40 -05:00
Seth Michael Larson 2f8c0843a6 [7.x] Move junit XML out of Docker 2020-05-19 12:53:24 -05:00
Seth Michael Larson 24c57840cb Update API and license tools 2020-04-23 14:10:49 -05:00
Seth Michael Larson 9c39f37547 Release 7.7.0a1 2020-04-01 09:16:38 -05:00
Seth Michael Larson 7b6a12f2e5 Remove opaque_id from the client constructor 2020-03-19 13:23:52 -05:00
Seth Michael Larson 024abcfa39 Unskip API tests, add xpack no_xpack default_shards features 2020-02-28 11:36:03 -06:00
Seth Michael Larson 2c7ea70201 Migrate CI to Jenkins on 7.x branch (#1114) 2020-02-27 10:13:49 -06:00
Honza Král 8b4e20d0d8 Getting rid of jenkins 2019-12-10 13:56:29 +01:00
Nick Lang 01e62965a1 update test matrix 2019-05-09 16:39:18 -06:00