public SetFinishedCIJobStatusJob(ILogger <SetFinishedCIJobStatusJob> logger, NotificationsEnabledDb database, IBackgroundJobClient jobClient, IGithubCommitStatusReporter statusReporter) : base(logger, database, jobClient, statusReporter) { this.logger = logger; this.database = database; }
public SetCLAGithubCommitStatusJob(ILogger <SetCLAGithubCommitStatusJob> logger, NotificationsEnabledDb database, IGithubCommitStatusReporter statusReporter) { this.logger = logger; this.database = database; this.statusReporter = statusReporter; }
protected BaseCIJobManagingJob(ILogger <BaseCIJobManagingJob> logger, NotificationsEnabledDb database, IBackgroundJobClient jobClient, IGithubCommitStatusReporter statusReporter) { Logger = logger; Database = database; JobClient = jobClient; StatusReporter = statusReporter; }
public CheckAndStartCIBuild(ILogger <CheckAndStartCIBuild> logger, NotificationsEnabledDb database, IBackgroundJobClient jobClient, ILocalTempFileLocks localTempFileLocks, IGithubCommitStatusReporter statusReporter) { this.logger = logger; this.database = database; this.jobClient = jobClient; this.localTempFileLocks = localTempFileLocks; this.statusReporter = statusReporter; }
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"]); }
// TODO: could maybe use own tokens instead of always the one also used for commit status reporting public PostGithubCommentJob(ILogger <PostGithubCommentJob> logger, IGithubCommitStatusReporter githubAPI) { this.logger = logger; this.githubAPI = githubAPI; }