From e0f394ec5762ab44437534e60dfea4db75996bfd Mon Sep 17 00:00:00 2001 From: Tommy Markley Date: Fri, 22 Apr 2022 14:04:35 -0500 Subject: [PATCH 1/3] Bumps Node.js from v14.18.2 to v14.19.1 (#1487) * Addresses multiple CVEs. * CVE-2021-44531 (High) * CVE-2022-21824 (High) * CVE-2022-0778 (High) * CVE-2021-44532 (Medium) * CVE-2021-44533 (Medium) * [CHANGELOG](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V14.md#2022-03-17-version-14191-fermium-lts-richardlau) Follow-up from #920 Signed-off-by: Tommy Markley --- .node-version | 2 +- .nvmrc | 2 +- Dockerfile | 2 +- TESTING.md | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.node-version b/.node-version index ed9f5a0aff1d..9ddeebac881c 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -14.18.2 +14.19.1 diff --git a/.nvmrc b/.nvmrc index ed9f5a0aff1d..9ddeebac881c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14.18.2 +14.19.1 diff --git a/Dockerfile b/Dockerfile index 03a248e99c30..a66671fbb654 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG NODE_VERSION=14.18.2 +ARG NODE_VERSION=14.19.1 FROM node:${NODE_VERSION} AS base ENV HOME '.' diff --git a/TESTING.md b/TESTING.md index ccd233848b43..daffd6065dd5 100644 --- a/TESTING.md +++ b/TESTING.md @@ -24,7 +24,7 @@ In general, we recommend four tiers of tests: # Requirements * Install the latest NodeJS, [NPM](https://www.npmjs.com/get-npm) and [Yarn](https://classic.yarnpkg.com/en/docs/install/#mac-stable) - * `nvm install v14.18.2` + * `nvm install v14.19.1` * `npm install -g yarn` # Running tests diff --git a/package.json b/package.json index 4a744cd1a1a3..fddede3e22db 100644 --- a/package.json +++ b/package.json @@ -449,7 +449,7 @@ "zlib": "^1.0.5" }, "engines": { - "node": "14.18.2", + "node": "14.19.1", "yarn": "^1.21.1" } } From 4469d174ad119556357a1fdb4633b8aa62cd59a6 Mon Sep 17 00:00:00 2001 From: Tommy Markley Date: Tue, 26 Apr 2022 13:43:08 -0500 Subject: [PATCH 2/3] Adds code coverage and GitHub Actions badges (#1498) Resolves #1035 Signed-off-by: Tommy Markley --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 7277fc4e276d..aca9b40a7747 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,13 @@ OpenSearch Dashboards is an open source search and analytics visualization. We a Feel free to take a look at what the community has been up to, and then head over to the [Project Board](https://github.com/opensearch-project/OpenSearch-Dashboards/projects) to track release targets, or jump in and [start opening issues](https://github.com/opensearch-project/OpenSearch-Dashboards/issues/new/choose), [set up your development environment](DEVELOPER_GUIDE.md#getting-started), or [start contributing](CONTRIBUTING.md). +## Code Summary + +[![Build and Test][build-and-test-badge]][build-and-test-link] +[![Unit Test Code Coverage][codecov-badge]][codecov-link] +[![Developer Certificate of Origin Check][dco-badge]][dco-link] +[![Link Checker][link-checker-badge]][link-checker-link] + ## Project Resources * [Project Website](https://opensearch.org/) @@ -37,3 +44,12 @@ This project is licensed under the [Apache v2.0 License](LICENSE.txt). ## Copyright Copyright OpenSearch Contributors. See [NOTICE](NOTICE.txt) for details. + +[build-and-test-badge]: https://github.com/opensearch-project/OpenSearch-Dashboards/actions/workflows/build_and_test_workflow.yml/badge.svg +[build-and-test-link]: https://github.com/opensearch-project/OpenSearch-Dashboards/actions/workflows/build_and_test_workflow.yml +[codecov-badge]: https://codecov.io/gh/opensearch-project/OpenSearch-Dashboards/branch/main/graphs/badge.svg +[codecov-link]: https://app.codecov.io/gh/opensearch-project/OpenSearch-Dashboards +[dco-badge]: https://github.com/opensearch-project/OpenSearch-Dashboards/actions/workflows/dco.yml/badge.svg +[dco-link]: https://github.com/opensearch-project/OpenSearch-Dashboards/actions/workflows/dco.yml +[link-checker-badge]: https://github.com/opensearch-project/OpenSearch-Dashboards/actions/workflows/links_checker.yml/badge.svg +[link-checker-link]: https://github.com/opensearch-project/OpenSearch-Dashboards/actions/workflows/links_checker.yml From b30d877cc69473bbf4a86546c172cb4914bd8b3e Mon Sep 17 00:00:00 2001 From: Bishoy Boktor <65934617+boktorbb-amzn@users.noreply.github.com> Date: Tue, 26 Apr 2022 17:23:46 -0700 Subject: [PATCH 3/3] Adds src/test_utils/ and src/core paths to the target clean patterns (#1442) Signed-off-by: Bishoy Boktor --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fddede3e22db..632c5bf42241 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,9 @@ "built_assets", ".eslintcache", ".node_binaries", - "src/plugins/*/target" + "src/plugins/*/target", + "src/core/target", + "src/test_utils/target" ] } },