Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into carlosdelest/ingest-s…
Browse files Browse the repository at this point in the history
…ervice-field-inference

# Conflicts:
#	server/src/main/java/org/elasticsearch/TransportVersions.java
#	server/src/main/java/org/elasticsearch/node/Node.java
  • Loading branch information
carlosdelest committed Oct 27, 2023
2 parents 7862cd1 + 2b058d6 commit 9eb6f65
Show file tree
Hide file tree
Showing 1,759 changed files with 36,927 additions and 25,129 deletions.
2 changes: 1 addition & 1 deletion .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fi

# Initialize the build scan and gobld annotations with empty/open <details> tags
# This ensures that they are collapsible when they get appended to
if [[ "${BUILDKITE_LABEL:-}" == *"Pipeline upload"* ]]; then
if [[ "${BUILDKITE_LABEL:-}" == *"Pipeline upload"* || "${BUILDKITE_LABEL:-}" == *"Upload Pipeline"* ]]; then
cat << EOF | buildkite-agent annotate --context "gradle-build-scans" --style "info"
<details>
Expand Down
6 changes: 3 additions & 3 deletions .buildkite/pipelines/intake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ steps:
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
machineType: custom-32-98304
machineType: n1-standard-32
buildDirectory: /dev/shm/bk
- label: part2
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-task-input-files checkPart2
timeout_in_minutes: 300
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
machineType: custom-32-98304
machineType: n1-standard-32
buildDirectory: /dev/shm/bk
- label: part3
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-task-input-files checkPart3
timeout_in_minutes: 300
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
machineType: custom-32-98304
machineType: n1-standard-32
buildDirectory: /dev/shm/bk
- group: bwc-snapshots
steps:
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/pipelines/periodic.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ steps:
GRADLE_TASK: "{{matrix.GRADLE_TASK}}"
- label: release-tests
command: .buildkite/scripts/release-tests.sh
timeout_in_minutes: 300
timeout_in_minutes: 360
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
Expand Down
6 changes: 3 additions & 3 deletions .buildkite/pipelines/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ steps:
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
machineType: custom-32-98304
machineType: n1-standard-32
buildDirectory: /dev/shm/bk
env:
ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}"
Expand Down Expand Up @@ -1143,14 +1143,14 @@ steps:
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
machineType: custom-32-98304
machineType: n1-standard-32
buildDirectory: /dev/shm/bk
env:
ES_RUNTIME_JAVA: "{{matrix.ES_RUNTIME_JAVA}}"
GRADLE_TASK: "{{matrix.GRADLE_TASK}}"
- label: release-tests
command: .buildkite/scripts/release-tests.sh
timeout_in_minutes: 300
timeout_in_minutes: 360
agents:
provider: gcp
image: family/elasticsearch-ubuntu-2004
Expand Down
6 changes: 0 additions & 6 deletions .ci/jobs.t/elastic+elasticsearch+periodic+bwc-trigger.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .ci/jobs.t/elastic+elasticsearch+periodic+bwc.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
jjbb-template: matrix-gradle-unix.yml
jjbb-template: matrix-gradle-unix-disabled.yml
vars:
- job-name: elastic+elasticsearch+%BRANCH%+periodic+bwc
- job-display-name: "elastic / elasticsearch # %BRANCH% - backwards compatibility matrix"
- job-description: "Testing of the Elasticsearch %BRANCH% branch backwards compatibility matrix.\n"
- matrix-yaml-file: ".ci/bwcVersions"
- matrix-variable: BWC_VERSION
- gradle-args: "-Dbwc.checkout.align=true v$BWC_VERSION#bwcTest"

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
- job:
name: elastic+elasticsearch+%BRANCH%+periodic+concurrent-search-tests
display-name: "elastic / elasticsearch # %BRANCH% - concurrent search tests"
description: "Testing concurrent search enabled for the Elasticsearch %BRANCH% branch.\n"
description: "This job has been migrated to Buildkite.\n"
disabled: true
node: "general-purpose && docker"
builders:
- inject:
Expand Down
6 changes: 0 additions & 6 deletions .ci/jobs.t/elastic+elasticsearch+periodic+ear-trigger.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .ci/jobs.t/elastic+elasticsearch+periodic+ear.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
- job:
name: elastic+elasticsearch+%BRANCH%+periodic+ear
display-name: "elastic / elasticsearch # %BRANCH% - encryption at rest"
description: "The Elasticsearch %BRANCH% branch encryption at rest compatibility tests.\n\n"
description: "This job has been migrated to Buildkite.\n"
disabled: true
node: packaging-large
builders:
- inject:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
name: elastic+elasticsearch+%BRANCH%+periodic+eql-correctness
workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+periodic+eql-correctness
display-name: "elastic / elasticsearch # %BRANCH% - eql correctness tests"
description: "Testing of Elasticsearch %BRANCH% EQL.\n"
description: "This job has been migrated to Buildkite.\n"
disabled: true
builders:
- inject:
properties-file: '.ci/java-versions.properties'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
name: elastic+elasticsearch+%BRANCH%+periodic+example-plugins
workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+periodic+example-plugins
display-name: "elastic / elasticsearch # %BRANCH% - example plugin tests"
description: "Testing of Elasticsearch %BRANCH% example plugins.\n"
description: "This job has been migrated to Buildkite.\n"
disabled: true
builders:
- inject:
properties-file: '.ci/java-versions.properties'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
- 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"
description: "This job has been migrated to Buildkite.\n"
disabled: true
project-type: matrix
child-workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+periodic+java-fips-matrix
node: master
Expand Down

