Search in sources :

Example 1 with ArtifactManager

use of com.hubspot.singularity.s3.base.ArtifactManager in project Singularity by HubSpot.

the class ArtifactManagerTest method setup.

@Before
public void setup() {
    SingularityRunnerBaseConfiguration baseConfig = new SingularityRunnerBaseConfiguration();
    SingularityS3Configuration s3Config = new SingularityS3Configuration();
    s3Config.setArtifactCacheDirectory(cacheDir.toString());
    artifactManager = new ArtifactManager(baseConfig, s3Config, LoggerFactory.getLogger(ArtifactManagerTest.class), new SingularityRunnerExceptionNotifier(baseConfig));
}
Also used : ArtifactManager(com.hubspot.singularity.s3.base.ArtifactManager) SingularityRunnerExceptionNotifier(com.hubspot.singularity.runner.base.sentry.SingularityRunnerExceptionNotifier) SingularityRunnerBaseConfiguration(com.hubspot.singularity.runner.base.configuration.SingularityRunnerBaseConfiguration) SingularityS3Configuration(com.hubspot.singularity.s3.base.config.SingularityS3Configuration) Before(org.junit.Before)

Aggregations

SingularityRunnerBaseConfiguration (com.hubspot.singularity.runner.base.configuration.SingularityRunnerBaseConfiguration)1 SingularityRunnerExceptionNotifier (com.hubspot.singularity.runner.base.sentry.SingularityRunnerExceptionNotifier)1 ArtifactManager (com.hubspot.singularity.s3.base.ArtifactManager)1 SingularityS3Configuration (com.hubspot.singularity.s3.base.config.SingularityS3Configuration)1 Before (org.junit.Before)1