Skip to content

Commit 9589857

Browse files
authored
Merge branch 'opensearch-project:main' into nodejs_check
2 parents fd1d2cf + ab99eac commit 9589857

File tree

194 files changed

+2243
-593
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+2243
-593
lines changed

.github/workflows/build_and_test_workflow.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ name: Build and test
77
on:
88
push:
99
branches: [ '**', '!feature/**', '!backport/**' ]
10+
paths-ignore:
11+
- '**/*.md'
1012
pull_request:
1113
branches: [ '**', '!feature/**' ]
14+
paths-ignore:
15+
- '**/*.md'
1216

1317
env:
1418
TEST_BROWSER_HEADLESS: 1
@@ -182,7 +186,7 @@ jobs:
182186
working-directory: ./artifacts
183187
strategy:
184188
matrix:
185-
version: [ osd-2.0.0, osd-2.1.0 ]
189+
version: [ osd-2.0.0, osd-2.1.0, osd-2.2.0 ]
186190
steps:
187191
- name: Checkout code
188192
uses: actions/checkout@v2

bwctest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
set -e
1515

16-
DEFAULT_VERSIONS="osd-2.0.0,osd-2.1.0"
16+
DEFAULT_VERSIONS="osd-2.0.0,osd-2.1.0,osd-2.2.0"
1717

1818
function usage() {
1919
echo ""

config/opensearch_dashboards.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
# This node attribute should assign all nodes of the same cluster an integer value that increments with each new cluster that is spun up
4141
# e.g. in opensearch.yml file you would set the value to a setting using node.attr.cluster_id:
4242
# Should only be enabled if there is a corresponding node attribute created in your OpenSearch config that matches the value here
43-
#opensearch.optimizedHealthcheckId: "cluster_id"
43+
#opensearch.optimizedHealthcheck.id: "cluster_id"
44+
#opensearch.optimizedHealthcheck.filters: {
45+
# attribute_key: "attribute_value",
46+
#}
4447

4548
# If your OpenSearch is protected with basic authentication, these settings provide
4649
# the username and password that the OpenSearch Dashboards server uses to perform maintenance on the OpenSearch Dashboards
16.4 MB
Binary file not shown.
16.4 MB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,4 +457,4 @@
457457
"node": "14.20.0",
458458
"yarn": "^1.21.1"
459459
}
460-
}
460+
}

packages/osd-optimizer/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,20 @@
2626
"dedent": "^0.7.0",
2727
"del": "^5.1.0",
2828
"execa": "^4.0.2",
29+
"fibers": "^5.0.3",
2930
"file-loader": "^4.2.0",
3031
"jest-diff": "^27.5.1",
3132
"js-yaml": "^3.14.0",
3233
"json-stable-stringify": "^1.0.1",
3334
"lmdb-store": "^1.6.11",
3435
"loader-utils": "^1.2.3",
35-
"node-sass": "^6.0.1",
3636
"normalize-path": "^3.0.0",
3737
"pirates": "^4.0.1",
3838
"postcss": "^8.4.5",
3939
"postcss-loader": "^4.2.0",
4040
"raw-loader": "^4.0.2",
4141
"rxjs": "^6.5.5",
42+
"sass": "~1.26.11",
4243
"sass-loader": "^10.2.0",
4344
"source-map-support": "^0.5.19",
4445
"style-loader": "^1.1.3",

packages/osd-optimizer/src/integration_tests/__snapshots__/basic_optimization.test.ts.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/osd-optimizer/src/worker/webpack.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,12 @@ export function getWebpackConfig(bundle: Bundle, bundleRefs: BundleRefs, worker:
176176
)};\n${content}`;
177177
},
178178
webpackImporter: false,
179-
implementation: require('node-sass'),
179+
implementation: require('sass'),
180180
sassOptions: {
181-
outputStyle: 'nested',
181+
outputStyle: 'compressed',
182182
includePaths: [Path.resolve(worker.repoRoot, 'node_modules')],
183183
sourceMapRoot: `/${bundle.type}:${bundle.id}`,
184+
fiber: require('fibers'),
184185
},
185186
},
186187
},

packages/osd-ui-framework/Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* under the License.
2929
*/
3030

31-
const sass = require('node-sass');
31+
const sass = require('sass');
3232
const postcss = require('postcss');
3333
const postcssConfig = require('@osd/optimizer/postcss.config.js');
3434

0 commit comments

Comments
 (0)