Skip to content

Commit fe5a1bf

Browse files
authored
Merge branch '9.1' into backport/9.1/pr-128667
2 parents 4798c2c + 3bcd9a1 commit fe5a1bf

File tree

45 files changed

+966
-392
lines changed

Some content is hidden

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

45 files changed

+966
-392
lines changed

.buildkite/pipelines/intake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ steps:
6565
timeout_in_minutes: 300
6666
matrix:
6767
setup:
68-
BWC_VERSION: ["8.17.10", "8.18.5", "9.0.5", "9.1.1"]
68+
BWC_VERSION: ["8.17.10", "8.18.5", "8.19.1", "9.0.5", "9.1.1"]
6969
agents:
7070
provider: gcp
7171
image: family/elasticsearch-ubuntu-2404

.buildkite/pipelines/periodic-packaging.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,22 @@ steps:
334334
env:
335335
BWC_VERSION: 8.18.5
336336

337+
- label: "{{matrix.image}} / 8.19.1 / packaging-tests-upgrade"
338+
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v8.19.1
339+
timeout_in_minutes: 300
340+
matrix:
341+
setup:
342+
image:
343+
- rocky-8
344+
- ubuntu-2404
345+
agents:
346+
provider: gcp
347+
image: family/elasticsearch-{{matrix.image}}
348+
machineType: custom-16-32768
349+
buildDirectory: /dev/shm/bk
350+
env:
351+
BWC_VERSION: 8.19.1
352+
337353
- label: "{{matrix.image}} / 9.0.5 / packaging-tests-upgrade"
338354
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v9.0.5
339355
timeout_in_minutes: 300

.buildkite/pipelines/periodic.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,25 @@ steps:
363363
- signal_reason: agent_stop
364364
limit: 3
365365

366+
- label: 8.19.1 / bwc
367+
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v8.19.1#bwcTest
368+
timeout_in_minutes: 300
369+
agents:
370+
provider: gcp
371+
image: family/elasticsearch-ubuntu-2404
372+
machineType: n1-standard-32
373+
buildDirectory: /dev/shm/bk
374+
preemptible: true
375+
env:
376+
BWC_VERSION: 8.19.1
377+
retry:
378+
automatic:
379+
- exit_status: "-1"
380+
limit: 3
381+
signal_reason: none
382+
- signal_reason: agent_stop
383+
limit: 3
384+
366385
- label: 9.0.5 / bwc
367386
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v9.0.5#bwcTest
368387
timeout_in_minutes: 300
@@ -468,7 +487,7 @@ steps:
468487
setup:
469488
ES_RUNTIME_JAVA:
470489
- openjdk21
471-
BWC_VERSION: ["8.17.10", "8.18.5", "9.0.5", "9.1.1"]
490+
BWC_VERSION: ["8.17.10", "8.18.5", "8.19.1", "9.0.5", "9.1.1"]
472491
agents:
473492
provider: gcp
474493
image: family/elasticsearch-ubuntu-2404
@@ -512,7 +531,7 @@ steps:
512531
ES_RUNTIME_JAVA:
513532
- openjdk21
514533
- openjdk23
515-
BWC_VERSION: ["8.17.10", "8.18.5", "9.0.5", "9.1.1"]
534+
BWC_VERSION: ["8.17.10", "8.18.5", "8.19.1", "9.0.5", "9.1.1"]
516535
agents:
517536
provider: gcp
518537
image: family/elasticsearch-ubuntu-2404

.ci/bwcVersions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ BWC_VERSION:
1818
- "8.16.6"
1919
- "8.17.10"
2020
- "8.18.5"
21+
- "8.19.1"
2122
- "9.0.5"
2223
- "9.1.1"

.ci/snapshotBwcVersions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
BWC_VERSION:
22
- "8.17.10"
33
- "8.18.5"
4+
- "8.19.1"
45
- "9.0.5"
56
- "9.1.1"

build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/internal/fake_git/remote/settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ rootProject.name = "root"
1212
include ":distribution:bwc:bugfix"
1313
include ":distribution:bwc:bugfix2"
1414
include ":distribution:bwc:bugfix3"
15+
include ":distribution:bwc:bugfix4"
1516
include ":distribution:bwc:minor"
1617
include ":distribution:bwc:major"
1718
include ":distribution:bwc:staged"

build-tools/src/main/java/org/elasticsearch/gradle/Architecture.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@
1111

1212
public enum Architecture {
1313

14-
X64("x86_64", "linux/amd64"),
15-
AARCH64("aarch64", "linux/arm64");
14+
X64("x86_64", "linux/amd64", "amd64"),
15+
AARCH64("aarch64", "linux/arm64", "arm64");
1616

1717
public final String classifier;
1818
public final String dockerPlatform;
19+
public final String dockerClassifier;
1920

20-
Architecture(String classifier, String dockerPlatform) {
21+
Architecture(String classifier, String dockerPlatform, String dockerClassifier) {
2122
this.classifier = classifier;
2223
this.dockerPlatform = dockerPlatform;
24+
this.dockerClassifier = dockerClassifier;
2325
}
2426

2527
public static Architecture current() {

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ allprojects {
328328
dependsOn ":distribution:bwc:bugfix:buildBwcLinuxTar"
329329
dependsOn ":distribution:bwc:bugfix2:buildBwcLinuxTar"
330330
dependsOn ":distribution:bwc:bugfix3:buildBwcLinuxTar"
331+
dependsOn ":distribution:bwc:bugfix4:buildBwcLinuxTar"
331332
dependsOn ":distribution:bwc:minor:buildBwcLinuxTar"
332333
dependsOn ":distribution:bwc:staged:buildBwcLinuxTar"
333334
dependsOn ":distribution:bwc:staged2:buildBwcLinuxTar"
@@ -366,7 +367,7 @@ allprojects {
366367
}
367368
}
368369
}
369-
370+
370371
proj.tasks.register("bcUpgradeTest$partString") {
371372
dependsOn tasks.matching { it.name == 'bcUpgradeTest' }
372373
withReleaseBuild {

distribution/bwc/bugfix4/build.gradle

Whitespace-only changes.

distribution/docker/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ subprojects { Project subProject ->
659659
it.setCompression(Compression.GZIP)
660660
it.getArchiveBaseName().set("elasticsearch${base.suffix}-${VersionProperties.elasticsearch}-docker-image")
661661
it.getArchiveVersion().set("")
662-
it.getArchiveClassifier().set(architecture == Architecture.AARCH64 ? 'aarch64' : '')
662+
it.getArchiveClassifier().set(architecture.dockerClassifier)
663663
it.getDestinationDirectory().set(new File(project.parent.buildDir, 'distributions'))
664664
it.dependsOn(exportTask)
665665
}

0 commit comments

Comments
 (0)