Skip to content

Commit d235576

Browse files
committed
Add a packagingTask for every os project (#48400)
We no longer run the sample tests in CI, so it's safe to create a task for every project. This will make it easier to set them up in a matrix like fashion.
1 parent 30389c6 commit d235576

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

qa/os/build.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,8 @@ processTestResources {
6262
}
6363

6464
subprojects { Project platformProject ->
65-
66-
// TODO: remove this property lookup once CI is switched to use an explicit task for the sample tests
67-
boolean allBoxes = (project.findProperty('vagrant.boxes') ?: '') == 'all'
68-
if (allBoxes || ['centos-7', 'ubuntu-1604'].contains(platformProject.name)) {
69-
tasks.register('packagingTest') {
70-
dependsOn 'distroTest', 'batsTest.oss', 'batsTest.default'
71-
}
65+
tasks.register('packagingTest') {
66+
dependsOn 'distroTest', 'batsTest.oss', 'batsTest.default'
7267
}
7368

7469
vagrant {

0 commit comments

Comments
 (0)