1 | import { GoalInvocation } from "@atomist/sdm";
|
2 | import { SpawnedDeployment } from "@atomist/sdm-core";
|
3 |
|
4 |
|
5 |
|
6 | export interface DockerPerBranchDeployerOptions {
|
7 | |
8 |
|
9 |
|
10 | lowerPort: number;
|
11 | |
12 |
|
13 |
|
14 | successPatterns: RegExp[];
|
15 | |
16 |
|
17 |
|
18 | baseUrl: string;
|
19 | |
20 |
|
21 |
|
22 | sourcePort: number;
|
23 | }
|
24 |
|
25 |
|
26 |
|
27 | export declare class DockerPerBranchDeployer {
|
28 | private readonly options;
|
29 | readonly repoBranchToPort: {
|
30 | [repoAndBranch: string]: number;
|
31 | };
|
32 | private readonly portToContainer;
|
33 | constructor(options: DockerPerBranchDeployerOptions);
|
34 | deployProject(goalInvocation: GoalInvocation): Promise<SpawnedDeployment>;
|
35 | }
|