Skip to content

Commit 9923a87

Browse files
authored
Remove BWC testing of snapshot 6.8 versions (#104226)
1 parent f82944c commit 9923a87

File tree

12 files changed

+12
-128
lines changed

12 files changed

+12
-128
lines changed

.buildkite/pipelines/intake.template.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,6 @@ steps:
2424
image: family/elasticsearch-ubuntu-2004
2525
machineType: n1-standard-32
2626
buildDirectory: /dev/shm/bk
27-
- group: bwc-snapshots
28-
steps:
29-
- label: "{{matrix.BWC_VERSION}} / bwc-snapshots"
30-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-task-input-files v$$BWC_VERSION#bwcTest
31-
timeout_in_minutes: 300
32-
matrix:
33-
setup:
34-
BWC_VERSION: $BWC_LIST
35-
agents:
36-
provider: gcp
37-
image: family/elasticsearch-ubuntu-2004
38-
machineType: custom-32-98304
39-
buildDirectory: /dev/shm/bk
40-
env:
41-
BWC_VERSION: "{{matrix.BWC_VERSION}}"
4227
- wait
4328
- trigger: elasticsearch-dra-workflow
4429
label: Trigger DRA snapshot workflow

.buildkite/pipelines/intake.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,6 @@ steps:
2525
image: family/elasticsearch-ubuntu-2004
2626
machineType: n1-standard-32
2727
buildDirectory: /dev/shm/bk
28-
- group: bwc-snapshots
29-
steps:
30-
- label: "{{matrix.BWC_VERSION}} / bwc-snapshots"
31-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-task-input-files v$$BWC_VERSION#bwcTest
32-
timeout_in_minutes: 300
33-
matrix:
34-
setup:
35-
BWC_VERSION: ["6.8.24"]
36-
agents:
37-
provider: gcp
38-
image: family/elasticsearch-ubuntu-2004
39-
machineType: custom-32-98304
40-
buildDirectory: /dev/shm/bk
41-
env:
42-
BWC_VERSION: "{{matrix.BWC_VERSION}}"
4328
- wait
4429
- trigger: elasticsearch-dra-workflow
4530
label: Trigger DRA snapshot workflow

.buildkite/pipelines/periodic-packaging.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -896,22 +896,6 @@ steps:
896896
env:
897897
BWC_VERSION: 6.8.23
898898

899-
- label: "{{matrix.image}} / 6.8.24 / packaging-tests-upgrade"
900-
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v6.8.24
901-
timeout_in_minutes: 300
902-
matrix:
903-
setup:
904-
image:
905-
- rocky-8
906-
- ubuntu-2004
907-
agents:
908-
provider: gcp
909-
image: family/elasticsearch-{{matrix.image}}
910-
machineType: custom-16-32768
911-
buildDirectory: /dev/shm/bk
912-
env:
913-
BWC_VERSION: 6.8.24
914-
915899
- label: "{{matrix.image}} / 7.0.0 / packaging-tests-upgrade"
916900
command: ./.ci/scripts/packaging-test.sh -Dbwc.checkout.align=true destructiveDistroUpgradeTest.v7.0.0
917901
timeout_in_minutes: 300

.buildkite/pipelines/periodic.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -542,16 +542,6 @@ steps:
542542
buildDirectory: /dev/shm/bk
543543
env:
544544
BWC_VERSION: 6.8.23
545-
- label: 6.8.24 / bwc
546-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v6.8.24#bwcTest
547-
timeout_in_minutes: 300
548-
agents:
549-
provider: gcp
550-
image: family/elasticsearch-ubuntu-2004
551-
machineType: n1-standard-32
552-
buildDirectory: /dev/shm/bk
553-
env:
554-
BWC_VERSION: 6.8.24
555545
- label: 7.0.0 / bwc
556546
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true v7.0.0#bwcTest
557547
timeout_in_minutes: 300

.buildkite/pipelines/pull-request/bwc-snapshots-windows.yml

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

.buildkite/pipelines/pull-request/bwc-snapshots.yml

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

.ci/bwcVersions

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ BWC_VERSION:
5353
- "6.8.21"
5454
- "6.8.22"
5555
- "6.8.23"
56-
- "6.8.24"
5756
- "7.0.0"
5857
- "7.0.1"
5958
- "7.1.0"

.ci/snapshotBwcVersions

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
BWC_VERSION:
2-
- "6.8.24"

build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -249,17 +249,6 @@ public List<Version> getUnreleased() {
249249
// The current version is being worked, is always unreleased
250250
unreleased.add(currentVersion);
251251

252-
// the tip of the previous major is unreleased for sure, be it a minor or a bugfix
253-
final Version latestOfPreviousMajor = getLatestVersionByKey(this.groupByMajor, currentVersion.getMajor() - 1);
254-
unreleased.add(latestOfPreviousMajor);
255-
if (latestOfPreviousMajor.getRevision() == 0) {
256-
// if the previous major is a x.y.0 release, then the tip of the minor before that (y-1) is also unreleased
257-
final Version previousMinor = getLatestInMinor(latestOfPreviousMajor.getMajor(), latestOfPreviousMajor.getMinor() - 1);
258-
if (previousMinor != null) {
259-
unreleased.add(previousMinor);
260-
}
261-
}
262-
263252
final Map<Integer, List<Version>> groupByMinor = getReleasedMajorGroupedByMinor();
264253
int greatestMinor = groupByMinor.keySet().stream().max(Integer::compareTo).orElse(0);
265254

server/src/main/java/org/elasticsearch/Version.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ public class Version implements Comparable<Version>, ToXContentFragment {
109109
public static final Version V_6_8_21 = new Version(6_08_21_99, LUCENE_7_7_3);
110110
public static final Version V_6_8_22 = new Version(6_08_22_99, LUCENE_7_7_3);
111111
public static final Version V_6_8_23 = new Version(6_08_23_99, LUCENE_7_7_3);
112-
public static final Version V_6_8_24 = new Version(6_08_24_99, LUCENE_7_7_3);
113112
public static final Version V_7_0_0 = new Version(7_00_00_99, org.apache.lucene.util.Version.LUCENE_8_0_0);
114113
public static final Version V_7_0_1 = new Version(7_00_01_99, org.apache.lucene.util.Version.LUCENE_8_0_0);
115114
public static final Version V_7_1_0 = new Version(7_01_00_99, org.apache.lucene.util.Version.LUCENE_8_0_0);

0 commit comments

Comments
 (0)