Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
ref: ${{ github.event.inputs.branch }}
- uses: actions/setup-node@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
ref: main
- uses: actions/setup-node@v4
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
src-only: "${{ steps.changes.outputs.src-only }}"
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: dorny/paths-filter/@v3.0.2
id: changes
with:
Expand All @@ -33,6 +35,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
Expand All @@ -57,6 +61,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down Expand Up @@ -85,6 +91,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Use Bun
uses: oven-sh/setup-bun@v2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"zx": "^7.2.2"
},
"dependencies": {
"@elastic/transport": "^8.8.1",
"@elastic/transport": "^8.9.1",
"tslib": "^2.5.0"
},
"tap": {
Expand Down
23 changes: 11 additions & 12 deletions test/integration/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,8 @@ const skips = {
// TODO: expects {"outlier_detection.auc_roc.value":0.99995}, gets {"outlier_detection.auc_roc.value":0.5}
// remove if/when https://github.com/elastic/elasticsearch-clients-tests/issues/37 is resolved
'machine_learning/data_frame_evaluate.yml': ['*'],
// TODO: wait_for_active_shards and rollover with conditions are not supported on serverless
// see https://github.com/elastic/elasticsearch-clients-tests/issues/55
'indices/rollover.yml': ['*'],
// TODO: test runner needs to support ignoring 410 errors
'indices/data_lifecycle.yml': ['*'],
// TODO: Cannot perform requested action because job [job-crud-test-apis] is not open
'machine_learning/jobs_crud.yml': ['*'],
// TODO: test runner needs to support ignoring 410 errors
'enrich/10_basic.yml': ['*'],
// TODO: parameter `enabled` is not allowed in source
Expand All @@ -71,18 +68,20 @@ const skips = {
// TODO: expecting `ct_field` field mapping to be returned, but instead only finds `field`
'indices/simulate_template.yml': ['*'],
'indices/simulate_index_template.yml': ['*'],
// TODO: enable this test after connector API is included in client generation
'entsearch/20_connector.yml': ['*'],
'entsearch/30_sync_jobs_serverless.yml': ['*'],
'entsearch/30_sync_jobs_stack.yml': ['*'],
'entsearch/40_connector_secret.yml': ['*'],
'entsearch/50_connector_updates.yml': ['*'],
'entsearch/60_connector_updates_stack.yml': ['*'],
// TODO: test currently times out
'inference/10_basic.yml': ['*'],
// TODO: Fix: "Trained model deployment [test_model] is not allocated to any nodes"
'machine_learning/20_trained_model_serverless.yml': ['*'],
// TODO: query_rules api not available yet
'query_rules/10_query_rules.yml': ['*'],
'query_rules/20_rulesets.yml': ['*'],
'query_rules/30_test.yml': ['*'],
// TODO: security.putRole API not available
'security/50_roles_serverless.yml': ['*'],
// TODO: expected undefined to equal 'some_table'
'entsearch/50_connector_updates.yml': ['*'],
// TODO: resource_not_found_exception
'tasks_serverless.yml': ['*'],
}

const shouldSkip = (file, name) => {
Expand Down