public LauncherController(ILogger <LauncherController> logger, NotificationsEnabledDb database,
                           IGeneralRemoteDownloadUrls remoteDownloads)
 {
     this.logger          = logger;
     this.database        = database;
     this.remoteDownloads = remoteDownloads;
 }
Example #2
0
 public DownloadController(ILogger <DownloadController> logger, ApplicationDbContext database,
                           IGeneralRemoteDownloadUrls remoteDownload)
 {
     this.logger         = logger;
     this.database       = database;
     this.remoteDownload = remoteDownload;
 }
Example #3
0
 public RunJobOnServerJob(ILogger <RunJobOnServerJob> logger, IConfiguration configuration,
                          NotificationsEnabledDb database, IControlledServerSSHAccess controlledSSHAccess,
                          IExternalServerSSHAccess externalSSHAccess, IBackgroundJobClient jobClient,
                          IGithubCommitStatusReporter statusReporter, IGeneralRemoteDownloadUrls remoteDownloadUrls,
                          IRemoteResourceHashCalculator hashCalculator) : base(logger,
                                                                               database, jobClient, statusReporter)
 {
     this.configuration       = configuration;
     this.controlledSSHAccess = controlledSSHAccess;
     this.externalSSHAccess   = externalSSHAccess;
     this.remoteDownloadUrls  = remoteDownloadUrls;
     this.hashCalculator      = hashCalculator;
     cleanThreshold           = Convert.ToInt32(configuration["CI:ServerCleanUpDiskUsePercentage"]);
 }