File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed
Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,14 @@ jobs:
3434 run : |
3535 cat > setup.sh <<'EOF'
3636 chmod +x ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/plugins/${{ env.PLUGIN_NAME }}/tools/install_demo_configuration.sh
37- /bin/bash -c "./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/plugins/${{ env.PLUGIN_NAME }}/tools/install_demo_configuration.sh -y "
37+ /bin/bash -c "yes | ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/plugins/${{ env.PLUGIN_NAME }}/tools/install_demo_configuration.sh"
3838 EOF
3939
4040 - name : Create Setup Script
4141 if : ${{ runner.os == 'Windows' }}
4242 run : |
4343 New-Item .\setup.bat -type file
44- Set-Content .\setup.bat -Value "powershell.exe .\opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT\plugins\${{ env.PLUGIN_NAME }}\tools\install_demo_configuration.bat -y"
44+ Set-Content .\setup.bat -Value "powershell.exe .\opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT\plugins\${{ env.PLUGIN_NAME }}\tools\install_demo_configuration.bat -i -c - y"
4545
4646 - name : Run Opensearch with A Single Plugin
4747 uses : ./.github/actions/start-opensearch-with-one-plugin
Original file line number Diff line number Diff line change @@ -62,11 +62,6 @@ if %cluster_mode% == 0 (
6262 )
6363)
6464
65- if %assumeyes% == 1 (
66- set " initsecurity = 1"
67- set " cluster_mode = 1"
68- )
69-
7065set BASE_DIR = %SCRIPT_DIR% \..\..\..\
7166if not exist %BASE_DIR% (
7267 echo " basedir does not exist"
Original file line number Diff line number Diff line change @@ -97,11 +97,6 @@ if [ "$cluster_mode" == 0 ] && [ "$assumeyes" == 0 ]; then
9797 esac
9898fi
9999
100- if [ " $assumeyes " == 1 ]; then
101- cluster_mode=1
102- initsecurity=1
103- fi
104-
105100set -e
106101BASE_DIR=" $DIR /../../.."
107102if [ -d " $BASE_DIR " ]; then
You can’t perform that action at this time.
0 commit comments