Skip to content

Commit

Permalink
[CCI] Replace node with scripts/use_node in functional tests (#3783
Browse files Browse the repository at this point in the history
…) (#3970)

* Replace node with scripts/use_node (#3719)

Co-authored-by: Sergey Myssak <sergey.myssak@gmail.com>
Signed-off-by: Andrey Myssak <andreymyssak@gmail.com>

* Update CHANGELOG.md (#3719)

Co-authored-by: Sergey Myssak <sergey.myssak@gmail.com>
Signed-off-by: Andrey Myssak <andreymyssak@gmail.com>

---------

Signed-off-by: Andrey Myssak <andreymyssak@gmail.com>
Co-authored-by: Sergey Myssak <sergey.myssak@gmail.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
(cherry picked from commit 8f890e9)

Co-authored-by: Andrey Myssak <40265277+andreymyssak@users.noreply.github.com>
(cherry picked from commit 501ba8a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and andreymyssak committed May 11, 2023
1 parent 1253c47 commit 029db43
Show file tree
Hide file tree
Showing 21 changed files with 57 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"@elastic/eui": "29.3.2",
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/app_link_test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/core_app_status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/core_plugin_a/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/core_plugin_b/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/data_search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
17 changes: 17 additions & 0 deletions test/plugin_functional/plugins/doc_views_links_plugin/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "docViewLinksPlugin",
"version": "1.0.0",
"main": "target/test/plugin_functional/plugins/doc_views_links_plugin",
"opensearchDashboards": {
"version": "opensearchDashboards",
"templateVersion": "1.0.0"
},
"license": "Apache-2.0",
"scripts": {
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
}
}
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/doc_views_plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/index_patterns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"@elastic/eui": "29.3.2",
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/osd_top_nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"@elastic/eui": "29.3.2",
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/rendering_plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down

0 comments on commit 029db43

Please sign in to comment.