tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IRemoteDeploymentManager.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.Threading;
4using System.Threading.Tasks;
5
8
10{
15 {
23 ValueTask StartDeployment(
24 Api.Models.Internal.IGitRemoteInformation remoteInformation,
25 CompileJob compileJob,
26 CancellationToken cancellationToken);
27
35 ValueTask StageDeployment(
36 CompileJob compileJob,
37 Action<bool>? activationCallback,
38 CancellationToken cancellationToken);
39
46 ValueTask ApplyDeployment(CompileJob compileJob, CancellationToken cancellationToken);
47
55 ValueTask FailDeployment(CompileJob compileJob, string errorMessage, CancellationToken cancellationToken);
56
63 ValueTask MarkInactive(CompileJob compileJob, CancellationToken cancellationToken);
64
76 CompileJob compileJob,
77 RevisionInformation? previousRevisionInformation,
78 RepositorySettings repositorySettings,
79 string? repoOwner,
80 string? repoName,
81 CancellationToken cancellationToken);
82
91 ValueTask<IReadOnlyCollection<TestMerge>> RemoveMergedTestMerges(
92 IRepository repository,
93 RepositorySettings repositorySettings,
94 RevisionInformation revisionInformation,
95 CancellationToken cancellationToken);
96 }
97}
ValueTask< IReadOnlyCollection< TestMerge > > RemoveMergedTestMerges(IRepository repository, RepositorySettings repositorySettings, RevisionInformation revisionInformation, CancellationToken cancellationToken)
Get the updated list of TestMerges for an origin merge.
ValueTask ApplyDeployment(CompileJob compileJob, CancellationToken cancellationToken)
Stage a given compileJob 's deployment.
ValueTask PostDeploymentComments(CompileJob compileJob, RevisionInformation? previousRevisionInformation, RepositorySettings repositorySettings, string? repoOwner, string? repoName, CancellationToken cancellationToken)
Post deployment comments to the test merge ticket.
ValueTask StartDeployment(Api.Models.Internal.IGitRemoteInformation remoteInformation, CompileJob compileJob, CancellationToken cancellationToken)
Start a deployment for a given compileJob .
ValueTask FailDeployment(CompileJob compileJob, string errorMessage, CancellationToken cancellationToken)
Fail a deployment for a given compileJob .
ValueTask MarkInactive(CompileJob compileJob, CancellationToken cancellationToken)
Mark the deplotment for a given compileJob as inactive.
ValueTask StageDeployment(CompileJob compileJob, Action< bool >? activationCallback, CancellationToken cancellationToken)
Stage a given compileJob 's deployment.
Represents an on-disk git repository.