Skip to content

Commit e9d71da

Browse files
committed
include gradle test target, update naming
1 parent c9fe62e commit e9d71da

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.buildkite/scripts/run-bc-upgrade-tests.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ fi
3737
CURRENT_VERSION=$(sed -n 's/^elasticsearch[[:space:]]*=[[:space:]]*\(.*\)/\1/p' build-tools-internal/version.properties)
3838

3939
BC_VERSION=$(echo "$MANIFEST" | jq -r .version)
40+
BC_BUILD_ID=$(echo "$MANIFEST" | jq -r .build_id)
4041
BC_COMMIT_HASH=$(echo "$MANIFEST" | jq -r .projects.elasticsearch.commit_hash)
4142

4243
if [ "$CURRENT_VERSION-SNAPSHOT" != "$BC_VERSION" ]; then
@@ -45,12 +46,12 @@ if [ "$CURRENT_VERSION-SNAPSHOT" != "$BC_VERSION" ]; then
4546
exit 0
4647
fi
4748

48-
echo "Running BC upgrade tests on version [$BC_VERSION] using BC (or snapshot) build of commit [$BC_COMMIT_HASH]."
49+
echo "Running BC upgrade tests on $BUILDKITE_BRANCH [$BC_VERSION] using BC (or snapshot) build of commit [$BC_COMMIT_HASH] with build id [$BC_BUILD_ID]."
4950

5051
cat <<EOF | buildkite-agent pipeline upload
5152
steps:
52-
- label: $BUILDKITE_BRANCH / bc-bwc
53-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-file-fingerprints -Dtests.bwc.main.version=${BC_VERSION} -Dtests.bwc.refspec.main=${BC_COMMIT_HASH} -Dtests.jvm.argline=\"-Des.serverless_transport=true\"
53+
- label: bc-upgrade $BC_BUILD_ID -> $BUILDKITE_BRANCH
54+
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dorg.elasticsearch.build.cache.push=true -Dignore.tests.seed -Dscan.capture-file-fingerprints -Dtests.bwc.main.version=${BC_VERSION} -Dtests.bwc.refspec.main=${BC_COMMIT_HASH} bcUpgradeTest -Dtests.jvm.argline=\"-Des.serverless_transport=true\"
5455
timeout_in_minutes: 300
5556
agents:
5657
provider: gcp

0 commit comments

Comments
 (0)