Skip to content

Commit 7c61e7f

Browse files
authored
Exclude BWC tests in platform support testing matrix (#100643) (#100701)
1 parent 760d5b5 commit 7c61e7f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.buildkite/pipelines/periodic-platform-support.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ steps:
22
- group: platform-support-unix
33
steps:
44
- label: "{{matrix.image}} / platform-support-unix"
5-
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true check
5+
command: .ci/scripts/run-gradle.sh -Dbwc.checkout.align=true platformSupportTests
66
timeout_in_minutes: 420
77
matrix:
88
setup:
@@ -46,7 +46,6 @@ steps:
4646
- checkPart1
4747
- checkPart2
4848
- checkPart3
49-
- bwcTestSnapshots
5049
- checkRestCompat
5150
agents:
5251
provider: gcp
@@ -70,7 +69,6 @@ steps:
7069
- checkPart1
7170
- checkPart2
7271
- checkPart3
73-
- bwcTestSnapshots
7472
- checkRestCompat
7573
agents:
7674
provider: aws

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ if (bwc_tests_enabled == false) {
186186
println "See ${bwc_tests_disabled_issue}"
187187
println "==========================================================="
188188
}
189-
if (project.gradle.startParameter.taskNames.find { it.startsWith("checkPart") } != null) {
190-
// Disable BWC tests for checkPart* tasks as it's expected that this will run un it's own check
189+
if (project.gradle.startParameter.taskNames.any { it.startsWith("checkPart") || it == 'platformSupportTests' }) {
190+
// Disable BWC tests for checkPart* tasks and platform support tests as it's expected that this will run on it's own check
191191
bwc_tests_enabled = false
192192
}
193193

@@ -254,6 +254,8 @@ allprojects {
254254
} else {
255255
tasks.register('checkPart1') { dependsOn 'check' }
256256
}
257+
258+
tasks.register('platformSupportTests') { dependsOn 'check'}
257259
}
258260

259261
/*

0 commit comments

Comments
 (0)