Skip to content

Commit 812b40b

Browse files
Merge remote-tracking branch 'upstream/main' into resource-sharing-spi
2 parents 681a77a + 8803690 commit 812b40b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/plugin_install.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
19-
- id: random-password
20-
uses: peternied/random-name@v1
19+
- name: Generate Strong Password
20+
id: generate-password
21+
uses: DarshitChanpura/secure-password-action@v1.0.0
2122

2223
- name: Set up JDK
2324
uses: actions/setup-java@v4
@@ -45,11 +46,11 @@ jobs:
4546
opensearch-version: ${{ env.OPENSEARCH_VERSION }}
4647
plugins: "file:$(pwd)/${{ env.PLUGIN_NAME }}.zip"
4748
security-enabled: true
48-
admin-password: ${{ steps.random-password.outputs.generated_name }}
49+
admin-password: ${{ steps.generate-password.outputs.password }}
4950
jdk-version: 21
5051

5152
- name: Run sanity tests
5253
uses: gradle/gradle-build-action@v3
5354
with:
5455
cache-disabled: true
55-
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
56+
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

0 commit comments

Comments
 (0)