forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into rollup-support-cancel
* main: (1300 commits) update c2id/c2id-server-demo docker image to support ARM (elastic#91144) Allow legacy index settings on legacy indices (elastic#90264) Skip prevoting if single-node discovery (elastic#91255) Chunked encoding for snapshot status API (elastic#90801) Allow different decay values depending on the score function (elastic#91195) Fix handling indexed envelopes crossing the dateline in mvt API (elastic#91105) Ensure cleanups succeed in JoinValidationService (elastic#90601) Add overflow behaviour test for RecyclerBytesStreamOutput (elastic#90638) More actionable error for ancient indices (elastic#91243) Fix APM configuration file delete (elastic#91058) Clean up handshake test class (elastic#90966) Improve H3#hexRing logic and add H3#areNeighborCells method (elastic#91140) Restrict direct use of `ApplicationPrivilege` constructor (elastic#91176) [ML] Allow NLP truncate option to be updated when span is set (elastic#91224) Support multi-intersection for FieldPermissions (elastic#91169) Support intersecting multi-sets of queries with DocumentPermissions (elastic#91151) Ensure TermsEnum action works correctly with API keys (elastic#91170) Fix NPE in auditing authenticationSuccess for non-existing run-as user (elastic#91171) Ensure PKI's delegated_by_realm metadata respect run-as (elastic#91173) [ML] Update API documentation for anomaly score explanation (elastic#91177) ... # Conflicts: # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackClientPlugin.java # x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/downsample/RollupShardIndexer.java # x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/downsample/TransportRollupIndexerAction.java # x-pack/plugin/rollup/src/test/java/org/elasticsearch/xpack/rollup/v2/RollupActionSingleNodeTests.java
- Loading branch information
Showing
5,181 changed files
with
193,362 additions
and
64,742 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
{ | ||
"upstream": "elastic/elasticsearch", | ||
"targetBranchChoices": [ | ||
"master", | ||
"8.3", | ||
"8.2", | ||
"8.1", | ||
"8.0", | ||
"7.17", | ||
"6.8" | ||
], | ||
"targetPRLabels": ["backport"], | ||
"branchLabelMapping": { | ||
"^v8.4.0$": "master", | ||
"^v(\\d+).(\\d+).\\d+(?:-(?:alpha|beta|rc)\\d+)?$": "$1.$2" | ||
"upstream" : "elastic/elasticsearch", | ||
"targetBranchChoices" : [ "main", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "6.8" ], | ||
"targetPRLabels" : [ "backport" ], | ||
"branchLabelMapping" : { | ||
"^v8.6.0$" : "main", | ||
"^v(\\d+).(\\d+).\\d+(?:-(?:alpha|beta|rc)\\d+)?$" : "$1.$2" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
jjbb-template: generic-gradle-unix.yml | ||
vars: | ||
- job-name: elastic+elasticsearch+%BRANCH%+intake+multijob+part3 | ||
- job-display-name: "elastic / elasticsearch # %BRANCH% - intake part 3" | ||
- job-description: Elasticsearch %BRANCH% branch intake check part 3. | ||
- gradle-args: "-Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-task-input-files checkPart3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 41 additions & 8 deletions
49
.ci/jobs.t/elastic+elasticsearch+periodic+java-fips-matrix.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,42 @@ | ||
--- | ||
jjbb-template: matrix-gradle-unix.yml | ||
vars: | ||
- job-name: elastic+elasticsearch+%BRANCH%+periodic+java-fips-matrix | ||
- job-display-name: "elastic / elasticsearch # %BRANCH% - java fips compatibility matrix" | ||
- job-description: "Testing of the Elasticsearch %BRANCH% branch java FIPS compatibility matrix.\n" | ||
- matrix-yaml-file: ".ci/matrix-runtime-javas-fips.yml" | ||
- matrix-variable: ES_RUNTIME_JAVA | ||
- gradle-args: "-Dbwc.checkout.align=true -Dtests.fips.enabled=true check" | ||
- job: | ||
name: "elastic+elasticsearch+%BRANCH%+periodic+java-fips-matrix" | ||
display-name: "elastic / elasticsearch # %BRANCH% - java fips compatibility matrix" | ||
description: "Testing of the Elasticsearch %BRANCH% branch java FIPS compatibility matrix.\n" | ||
project-type: matrix | ||
child-workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+periodic+java-fips-matrix | ||
node: master | ||
scm: | ||
- git: | ||
wipe-workspace: false | ||
axes: | ||
- axis: | ||
type: slave | ||
name: nodes | ||
values: | ||
- "general-purpose" | ||
- axis: | ||
type: yaml | ||
filename: ".ci/matrix-runtime-javas-fips.yml" | ||
name: "ES_RUNTIME_JAVA" | ||
# We shred out these jobs to avoid running out of memory given since we use a ramdisk workspace | ||
- axis: | ||
type: user-defined | ||
name: GRADLE_TASK | ||
values: | ||
- 'checkPart1' | ||
- 'checkPart2' | ||
- 'checkPart3' | ||
- 'bwcTestSnapshots' | ||
- 'checkRestCompat' | ||
builders: | ||
- inject: | ||
properties-file: '.ci/java-versions.properties' | ||
properties-content: | | ||
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA | ||
RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA | ||
JAVA11_HOME=$HOME/.java/java11 | ||
JAVA16_HOME=$HOME/.java/openjdk16 | ||
- shell: | | ||
#!/usr/local/bin/runbld --redirect-stderr | ||
$WORKSPACE/.ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dtests.fips.enabled=true $GRADLE_TASK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
.ci/jobs.t/elastic+elasticsearch+periodic+java-preview-features-trigger.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
jjbb-template: periodic-trigger-lgc.yml | ||
vars: | ||
- periodic-job: elastic+elasticsearch+%BRANCH%+periodic+java-preview-features | ||
- lgc-job: elastic+elasticsearch+%BRANCH%+intake | ||
- cron: "H H/12 * * *" |
38 changes: 38 additions & 0 deletions
38
.ci/jobs.t/elastic+elasticsearch+periodic+java-preview-features.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
- job: | ||
name: "elastic+elasticsearch+%BRANCH%+periodic+java-preview-features" | ||
display-name: "elastic / elasticsearch # %BRANCH% - java preview features" | ||
description: "Testing of the Elasticsearch %BRANCH% branch with java preview features enabled.\n" | ||
project-type: matrix | ||
child-workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+periodic+java-preview-features | ||
node: master | ||
scm: | ||
- git: | ||
wipe-workspace: false | ||
axes: | ||
- axis: | ||
type: slave | ||
name: nodes | ||
values: | ||
- "general-purpose" | ||
# We shred out these jobs to avoid running out of memory given since we use a ramdisk workspace | ||
- axis: | ||
type: user-defined | ||
name: GRADLE_TASK | ||
values: | ||
- 'checkPart1' | ||
- 'checkPart2' | ||
- 'checkPart3' | ||
- 'bwcTestSnapshots' | ||
- 'checkRestCompat' | ||
builders: | ||
- inject: | ||
properties-file: '.ci/java-versions.properties' | ||
properties-content: | | ||
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA | ||
RUNTIME_JAVA_HOME=$HOME/.java/openjdk19 | ||
JAVA11_HOME=$HOME/.java/java11 | ||
JAVA16_HOME=$HOME/.java/openjdk16 | ||
- shell: | | ||
#!/usr/local/bin/runbld --redirect-stderr | ||
$WORKSPACE/.ci/scripts/run-gradle.sh -Dtests.jvm.argline="--enable-preview" -Dbwc.checkout.align=true $GRADLE_TASK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
.ci/jobs.t/elastic+elasticsearch+periodic+single-processor-node-tests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
- job: | ||
name: elastic+elasticsearch+%BRANCH%+periodic+single-processor-node-tests | ||
display-name: "elastic / elasticsearch # %BRANCH% - single processor node tests" | ||
description: "Testing with node.processors set to '1' for the Elasticsearch %BRANCH% branch.\n" | ||
node: "general-purpose && docker" | ||
builders: | ||
- inject: | ||
properties-file: '.ci/java-versions.properties' | ||
properties-content: | | ||
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA | ||
RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA | ||
JAVA11_HOME=$HOME/.java/java11 | ||
- shell: | | ||
#!/usr/local/bin/runbld --redirect-stderr | ||
$WORKSPACE/.ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dtests.configure_test_clusters_with_one_processor=true check |
6 changes: 6 additions & 0 deletions
6
.ci/jobs.t/elastic+elasticsearch+periodic+single-processor-tests-trigger.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
jjbb-template: periodic-trigger-lgc.yml | ||
vars: | ||
- periodic-job: elastic+elasticsearch+%BRANCH%+periodic+single-processor-node-tests | ||
- lgc-job: elastic+elasticsearch+%BRANCH%+intake | ||
- cron: "H H/12 * * *" |
6 changes: 6 additions & 0 deletions
6
.ci/jobs.t/elastic+elasticsearch+periodic+snyk-dependency-monitoring-trigger.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
jjbb-template: periodic-trigger-lgc.yml | ||
vars: | ||
- periodic-job: elastic+elasticsearch+%BRANCH%+snyk-dependency-monitoring | ||
- lgc-job: elastic+elasticsearch+%BRANCH%+intake | ||
- cron: "H H * * *" |
22 changes: 22 additions & 0 deletions
22
.ci/jobs.t/elastic+elasticsearch+periodic+snyk-dependency-monitoring.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
- job: | ||
name: elastic+elasticsearch+%BRANCH%+snyk-dependency-monitoring | ||
workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+snyk-dependency-monitoring | ||
display-name: "elastic / elasticsearch # %BRANCH% - snyk dependency monitoring" | ||
description: "Publishing of the Elasticsearch %BRANCH% dependencies graph to snyk dependency monitoring" | ||
builders: | ||
- inject: | ||
properties-file: '.ci/java-versions.properties' | ||
properties-content: | | ||
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA | ||
RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA | ||
- shell: | | ||
#!/usr/local/bin/runbld --redirect-stderr | ||
set -euo pipefail | ||
set +x | ||
VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id=$VAULT_ROLE_ID secret_id=$VAULT_SECRET_ID) | ||
export VAULT_TOKEN | ||
export SNYK_TOKEN=$(vault read -field=token secret/elasticsearch-ci/snyk) | ||
unset VAULT_TOKEN | ||
set -x | ||
$WORKSPACE/.ci/scripts/run-gradle.sh uploadSnykDependencyGraph |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
.ci/jobs.t/elastic+elasticsearch+pull-request+part-3-fips.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
- job: | ||
name: "elastic+elasticsearch+pull-request+part-3-fips" | ||
display-name: "elastic / elasticsearch - pull request part-3 fips" | ||
description: "Testing of Elasticsearch pull requests - part-3 fips" | ||
workspace: "/dev/shm/elastic+elasticsearch+pull-request+part-3-fips" | ||
scm: | ||
- git: | ||
refspec: "+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" | ||
branches: | ||
- "${ghprbActualCommit}" | ||
triggers: | ||
- github-pull-request: | ||
org-list: | ||
- elastic | ||
allow-whitelist-orgs-as-admins: true | ||
trigger-phrase: '.*run\W+elasticsearch-ci/part-3-fips.*' | ||
github-hooks: true | ||
status-context: elasticsearch-ci/part-3-fips | ||
cancel-builds-on-update: true | ||
black-list-target-branches: | ||
- 6.8 | ||
- 7.17 | ||
excluded-regions: | ||
- ^docs/.* | ||
white-list-labels: | ||
- 'Team:Security' | ||
black-list-labels: | ||
- '>test-mute' | ||
builders: | ||
- inject: | ||
# Use FIPS-specific Java versions | ||
properties-file: '.ci/java-versions-fips.properties' | ||
properties-content: | | ||
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA | ||
RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA | ||
JAVA16_HOME=$HOME/.java/openjdk16 | ||
- shell: | | ||
#!/usr/local/bin/runbld --redirect-stderr | ||
$WORKSPACE/.ci/scripts/run-gradle.sh -Dignore.tests.seed -Dtests.fips.enabled=true checkPart3 |
Oops, something went wrong.