From 54ee9217ecb9f5594b2936ad84cf82d5eae957f7 Mon Sep 17 00:00:00 2001 From: Stephen Crawford Date: Thu, 21 Sep 2023 10:06:40 -0400 Subject: [PATCH] move password population Signed-off-by: Stephen Crawford --- .github/workflows/plugin_install.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/plugin_install.yml b/.github/workflows/plugin_install.yml index a3e5bf995d..2920c9061a 100644 --- a/.github/workflows/plugin_install.yml +++ b/.github/workflows/plugin_install.yml @@ -36,19 +36,11 @@ jobs: run: mv ./build/distributions/${{ env.PLUGIN_NAME }}-*.zip ${{ env.PLUGIN_NAME }}.zip shell: bash - - name: Populate password file - run: | - ls - echo installPassword > ./config/initialAdminPassword.txt - pwd - - - - - name: Create Setup Script if: ${{ runner.os == 'Linux' }} run: | cat > setup.sh <<'EOF' + echo installPassword > ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/plugins/${{ env.PLUGIN_NAME }}/config/initialAdminPassword.txt 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" EOF