From b0ee09bd076eaab5643cfedfab1051be5ed9ba96 Mon Sep 17 00:00:00 2001 From: suzhou Date: Wed, 31 May 2023 11:50:00 +0800 Subject: [PATCH] Fix CI on Node.js v18 (#785) * Use noloop host Signed-off-by: suzhou * feat: update release-notes Signed-off-by: suzhou --------- Signed-off-by: suzhou --- .github/workflows/cypress-workflow.yml | 2 +- ...-index-management-dashboards-plugin.release-notes-2.8.0.0.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 220b418d6..dfd61c854 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -69,7 +69,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" & sleep 420 # in main branch, OSD server requires more time to bundle and bootstrap # timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done' diff --git a/release-notes/opensearch-index-management-dashboards-plugin.release-notes-2.8.0.0.md b/release-notes/opensearch-index-management-dashboards-plugin.release-notes-2.8.0.0.md index a8dde085b..a4be59e34 100644 --- a/release-notes/opensearch-index-management-dashboards-plugin.release-notes-2.8.0.0.md +++ b/release-notes/opensearch-index-management-dashboards-plugin.release-notes-2.8.0.0.md @@ -15,6 +15,7 @@ Compatible with OpenSearch 2.8.0 ### Maintenance * Bumped version to 2.8. ([#721](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/721)) +* Fix CI on Node.js v18. ([#785](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/785)) ### Documentation * 2.8 release note ([#765](https://github.com/opensearch-project/index-management-dashboards-plugin/pull/765))