File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,10 @@ runs:
138
138
opensearch_minor_version=$(echo "$opensearch_version" | cut -d'.' -f2)
139
139
if [ "$opensearch_major_version" -lt 2 ] || ([ "$opensearch_major_version" -eq 2 ] && [ "$opensearch_minor_version" -lt 12 ]); then
140
140
echo "Running the command without -t option (OpenSearch version is $opensearch_version)"
141
- /bin/bash -c "yes | ./opensearch-${opensearch_version}-SNAPSHOT${{ inputs.port }}/plugins/opensearch-security/tools/install_demo_configuration.bat -y -i -s "
141
+ /bin/bash -c "yes | ./opensearch-${opensearch_version}-SNAPSHOT${{ inputs.port }}/plugins/opensearch-security/tools/install_demo_configuration.bat"
142
142
else
143
143
echo "Running the command with -t option (OpenSearch version is $opensearch_version)"
144
- /bin/bash -c "yes | ./opensearch-${opensearch_version}-SNAPSHOT${{ inputs.port }}/plugins/opensearch-security/tools/install_demo_configuration.bat -t -y -i -s "
144
+ /bin/bash -c "yes | ./opensearch-${opensearch_version}-SNAPSHOT${{ inputs.port }}/plugins/opensearch-security/tools/install_demo_configuration.bat -t"
145
145
fi
146
146
echo "plugins.security.unsupported.restapi.allow_securityconfig_modification: true" >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
147
147
shell : bash
@@ -159,6 +159,10 @@ runs:
159
159
echo "http.port: ${{ inputs.port }}" >> ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
160
160
shell : bash
161
161
162
+ - if : always()
163
+ run : cat ./opensearch-${{ inputs.opensearch-version }}-SNAPSHOT${{ inputs.port }}/config/opensearch.yml
164
+ shell : bash
165
+
162
166
# Run OpenSearch
163
167
- name : Run OpenSearch with plugin on Linux
164
168
if : ${{ runner.os == 'Linux'}}
You can’t perform that action at this time.
0 commit comments