Skip to content

Commit ab2b85c

Browse files
authored
Clear the contents of opensearch_dashboards prior to putting settings (#1780)
1 parent 8fd9c00 commit ab2b85c

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)