diff --git a/.github/workflows/plugin_install.yml b/.github/workflows/plugin_install.yml index 76d3012df5..3cc30eea3a 100644 --- a/.github/workflows/plugin_install.yml +++ b/.github/workflows/plugin_install.yml @@ -16,8 +16,9 @@ jobs: runs-on: ${{ matrix.os }} steps: - - id: random-password - uses: peternied/random-name@v1 + - name: Generate Strong Password + id: generate-password + uses: DarshitChanpura/secure-password-action@v1.0.0 - name: Set up JDK uses: actions/setup-java@v4 @@ -45,11 +46,11 @@ jobs: opensearch-version: ${{ env.OPENSEARCH_VERSION }} plugins: "file:$(pwd)/${{ env.PLUGIN_NAME }}.zip" security-enabled: true - admin-password: ${{ steps.random-password.outputs.generated_name }} + admin-password: ${{ steps.generate-password.outputs.password }} jdk-version: 21 - name: Run sanity tests uses: gradle/gradle-build-action@v3 with: cache-disabled: true - arguments: integTestRemote -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="opensearch" -Dhttps=true -Duser=admin -Dpassword=${{ steps.random-password.outputs.generated_name }} -i + arguments: integTestRemote -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="opensearch" -Dhttps=true -Duser=admin -Dpassword=${{ steps.generate-password.outputs.password }} -i