Git Product home page Git Product logo

elastic-stack-testing's Introduction

elastic-stack-testing

[WIP] Elastic Stack Testing Framework (ESTF)

This project is a work in progress to provide a common automation framework for elastic stack testing.
The goal is to provide a powerful, easy to use and maintain framework to build test suites.

One main project for this framework is the development of a product integration test suite.

  • Automated Integration Testing (AIT)

This project is in early stage development and many things are still being ironed out.

More details can be found:

Infrastructure

  • Software products under test: Elasticsearch, Kibana, Logstash, Beats, Cloud, APM, ML
  • Ansible is used to install and configure the software products under test
  • Python, Pytest and Selenium/Webium will be used for the test framework
  • Automated virtual machine support for Vagrant boxes, AWS EC2 and GCP

Environment Setup

Quick Start

Running a playbook for provisioning

  1. Clone repository: git clone https://github.com/elastic/elastic-stack-testing.git
  2. cd elastic-stack-testing
  3. Edit file: buildenv.sh
  4. Fill in information
    • export AIT_RUN_LOCAL=true
    • export ES_BUILD_URL=artifacts.elastic.co/[version] ex: 6.2.3
    • export ES_BUILD_PKG_EXT=tar
    • export AIT_ANSIBLE_PLAYBOOK=install_xpack
    • export AIT_VM=vagrant_vm
    • export AIT_SKIP_VM_CLEANUP=true
  5. Execute file: ./buildenv.sh

For more options see file: CONTRIBUTING.md

Currently Supported

  • Machine: Vagrant, Virtualbox
  • Machine OS: Ubuntu-16.04-x86_64
  • Node: Single
  • Product Versions: 5.6.x, 6.x, 7.x
  • Product Packages: tar.gz
  • Product Types: Regular and OSS

Cloud Environment

Building the ci/cloud project requires a github API token. The API key will need repo access (repo checkbox).

Once a github API token has been acquired three environment variables must be set: GH_OWNER, GH_TOKEN, and SDK_VERSION.

GH_OWNER should be set to elastic but can be overridden to your fork if necessary.

chmod +x getJavaSdk.sh

GH_OWNER=elastic GH_TOKEN=mytoken SDK_VERSION=1.2.0-SNAPSHOT ./getJavaSdk.sh

Contributing

Please use the issue tracker to report any bugs or enhancement requests. Pull requests are welcome.

Authors

Elastic Stack Testing Framework created by Liza Dayoub.

Also see a list of contributors who participated in the project.

License

Apache License 2.0

elastic-stack-testing's People

Contributors

afharo avatar azasypkin avatar cachedout avatar chrisronline avatar dependabot[bot] avatar igoristic avatar imkarrer avatar jasonrhodes avatar liza-mae avatar madamesheema avatar marius-dr avatar pheyos avatar sorenlouv avatar spalger avatar thomasneirynck avatar weltenwort avatar ycombinator avatar zfy0701 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.