From 1d79a19b3bc00f491837bb0059b455413cd7a020 Mon Sep 17 00:00:00 2001 From: suzhou Date: Wed, 31 May 2023 14:12:41 +0800 Subject: [PATCH] Fix CI on Node.js v18 (#56) (#57) * Fix CI on Node.js v18 Signed-off-by: suzhou * feat: update release notes Signed-off-by: suzhou --------- Signed-off-by: suzhou (cherry picked from commit 6d576e46c425fb2eef5eca6686ed4957fcb6378e) --- .../dashboards-notifications-test-and-build-workflow.yml | 2 +- ...opensearch-dashboards-notifications.release-notes-2.8.0.0.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml index 3f310130..6f1ce6b7 100644 --- a/.github/workflows/dashboards-notifications-test-and-build-workflow.yml +++ b/.github/workflows/dashboards-notifications-test-and-build-workflow.yml @@ -139,7 +139,7 @@ jobs: - name: Run OpenSearch Dashboards server run: | cd OpenSearch-Dashboards - yarn start --no-base-path --no-watch & + yarn start --no-base-path --no-watch --server.host="0.0.0.0" & timeout 400 bash -c 'while [[ "$(curl -s http://localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do echo sleeping 5; sleep 5; done' curl -sk localhost:5601/api/status | jq netstat -anp tcp | grep LISTEN | grep 5601 || netstat -ntlp | grep 5601 diff --git a/release-notes/opensearch-dashboards-notifications.release-notes-2.8.0.0.md b/release-notes/opensearch-dashboards-notifications.release-notes-2.8.0.0.md index d65fbd17..51ed3f9b 100644 --- a/release-notes/opensearch-dashboards-notifications.release-notes-2.8.0.0.md +++ b/release-notes/opensearch-dashboards-notifications.release-notes-2.8.0.0.md @@ -3,7 +3,7 @@ Compatible with OpenSearch Dashboards 2.8.0 ### Maintenance * Bumped version to 2.8. ([#40](https://github.com/opensearch-project/dashboards-notifications/pull/40)) - +* Fix CI on Node.js v18. ([#56](https://github.com/opensearch-project/dashboards-notifications/pull/56)) ### Documentation * Drafted 2.8 release notes. ([#52](https://github.com/opensearch-project/dashboards-notifications/pull/52)) \ No newline at end of file