Skip to content

Commit

Permalink
Fix plugin install
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford committed Sep 20, 2023
1 parent 0a1403f commit 18c63f0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/plugin_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
run: mv ./build/distributions/${{ env.PLUGIN_NAME }}-*.zip ${{ env.PLUGIN_NAME }}.zip
shell: bash

- name: Populate password file
run: echo "installPassword" > ./config/secret/initialAdminPassword

- name: Create Setup Script
if: ${{ runner.os == 'Linux' }}
run: |
Expand All @@ -62,4 +65,4 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
cache-disabled: true
arguments: integTestRemote -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="opensearch" -Dhttps=true -Duser=admin -Dpassword=admin
arguments: integTestRemote -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="opensearch" -Dhttps=true -Duser=admin -Dpassword=installPassword
Empty file.
2 changes: 1 addition & 1 deletion tools/install_demo_configuration.bat
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ echo Basedir: %BASE_DIR%

set "OPENSEARCH_CONF_FILE=%BASE_DIR%config\opensearch.yml"
set "INTERNAL_USERS_FILE"=%BASE_DIR%config\internal_users.yml"
set "ADMIN_PASSWORD_FILE"=%BASE_DIR%config\admin_password.txt"
set "ADMIN_PASSWORD_FILE"=%BASE_DIR%config\secret\initialAdminPassword.txt"
set "OPENSEARCH_CONF_DIR=%BASE_DIR%config\"
set "OPENSEARCH_BIN_DIR=%BASE_DIR%bin\"
set "OPENSEARCH_PLUGINS_DIR=%BASE_DIR%plugins\"
Expand Down
2 changes: 1 addition & 1 deletion tools/install_demo_configuration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ else
fi
OPENSEARCH_CONF_FILE="$BASE_DIR/config/opensearch.yml"
INTERNAL_USERS_FILE="$BASE_DIR/config/internal_users.yml"
ADMIN_PASSWORD_FILE="$BASE_DIR/secret/initialAdminPassword.txt"
ADMIN_PASSWORD_FILE="$BASE_DIR/config/secret/initialAdminPassword.txt"
OPENSEARCH_BIN_DIR="$BASE_DIR/bin"
OPENSEARCH_PLUGINS_DIR="$BASE_DIR/plugins"
OPENSEARCH_MODULES_DIR="$BASE_DIR/modules"
Expand Down

0 comments on commit 18c63f0

Please sign in to comment.