File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,13 @@ inputs:
23
23
required : false
24
24
25
25
port :
26
- description : ' Port to run OpenSearch. Leave empty to use the default config (9200)'
26
+ description : ' HTTP port to run OpenSearch. Leave empty to use the default config (9200)'
27
27
required : false
28
28
default : ' 9200'
29
+ transport_port :
30
+ description : ' Transport port to run OpenSearch transport layer. Leave empty to use the default config (9300-9400)'
31
+ required : false
32
+ default : ' 9300-9400'
29
33
30
34
runs :
31
35
using : " composite"
@@ -128,11 +132,12 @@ runs:
128
132
shell : bash
129
133
working-directory : ${{ inputs.port }}
130
134
131
- - name : Use more space
135
+ - name : Use more space and update ports
132
136
run : |
133
137
echo '' >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
134
138
echo "cluster.routing.allocation.disk.threshold_enabled: false" >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
135
139
echo "http.port: ${{ inputs.port }}" >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
140
+ echo "transport.port: ${{ inputs.transport_port }}" >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
136
141
shell : bash
137
142
working-directory : ${{ inputs.port }}
138
143
Original file line number Diff line number Diff line change 76
76
opensearch-version : ${{ env.VERSION }}
77
77
security-enabled : false
78
78
port : 9201
79
+ transport_port : 9301
79
80
- uses : ./.github/actions/start-opensearch
80
81
with :
81
82
opensearch-version : ${{ env.VERSION }}
You can’t perform that action at this time.
0 commit comments