This file was deleted.

3 changes: 2 additions & 1 deletion .ci/jobs.t/elastic+elasticsearch+periodic+java-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
- job:
name: "elastic+elasticsearch+%BRANCH%+periodic+java-matrix"
display-name: "elastic / elasticsearch # %BRANCH% - java compatibility matrix"
description: "Testing of the Elasticsearch %BRANCH% branch java compatibility matrix.\n"
description: "This job has been migrated to Buildkite.\n"
disabled: true
project-type: matrix
child-workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+periodic+java-matrix
node: master
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
- job:
name: elastic+elasticsearch+%BRANCH%+periodic+packaging-tests
display-name: "elastic / elasticsearch # %BRANCH% - packaging tests"
description: "Testing of the Elasticsearch %BRANCH% branch packaging tests.\n"
description: "This job has been migrated to Buildkite.\n"
disabled: true
project-type: multijob
node: master
vault: []
Expand Down

This file was deleted.

3 changes: 2 additions & 1 deletion .ci/jobs.t/elastic+elasticsearch+periodic+release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# Don't use ramdisk since this build generates lots of large artifacts and results in oomkiller issues
# workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+periodic+release-tests
display-name: "elastic / elasticsearch # %BRANCH% - release tests"
description: "Release version tests for the Elasticsearch %BRANCH% branch.\n"
description: "This job has been migrated to Buildkite.\n"
disabled: true
node: "general-purpose && docker"
builders:
- inject:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
- 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"
description: "This job has been migrated to Buildkite.\n"
disabled: true
node: "general-purpose && docker"
builders:
- inject:
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
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"
description: "This job has been migrated to Buildkite.\n"
disabled: true
builders:
- inject:
properties-file: '.ci/java-versions.properties'
Expand Down
32 changes: 32 additions & 0 deletions .ci/templates.t/matrix-gradle-unix-disabled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
- job:
name: "{job-name}"
display-name: "{job-display-name}"
description: "This job has been migrated to Buildkite.\n"
disabled: true
project-type: matrix
child-workspace: /dev/shm/{job-name}
node: master
scm:
- git:
wipe-workspace: false
axes:
- axis:
type: slave
name: nodes
values:
- "general-purpose"
- axis:
type: yaml
filename: "{matrix-yaml-file}"
name: "{matrix-variable}"
builders:
- inject:
properties-file: ".ci/java-versions.properties"
properties-content: |
JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
JAVA11_HOME=$HOME/.java/java11
JAVA16_HOME=$HOME/.java/openjdk16
- shell: |
#!/usr/local/bin/runbld --redirect-stderr
$WORKSPACE/.ci/scripts/run-gradle.sh {gradle-args}
Loading

0 comments on commit 9eb6f65

Please sign in to comment.