Commit Graph
50 Commits
Author SHA1 Message Date
Vacha ShahandGitHub 20cc9b4b98 Removing OpenDistro integration tests (#183)
Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>
2022-10-18 11:30:21 -07:00
2d03dc773b Alerting Plugins (#93)
* Alert Plugin

Signed-off-by: Arnav Das <[email protected]>

* lint file header license

Signed-off-by: Arnav Das <[email protected]>

* Tests For Alerting[Monitors]

Signed-off-by: Arnav Das <[email protected]>

* Tests For Alerting[Destinations]

Signed-off-by: Arnav Das <[email protected]>

* dynamic lookup 90#issuecomment-1003396742

Signed-off-by: Arnav Das <[email protected]>

* Alerting Async

Signed-off-by: Arnav Das <[email protected]>

* Lint Changes

Signed-off-by: Arnav Das <[email protected]>

* alerting plugins integration tests

Signed-off-by: Arnav Das <[email protected]>

* Integ UnitTests Skip on OPENSEARCH_VERSION >= 2.0.0

Signed-off-by: Arnav Das <[email protected]>

* Unit Test Skip Complete

Signed-off-by: Arnav Das <[email protected]>

* License Headers fixed

Signed-off-by: Arnav Das <[email protected]>

* test_urllib3_connection timeout

Signed-off-by: Arnav Das <[email protected]>

* lint

Signed-off-by: Arnav Das <[email protected]>

* Fix licenses in all files

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Remove elastic search licenses on new files

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Fix formatting

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

Signed-off-by: Arnav Das <[email protected]>
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
Co-authored-by: Harsha Vamsi Kalluri <[email protected]>
2022-10-03 14:45:18 -04:00
Vacha ShahandGitHub b1eaba0064 Type removal breaking changes (#151)
* Breaking changes for type removal

Signed-off-by: Vacha Shah <[email protected]>

* Adding support to test against unreleased OpenSearch

Signed-off-by: Vacha Shah <[email protected]>

* Formatting

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments to refactor run-opensearch.sh

Signed-off-by: Vacha Shah <[email protected]>
2022-04-13 10:47:48 -07:00
Vacha ShahandGitHub 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 <[email protected]>

* Adding a compatibility matrix and getting started guide with formatting

Signed-off-by: Vacha Shah <[email protected]>

* Splitting jobs for opendistro and opensearch

Signed-off-by: Vacha Shah <[email protected]>
2022-04-05 14:06:54 -07:00
Shivam DharandShivam Dhar 25ff092c8f removes cert usage from CI module
Signed-off-by: Shivam Dhar <[email protected]>
2022-01-08 15:15:15 +05:30
Vijayan BalasubramanianandGitHub ffce9f27a6 Use version instead of latest tag (#99)
Signed-off-by: Vijayan Balasubramanian <[email protected]>
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 <[email protected]>
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 <[email protected]>
2021-08-19 07:58:20 +05:30
Rushi Agrawal 9e9269c8f3 Rename Elasticsearch -> OpenSearch
Signed-off-by: Rushi Agrawal <[email protected]>
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 <[email protected]>
2021-08-18 01:32:55 +05:30
Rushi Agrawal 6760edc6da Remove STACK_VERSION variable
Signed-off-by: Rushi Agrawal <[email protected]>
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 <[email protected]>
2021-08-18 01:32:55 +05:30
Rushi Agrawal 07c21725e8 remove platinum and change free -> oss
Signed-off-by: Rushi Agrawal <[email protected]>
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 <[email protected]>
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 <[email protected]>
2021-08-13 11:19:49 +05:30
Rushi Agrawal 200d3c584f Set up CI for elasticsearch-oss
Signed-off-by: Rushi Agrawal <[email protected]>
2021-08-06 12:25:34 +05:30
Seth Michael LarsonandSeth Michael Larson 82b3daf6aa Allow integration tests to be run from IDE 2021-07-15 15:23:11 -05:00
Seth Michael LarsonandGitHub 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
1787f64d02 [7.x] Start testing on Python 3.10
Co-authored-by: Seth Michael Larson <[email protected]>
2021-06-07 13:30:04 -05:00
Seth Michael LarsonandGitHub 794a97578f [7.x] Start using the Elastic Artifacts API for YAML REST tests 2021-04-22 12:08:05 -05:00
45a430e7c9 [Backport 7.x] Build dists in Docker during make.sh assemble
Co-authored-by: Seth Michael Larson <[email protected]>
2021-03-30 10:04:48 -05:00
a313b8773a Revert "Update .ci/make.sh with new command skeletons" (#1558) (#1560)
This reverts commit 5a16c18ed43e5538a5339efe1811a815e7d08fe2.

Co-authored-by: Martijn Laarman <[email protected]>
2021-03-30 09:15:01 +02:00
e507271c86 [7.x] Update .ci/make.sh with new command skeletons
Co-authored-by: Seth Michael Larson <[email protected]>
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 LarsonandGitHub 9744eae1b6 [7.x] [CI] Update integration test suite with new Docker distribution format 2021-01-29 15:22:58 -06:00
e0e54a1128 [7.x] Use gzip to compress the release tarball
Co-authored-by: Seth Michael Larson <[email protected]>
2021-01-11 15:19:17 -06:00
32f17b5507 [7.x] Move tarball step into .ci/make.sh
Co-authored-by: Seth Michael Larson <[email protected]>
2020-12-22 14:26:17 -06:00
Seth Michael LarsonandGitHub b33e18ba0d [7.x] Start using wipe_cluster() for consistent cluster state
Co-authored-by: Seth Michael Larson <[email protected]>
2020-12-04 08:10:37 -06:00
Seth Michael LarsonandGitHub 00a4f1edab [7.x] Remove -it option from make.sh Docker call
Co-authored-by: Seth Michael Larson <[email protected]>
2020-11-23 17:32:35 -06:00
a1cac1aaad [7.x] Add Python 3.9 to CI
Co-authored-by: Seth Michael Larson <[email protected]>
2020-11-19 13:46:10 -06:00
21f25419eb [7.x] Change 'make.sh release' to 'make.sh assemble'
Co-authored-by: Seth Michael Larson <[email protected]>
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 LarsonandGitHub 9b8cee0199 [7.x] Add .ci/make.sh script for building releases
Co-authored-by: Seth Michael Larson <[email protected]>
2020-10-12 16:42:23 -05:00
Seth Michael LarsonandSeth Michael Larson eaa8334e54 [7.x] Automatically retry 'docker pull' on CI 2020-07-29 17:12:11 -05:00
Seth Michael LarsonandGitHub 1bfb1113d3 [7.x] Split CI into Jenkins and GitHub Actions 2020-05-27 16:42:40 -05:00
Seth Michael LarsonandGitHub 2f8c0843a6 [7.x] Move junit XML out of Docker 2020-05-19 12:53:24 -05:00
Seth Michael LarsonandSeth Michael Larson 24c57840cb Update API and license tools 2020-04-23 14:10:49 -05:00
Seth Michael LarsonandGitHub 9c39f37547 Release 7.7.0a1 2020-04-01 09:16:38 -05:00
Seth Michael LarsonandGitHub 7b6a12f2e5 Remove opaque_id from the client constructor 2020-03-19 13:23:52 -05:00
Seth Michael LarsonandGitHub 024abcfa39 Unskip API tests, add xpack no_xpack default_shards features 2020-02-28 11:36:03 -06:00
Seth Michael LarsonandGitHub 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
Nick LangandGitHub 1afceba69b update to ES 7 (#911)
* update to ES 7

* more updates to make tests run

* update the test matrix

* remove python 3.3

* update xpack apis

* relative imports
2019-03-29 09:25:23 -06:00
Jonah Bull 5d077718d5 Add JJBB jobs to .ci 2018-12-19 15:59:00 -06:00
Nick LangandGitHub 4538df2aa0 Testing changes for Jenkins CI (#863)
* testing

* more fixes

* downgrade docker-compose file version cause jenkins

* fixing matrix

* back to elasticsearch_version

* skip py3.7 for now there's a bug

* add build badge and remove 3.3
Sphinx doesn't play nice with 3.3

* sphinx 1.7 drops support for python 3.3

* updating test matrix

* remove travis

* updating badges
2018-10-31 12:07:38 -06:00
Nick Lang c0d5f288c8 update runtests 2018-10-26 13:13:01 -06:00
Nick Lang 5bbaa77aa1 fixng formatting of matrix 2018-10-26 13:06:08 -06:00
Nick LangandGitHub 51c2c9f7ac In preparation for moving to Elastic's CI (#862)
* In preperation for moving to Elastic's CI

Add dockerfile to build image for testing python client in a docker container
add docker-compose to create environment for running tests against specific versions of ES
Add Makefile to make it easy to execute tests and cleanup
add wait-for-elasticsearch.sh script to wait for elasticsearch before executing the tests.

* add pull and comment about pushing requring auth

* spelling errors

* adding CI directory for jenkins to pick up

fixing typo too

* fix test-matrix and create working run-tests

* add comment about why skipping python 2.6

* adding dockerfiles to create base images for ci
2018-10-26 13:02:14 -06:00