blob: eb22afd38f4b79d3d71d769cca620e68e905952e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
import { Job, JobArgT } from '.';
export interface FetchCodeJobProps extends JobArgT {
readonly remoteUrl: string;
readonly checkout: string;
readonly path: string;
}
export interface FetchCodeJob {
readonly type: 'fetch_code';
readonly arguments: FetchCodeJobProps;
}
export interface BuildDockerImageJobProps extends JobArgT {
readonly registry: string;
readonly namespace: string;
readonly repository: string;
readonly imageTag: string;
readonly context: string;
readonly dockerfile: string;
readonly buildTarget: string;
}
export interface BuildDockerImageJob extends Job {
readonly type: 'build_docker_image.js';
readonly arguments: BuildDockerImageJobProps;
}
export interface AnsiblePlaybookJobProps extends JobArgT {
readonly path: string;
readonly playbooks: string;
}
export interface AnsiblePlaybookJob extends Job {
readonly type: 'ansible_playbook.js';
readonly arguments: AnsiblePlaybookJobProps;
}
export interface CheckoutCiJobProps extends JobArgT {
readonly remote: string;
readonly refname: string;
readonly rev: string;
readonly run: string;
readonly executorLaminarPath: string;
readonly returnPath: string;
}
export interface CheckoutCiJob extends Job {
readonly type: 'checkout_ci.js';
readonly arguments: CheckoutCiJobProps;
}
|