forked from elastic/elastic-github-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
42 lines (39 loc) · 1.15 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: 'Run Elasticsearch'
description: 'This action spins up an Elasticsearch instance that can be accessed and used in your subsequent steps.'
author: 'elastic'
branding:
icon: 'database'
color: 'green'
inputs:
stack-version:
description: 'The version of the Elastic Stack you want to run'
required: true
security-enabled:
description: 'Enable or disable HTTPS, enabled by default'
default: 'true'
required: false
nodes:
description: 'Number of nodes in the cluster'
required: false
default: 1
port:
description: 'Port where you want to run Elasticsearch'
required: false
default: 9200
elasticsearch_password:
description: 'The password for the user elastic in your cluster'
required: false
default: 'changeme'
plugins:
description: 'Plugins that you want to include'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
env:
STACK_VERSION: ${{ inputs.stack-version }}
NODES: ${{ inputs.nodes }}
PORT: ${{ inputs.port }}
PLUGINS: ${{ inputs.plugins }}
SECURITY_ENABLED: ${{ inputs.security-enabled }}
ELASTICSEARCH_PASSWORD: ${{ inputs.elasticsearch_password }}