Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into update-cypress-test…
Browse files Browse the repository at this point in the history
…s-admin-password
  • Loading branch information
DarshitChanpura committed Jan 3, 2024
2 parents 10d9e2e + 9c3ba49 commit 7c80407
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cypress-test-oidc-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
matrix:
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
env:
OPENSEARCH_INITIAL_ADMIN_PASSWORD: admin

steps:
- name: Set up JDK
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/cypress-test-saml-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
matrix:
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
env:
OPENSEARCH_INITIAL_ADMIN_PASSWORD: admin

steps:
- name: Set up JDK
Expand Down Expand Up @@ -58,13 +60,6 @@ jobs:
rm -f opensearch-*.tar.gz
shell: bash

# TODO: REMOVE THIS ONCE ADMIN JAVA TOOL SUPPORT IT
- name: Write password to opensearch_initial_admin_password.txt
if: ${{ runner.os == 'Linux'}}
run:
echo admin >> ./opensearch-${{ env.OPENSEARCH_VERSION }}-SNAPSHOT/config/opensearch_initial_admin_password.txt
shell: bash

# Install the security plugin
- name: Install Plugin into OpenSearch for Linux
if: ${{ runner.os == 'Linux'}}
Expand Down

0 comments on commit 7c80407

Please sign in to comment.