Avoid building docker images when running precommit task (#45211)

This commit is contained in:
Mark Vieira 2019-08-06 09:00:25 -07:00
parent 422aca9a5d
commit bb7f46da62
No known key found for this signature in database
GPG Key ID: CA947EF7E6D4B105
1 changed files with 4 additions and 4 deletions

View File

@ -128,15 +128,15 @@ processTestResources {
from project(':x-pack:plugin:core')
.file('src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks')
dependsOn configurations.restSpec
// don't add the tasks to build the docker images if we have no way of testing them
if (TestFixturesPlugin.dockerComposeSupported()) {
dependsOn assemble
}
}
task integTest(type: Test) {
maxParallelForks = '1'
include '**/*IT.class'
// don't add the tasks to build the docker images if we have no way of testing them
if (TestFixturesPlugin.dockerComposeSupported()) {
dependsOn assemble
}
}
check.dependsOn integTest