Skip to content

Commit

Permalink
Exclude BWC tests in platform support testing matrix (#100643) (#100702)
Browse files Browse the repository at this point in the history
# Conflicts:
#	.buildkite/pipelines/periodic-platform-support.yml
  • Loading branch information
mark-vieira committed Oct 11, 2023
1 parent ac4022c commit 69e8625
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .buildkite/pipelines/periodic-platform-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ steps:
- group: platform-support-unix
steps:
- label: "{{matrix.image}} / platform-support-unix"
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true check
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true platformSupportTests
timeout_in_minutes: 420
matrix:
setup:
Expand Down Expand Up @@ -45,7 +45,6 @@ steps:
GRADLE_TASK:
- checkPart1
- checkPart2
- bwcTestSnapshots
agents:
provider: gcp
image: family/elasticsearch-{{matrix.image}}
Expand All @@ -57,7 +56,7 @@ steps:
- group: platform-support-arm
steps:
- label: "{{matrix.image}} / platform-support-arm"
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true check
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true platformSupportTests
timeout_in_minutes: 420
matrix:
setup:
Expand Down
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ if (bwc_tests_enabled == false) {
println "See ${bwc_tests_disabled_issue}"
println "==========================================================="
}
if (project.gradle.startParameter.taskNames.find { it.startsWith("checkPart") } != null) {
// Disable BWC tests for checkPart* tasks as it's expected that this will run un it's own check
if (project.gradle.startParameter.taskNames.any { it.startsWith("checkPart") || it == 'platformSupportTests' }) {
// Disable BWC tests for checkPart* tasks and platform support tests as it's expected that this will run on it's own check
bwc_tests_enabled = false
}

Expand Down Expand Up @@ -249,6 +249,8 @@ allprojects {
for (String taskname : tasknames) {
project.tasks.named(taskname).configure { enabled = false }
}

tasks.register('platformSupportTests') { dependsOn 'check'}
}

/*
Expand Down

0 comments on commit 69e8625

Please sign in to comment.