Skip to content

Commit b1d93a5

Browse files
Clear the contents of opensearch_dashboards prior to putting settings (#1780) (#1781)
(cherry picked from commit ab2b85c) Co-authored-by: Derek Ho <dxho@amazon.com>
1 parent 099f7a2 commit b1d93a5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/cypress-test-tenancy-disabled.yml

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
- name: Configure and Run OpenSearch Dashboards with Cypress Test Cases
6161
run: |
6262
cd ./OpenSearch-Dashboards
63+
> ./config/opensearch_dashboards.yml # Clear the file
6364
echo 'server.host: "0.0.0.0"' >> ./config/opensearch_dashboards.yml
6465
echo 'opensearch.hosts: ["https://localhost:9200"]' >> ./config/opensearch_dashboards.yml
6566
echo 'opensearch.ssl.verificationMode: none' >> ./config/opensearch_dashboards.yml

.github/workflows/cypress-test.yml

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
- name: Configure and Run OpenSearch Dashboards with Cypress Test Cases
6161
run: |
6262
cd ./OpenSearch-Dashboards
63+
> ./config/opensearch_dashboards.yml # Clear the file
6364
echo 'server.host: "0.0.0.0"' >> ./config/opensearch_dashboards.yml
6465
echo 'opensearch.hosts: ["https://localhost:9200"]' >> ./config/opensearch_dashboards.yml
6566
echo 'opensearch.ssl.verificationMode: none' >> ./config/opensearch_dashboards.yml

0 commit comments

Comments
 (0)