File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 16
16
runs-on : ${{ matrix.os }}
17
17
18
18
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
21
22
22
23
- name : Set up JDK
23
24
uses : actions/setup-java@v4
@@ -45,11 +46,11 @@ jobs:
45
46
opensearch-version : ${{ env.OPENSEARCH_VERSION }}
46
47
plugins : " file:$(pwd)/${{ env.PLUGIN_NAME }}.zip"
47
48
security-enabled : true
48
- admin-password : ${{ steps.random -password.outputs.generated_name }}
49
+ admin-password : ${{ steps.generate -password.outputs.password }}
49
50
jdk-version : 21
50
51
51
52
- name : Run sanity tests
52
53
uses : gradle/gradle-build-action@v3
53
54
with :
54
55
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
You can’t perform that action at this time.
0 commit comments