public LauncherController(ILogger <LauncherController> logger, NotificationsEnabledDb database, IGeneralRemoteDownloadUrls remoteDownloads) { this.logger = logger; this.database = database; this.remoteDownloads = remoteDownloads; }
public DownloadController(ILogger <DownloadController> logger, ApplicationDbContext database, IGeneralRemoteDownloadUrls remoteDownload) { this.logger = logger; this.database = database; this.remoteDownload = remoteDownload; }
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"]); }