Skip to content

Latest commit

 

History

History
 
 

enterprise-search

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Elastic Enterprise Search Github Action

Elastic Enterprise Search Github Action Stability:experimental

This action spins up an Elasticsearch instance with Elastic Enterprise Search that can be accessed and used in your subsequent steps.


NOTE: This action is still under active development, and it is not yet recommended to use it in your workflows.


Inputs

Name Required Default Description
stack-version Yes The version of the Elastic Stack you need to use, you can use any version present in docker.elastic.co.

Usage

You must also add the Configure sysctl limits step, otherwise Elasticsearch will not be able to boot.

- name: Configure sysctl limits
  run: |
    sudo swapoff -a
    sudo sysctl -w vm.swappiness=1
    sudo sysctl -w fs.file-max=262144
    sudo sysctl -w vm.max_map_count=262144

- name: Runs Elastic Enteprise Search
  uses: elastic/elastic-github-actions/enterprise-search@master
  with:
    stack-version: 7.7.0

License

This software is licensed under the Apache 2 license.