fixes broken build for third-party-tests (#32315)
fixes broken build for third-party-tests (#32315) Relates #31918 / Closes infra/issues/6085
This commit is contained in:
parent
a2dbd83db1
commit
46709f1406
|
@ -114,9 +114,7 @@ if (!s3PermanentAccessKey && !s3PermanentSecretKey && !s3PermanentBucket && !s3P
|
||||||
|
|
||||||
useFixture = true
|
useFixture = true
|
||||||
|
|
||||||
} else if (!s3PermanentAccessKey || !s3PermanentSecretKey || !s3PermanentBucket || !s3PermanentBasePath
|
} else if (!s3PermanentAccessKey || !s3PermanentSecretKey || !s3PermanentBucket || !s3PermanentBasePath) {
|
||||||
|| !s3EC2Bucket || !s3EC2BasePath
|
|
||||||
|| !s3ECSBucket || !s3ECSBasePath) {
|
|
||||||
throw new IllegalArgumentException("not all options specified to run against external S3 service")
|
throw new IllegalArgumentException("not all options specified to run against external S3 service")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -349,8 +347,13 @@ processTestResources {
|
||||||
|
|
||||||
project.afterEvaluate {
|
project.afterEvaluate {
|
||||||
if (useFixture == false) {
|
if (useFixture == false) {
|
||||||
// 30_repository_temporary_credentials is not ready for CI yet
|
// temporary_credentials, ec2_credentials and ecs_credentials are not ready for third-party-tests yet
|
||||||
integTestRunner.systemProperty 'tests.rest.blacklist', 'repository_s3/30_repository_temporary_credentials/*'
|
integTestRunner.systemProperty 'tests.rest.blacklist',
|
||||||
|
[
|
||||||
|
'repository_s3/30_repository_temporary_credentials/*',
|
||||||
|
'repository_s3/40_repository_ec2_credentials/*',
|
||||||
|
'repository_s3/50_repository_ecs_credentials/*'
|
||||||
|
].join(",")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue