mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
Avoid building docker images when running precommit task (#45211)
This commit is contained in:
parent
422aca9a5d
commit
bb7f46da62
@ -128,15 +128,15 @@ processTestResources {
|
|||||||
from project(':x-pack:plugin:core')
|
from project(':x-pack:plugin:core')
|
||||||
.file('src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks')
|
.file('src/test/resources/org/elasticsearch/xpack/security/transport/ssl/certs/simple/testnode.jks')
|
||||||
dependsOn configurations.restSpec
|
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) {
|
task integTest(type: Test) {
|
||||||
maxParallelForks = '1'
|
maxParallelForks = '1'
|
||||||
include '**/*IT.class'
|
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
|
check.dependsOn integTest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user