File tree 2 files changed +3
-145
lines changed
actions/start-opensearch-with-one-plugin
2 files changed +3
-145
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -39,27 +39,12 @@ jobs:
39
39
run : mv ./build/distributions/${{ env.PLUGIN_NAME }}-*.zip ${{ env.PLUGIN_NAME }}.zip
40
40
shell : bash
41
41
42
- - name : Create Setup Script
43
- if : ${{ runner.os == 'Linux' }}
44
- run : |
45
- cat > setup.sh <<'EOF'
46
- chmod +x ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/plugins/${{ env.PLUGIN_NAME }}/tools/install_demo_configuration.sh
47
- /bin/bash -c "yes | ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/plugins/${{ env.PLUGIN_NAME }}/tools/install_demo_configuration.sh -t"
48
- EOF
49
-
50
- - name : Create Setup Script
51
- if : ${{ runner.os == 'Windows' }}
52
- run : |
53
- New-Item .\setup.bat -type file
54
- Set-Content .\setup.bat -Value "powershell.exe .\opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT\plugins\${{ env.PLUGIN_NAME }}\tools\install_demo_configuration.bat -i -c -y -t"
55
- Get-Content .\setup.bat
56
-
57
42
- name : Run Opensearch with A Single Plugin
58
- uses : ./.github/actions/ start-opensearch-with-one-plugin
43
+ uses : derek-ho/ start-opensearch@v2
59
44
with :
60
45
opensearch-version : ${{ env.OPENSEARCH_VERSION }}
61
- plugin-name : $ {{ env.PLUGIN_NAME }}
62
- setup-script-name : setup
46
+ plugins : " file:$(pwd)/$ {{ env.PLUGIN_NAME }}.zip "
47
+ security-enabled : true
63
48
admin-password : ${{ steps.random-password.outputs.generated_name }}
64
49
65
50
- name : Run sanity tests
You can’t perform that action at this time.
0 commit comments