Skip to content

Commit 77137b3

Browse files
committed
Rename 8.x branch to 8.19
1 parent ed5e492 commit 77137b3

File tree

7 files changed

+8
-22
lines changed

7 files changed

+8
-22
lines changed

.backportrc.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"upstream" : "elastic/elasticsearch",
3-
"targetBranchChoices" : [ "main", "8.x", "9.0", "8.18", "8.17", "8.16", "8.15", "8.14", "8.13", "8.12", "8.11", "8.10", "8.9", "8.8", "8.7", "8.6", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "6.8" ],
3+
"targetBranchChoices" : [ "main", "9.0", "8.19", "8.18", "8.17", "8.16", "8.15", "8.14", "8.13", "8.12", "8.11", "8.10", "8.9", "8.8", "8.7", "8.6", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "6.8" ],
44
"targetPRLabels" : [ "backport" ],
55
"branchLabelMapping" : {
6-
"^v9.0.0$" : "main",
7-
"^v8.19.0$" : "8.x",
6+
"^v9.1.0$" : "main",
87
"^v(\\d+).(\\d+).\\d+(?:-(?:alpha|beta|rc)\\d+)?$" : "$1.$2"
98
}
109
}

.buildkite/pipelines/periodic.template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ steps:
217217
image: family/elasticsearch-ubuntu-2004
218218
machineType: n2-standard-8
219219
buildDirectory: /dev/shm/bk
220-
if: build.branch == "main" || build.branch == "8.x" || build.branch == "7.17"
220+
if: build.branch == "main" || build.branch == "8.19" || build.branch == "7.17"
221221
- label: check-branch-consistency
222222
command: .ci/scripts/run-gradle.sh branchConsistency
223223
timeout_in_minutes: 15

.buildkite/pipelines/periodic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ steps:
921921
image: family/elasticsearch-ubuntu-2004
922922
machineType: n2-standard-8
923923
buildDirectory: /dev/shm/bk
924-
if: build.branch == "main" || build.branch == "8.x" || build.branch == "7.17"
924+
if: build.branch == "main" || build.branch == "8.19" || build.branch == "7.17"
925925
- label: check-branch-consistency
926926
command: .ci/scripts/run-gradle.sh branchConsistency
927927
timeout_in_minutes: 15

.buildkite/scripts/lucene-snapshot/update-branch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
if [[ "$BUILDKITE_BRANCH" == "lucene_snapshot_10" ]]; then
1111
UPSTREAM="main"
1212
elif [[ "$BUILDKITE_BRANCH" == "lucene_snapshot" ]]; then
13-
UPSTREAM="8.x"
13+
UPSTREAM="8.19"
1414
else
1515
echo "Error: unknown branch: $BUILDKITE_BRANCH"
1616
exit 1

.ci/scripts/resolve-dra-manifest.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ if [ "$LATEST_VERSION" != "$ES_VERSION" ]; then
2424
echo "Latest build for '$ARTIFACT' is version $LATEST_VERSION but expected version $ES_VERSION." 1>&2
2525
NEW_BRANCH=$(echo $ES_VERSION | sed -E "s/([0-9]+\.[0-9]+)\.[0-9]/\1/g")
2626

27-
# Temporary
28-
if [[ "$ES_VERSION" == "8.16.0" ]]; then
29-
NEW_BRANCH="8.x"
30-
fi
31-
3227
echo "Using branch $NEW_BRANCH instead of $BRANCH." 1>&2
3328
LATEST_BUILD=$(fetch_build $WORKFLOW $ARTIFACT $NEW_BRANCH)
3429
fi

branches.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"branch": "9.0"
99
},
1010
{
11-
"branch": "8.18"
11+
"branch": "8.19"
1212
},
1313
{
14-
"branch": "8.17"
14+
"branch": "8.18"
1515
},
1616
{
17-
"branch": "8.x"
17+
"branch": "8.17"
1818
},
1919
{
2020
"branch": "7.17"

build.gradle

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,6 @@ tasks.register("verifyVersions") {
207207
throw new GradleException("No branch choice exists for development branch ${unreleasedVersion.branch} in .backportrc.json.")
208208
}
209209
}
210-
String versionMapping = backportConfig.get("branchLabelMapping").fields().find { it.value.textValue() == '8.x' }.key
211-
String expectedMapping = "^v${versions.elasticsearch.replaceAll('-SNAPSHOT', '')}\$"
212-
if (versionMapping != expectedMapping) {
213-
throw new GradleException(
214-
"Backport label mapping for branch '8.x' is '${versionMapping}' but should be " +
215-
"'${expectedMapping}'. Update .backportrc.json."
216-
)
217-
}
218210
}
219211
}
220212

0 commit comments

Comments
 (0)