From c2bbc932fe9a6b22489712a586867d9e0480500e Mon Sep 17 00:00:00 2001 From: Stephen Crawford Date: Wed, 20 Sep 2023 15:44:15 -0400 Subject: [PATCH] cofirm correct file Signed-off-by: Stephen Crawford --- .github/workflows/plugin_install.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/plugin_install.yml b/.github/workflows/plugin_install.yml index 2b1367a093..17c8b8721b 100644 --- a/.github/workflows/plugin_install.yml +++ b/.github/workflows/plugin_install.yml @@ -36,10 +36,17 @@ jobs: run: mv ./build/distributions/${{ env.PLUGIN_NAME }}-*.zip ${{ env.PLUGIN_NAME }}.zip shell: bash + - name: Populate password file + run: | + echo installPassword > ./config/initialAdminPassword.txt + cd config + cat initialAdminPassword.txt + + + - name: Create Setup Script if: ${{ runner.os == 'Linux' }} run: | - export initialAdminPassword=installPassword cat > setup.sh <<'EOF' chmod +x ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/plugins/${{ env.PLUGIN_NAME }}/tools/install_demo_configuration.sh /bin/bash -c "yes | ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/plugins/${{ env.PLUGIN_NAME }}/tools/install_demo_configuration.sh" @@ -48,7 +55,6 @@ jobs: - name: Create Setup Script if: ${{ runner.os == 'Windows' }} run: | - set initialAdminPassword=installPassword New-Item .\setup.bat -type file Set-Content .\setup.bat -Value "powershell.exe .\opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT\plugins\${{ env.PLUGIN_NAME }}\tools\install_demo_configuration.bat -i -c -y" Get-Content .\setup.bat