Skip to content

Commit 45cb06c

Browse files
Merge branch 'main' into charlotte-remove-example-1289
2 parents 0851933 + 6db05d4 commit 45cb06c

File tree

36 files changed

+425
-282
lines changed

36 files changed

+425
-282
lines changed

.buildkite/pipelines/periodic.template.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,17 @@ steps:
204204
image: family/elasticsearch-ubuntu-2404
205205
machineType: n2-standard-8
206206
buildDirectory: /dev/shm/bk
207+
- label: third-party / ms-graph
208+
command: |
209+
.ci/scripts/run-gradle.sh msGraphThirdPartyTest
210+
env:
211+
USE_3RD_PARTY_MS_GRAPH_CREDENTIALS: "true"
212+
timeout_in_minutes: 30
213+
agents:
214+
provider: gcp
215+
image: family/elasticsearch-ubuntu-2404
216+
machineType: n2-standard-8
217+
buildDirectory: /dev/shm/bk
207218
- group: lucene-compat
208219
steps:
209220
- label: "{{matrix.LUCENE_VERSION}} / lucene-compat"

.buildkite/pipelines/periodic.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,17 @@ steps:
642642
image: family/elasticsearch-ubuntu-2404
643643
machineType: n2-standard-8
644644
buildDirectory: /dev/shm/bk
645+
- label: third-party / ms-graph
646+
command: |
647+
.ci/scripts/run-gradle.sh msGraphThirdPartyTest
648+
env:
649+
USE_3RD_PARTY_MS_GRAPH_CREDENTIALS: "true"
650+
timeout_in_minutes: 30
651+
agents:
652+
provider: gcp
653+
image: family/elasticsearch-ubuntu-2404
654+
machineType: n2-standard-8
655+
buildDirectory: /dev/shm/bk
645656
- group: lucene-compat
646657
steps:
647658
- label: "{{matrix.LUCENE_VERSION}} / lucene-compat"

.buildkite/scripts/third-party-test-credentials.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,23 @@ if [[ "${USE_3RD_PARTY_GCS_CREDENTIALS:-}" == "true" ]]; then
4848
.buildkite/scripts/third-party-test-credentials.gcs.sh "$google_storage_service_account"
4949
fi
5050

51+
if [[ "${USE_3RD_PARTY_MS_GRAPH_CREDENTIALS:-}" == "true" ]]; then
52+
json=$(vault read -format=json secret/ci/elastic-elasticsearch/ms_graph_thirdparty_test_creds)
5153

54+
MS_GRAPH_TENANT_ID=$(echo "$json" | jq -r .data.tenant_id)
55+
export ms_graph_tenant_id="$MS_GRAPH_TENANT_ID"
56+
57+
MS_GRAPH_CLIENT_ID=$(echo "$json" | jq -r .data.client_id)
58+
export ms_graph_client_id="$MS_GRAPH_CLIENT_ID"
59+
60+
MS_GRAPH_CLIENT_SECRET=$(echo "$json" | jq -r .data.client_secret)
61+
export ms_graph_client_secret="$MS_GRAPH_CLIENT_SECRET"
62+
63+
MS_GRAPH_USERNAME=$(echo "$json" | jq -r .data.username)
64+
export ms_graph_username="$MS_GRAPH_USERNAME"
65+
66+
MS_GRAPH_GROUP_ID=$(echo "$json" | jq -r .data.group_id)
67+
export ms_graph_group_id="$MS_GRAPH_GROUP_ID"
68+
fi
5269

5370
unset json

.github/workflows/docs-preview-comment.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

docs/changelog/130452.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 130452
2+
summary: "Aggs: Add cancellation checks to `FilterByFilter` aggregator"
3+
area: Aggregations
4+
type: bug
5+
issues: []

modules/ingest-attachment/src/test/java/org/elasticsearch/ingest/attachment/AttachmentProcessorTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import org.elasticsearch.ingest.Processor;
1616
import org.elasticsearch.ingest.RandomDocumentPicks;
1717
import org.elasticsearch.test.ESTestCase;
18-
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;
1918
import org.junit.Before;
2019

2120
import java.io.InputStream;
@@ -39,7 +38,6 @@
3938
import static org.hamcrest.Matchers.notNullValue;
4039
import static org.hamcrest.Matchers.nullValue;
4140

42-
@WithoutEntitlements // ES-12084
4341
public class AttachmentProcessorTests extends ESTestCase {
4442

4543
private Processor processor;

modules/ingest-attachment/src/test/java/org/elasticsearch/ingest/attachment/TikaDocTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import org.apache.tika.metadata.Metadata;
1515
import org.elasticsearch.core.PathUtils;
1616
import org.elasticsearch.test.ESTestCase;
17-
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;
1817

1918
import java.nio.file.DirectoryStream;
2019
import java.nio.file.Files;
@@ -26,7 +25,6 @@
2625
* comes back and no exception.
2726
*/
2827
@SuppressFileSystems("ExtrasFS") // don't try to parse extraN
29-
@WithoutEntitlements // ES-12084
3028
public class TikaDocTests extends ESTestCase {
3129

3230
/** some test files from tika test suite, zipped up */

modules/ingest-attachment/src/test/java/org/elasticsearch/ingest/attachment/TikaImplTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
package org.elasticsearch.ingest.attachment;
1010

1111
import org.elasticsearch.test.ESTestCase;
12-
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;
1312

14-
@WithoutEntitlements // ES-12084
1513
public class TikaImplTests extends ESTestCase {
1614

1715
public void testTikaLoads() throws Exception {

modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/RegisteredDomainProcessorFactoryTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@
1111

1212
import org.elasticsearch.ElasticsearchParseException;
1313
import org.elasticsearch.test.ESTestCase;
14-
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;
1514
import org.junit.Before;
1615

1716
import java.util.HashMap;
1817
import java.util.Map;
1918

2019
import static org.hamcrest.Matchers.equalTo;
2120

22-
@WithoutEntitlements // ES-12084
2321
public class RegisteredDomainProcessorFactoryTests extends ESTestCase {
2422

2523
private RegisteredDomainProcessor.Factory factory;

modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/RegisteredDomainProcessorTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import org.elasticsearch.ingest.TestIngestDocument;
1414
import org.elasticsearch.ingest.common.RegisteredDomainProcessor.DomainInfo;
1515
import org.elasticsearch.test.ESTestCase;
16-
import org.elasticsearch.test.ESTestCase.WithoutEntitlements;
1716

1817
import java.util.Collections;
1918
import java.util.Map;
@@ -31,7 +30,6 @@
3130
* Effective TLDs (eTLDs) are not the same as DNS TLDs. Uses for eTLDs are listed here:
3231
* https://publicsuffix.org/learn/
3332
*/
34-
@WithoutEntitlements // ES-12084
3533
public class RegisteredDomainProcessorTests extends ESTestCase {
3634

3735
public void testGetRegisteredDomain() {

0 commit comments

Comments
 (0)