forked from google/fuzzbench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage_types.yaml
115 lines (104 loc) · 3.26 KB
/
image_types.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Defines the different types of docker images that FuzzBench uses and their
# dependency graph.
'base-image':
dockerfile: 'docker/base-image/Dockerfile'
context: '.'
tag: 'base-image'
type: 'base'
'dispatcher-image':
depends_on:
- 'base-image'
dockerfile: 'docker/dispatcher-image/Dockerfile'
context: 'docker/dispatcher-image'
tag: 'dispatcher-image'
type: 'dispatcher'
'worker':
depends_on:
- 'base-image'
dockerfile: 'docker/worker/Dockerfile'
context: '.'
tag: 'worker'
type: 'worker'
# TODO: It would be better to call this benchmark builder. But that would be
# confusing because this doesn't involve benchmark-builder/Dockerfile. Rename
# that and then rename this.
'{benchmark}-project-builder':
dockerfile: 'benchmarks/{benchmark}/Dockerfile'
context: 'benchmarks/{benchmark}'
tag: 'builders/benchmark/{benchmark}'
type: 'builder'
'coverage-{benchmark}-builder-intermediate':
build_arg:
- 'parent_image=gcr.io/fuzzbench/builders/benchmark/{benchmark}'
depends_on:
- '{benchmark}-project-builder'
dockerfile: 'fuzzers/coverage/builder.Dockerfile'
context: 'fuzzers/coverage'
tag: 'builders/coverage/{benchmark}-intermediate'
type: 'coverage'
'coverage-{benchmark}-builder':
build_arg:
- 'benchmark={benchmark}'
- 'fuzzer=coverage'
- 'parent_image=gcr.io/fuzzbench/builders/coverage/{benchmark}-intermediate'
depends_on:
- 'coverage-{benchmark}-builder-intermediate'
- 'base-image'
dockerfile: 'docker/benchmark-builder/Dockerfile'
context: '.'
tag: 'builders/coverage/{benchmark}'
type: 'coverage'
'{fuzzer}-{benchmark}-builder-intermediate':
build_arg:
- 'parent_image=gcr.io/fuzzbench/builders/benchmark/{benchmark}'
depends_on:
- '{benchmark}-project-builder'
dockerfile: 'fuzzers/{fuzzer}/builder.Dockerfile'
context: 'fuzzers/{fuzzer}'
tag: 'builders/{fuzzer}/{benchmark}-intermediate'
type: 'builder'
'{fuzzer}-{benchmark}-builder-debug':
build_arg:
- 'debug_builder=1'
- 'benchmark={benchmark}'
- 'fuzzer={fuzzer}'
- 'parent_image=gcr.io/fuzzbench/builders/{fuzzer}/{benchmark}-intermediate'
depends_on:
- '{fuzzer}-{benchmark}-builder-intermediate'
- 'base-image'
dockerfile: 'docker/benchmark-builder/Dockerfile'
context: '.'
tag: 'builders/{fuzzer}/{benchmark}'
type: 'builder'
'{fuzzer}-{benchmark}-builder':
build_arg:
- 'benchmark={benchmark}'
- 'fuzzer={fuzzer}'
- 'parent_image=gcr.io/fuzzbench/builders/{fuzzer}/{benchmark}-intermediate'
depends_on:
- '{fuzzer}-{benchmark}-builder-intermediate'
- 'base-image'
dockerfile: 'docker/benchmark-builder/Dockerfile'
context: '.'
tag: 'builders/{fuzzer}/{benchmark}'
type: 'builder'
'{fuzzer}-{benchmark}-intermediate-runner':
depends_on:
- '{fuzzer}-{benchmark}-builder'
- 'base-image'
dockerfile: 'fuzzers/{fuzzer}/runner.Dockerfile'
context: 'fuzzers/{fuzzer}'
tag: 'runners/{fuzzer}/{benchmark}-intermediate'
type: 'runner'
'{fuzzer}-{benchmark}-runner':
benchmark: '{benchmark}'
build_arg:
- 'benchmark={benchmark}'
- 'fuzzer={fuzzer}'
depends_on:
- '{fuzzer}-{benchmark}-intermediate-runner'
dockerfile: 'docker/benchmark-runner/Dockerfile'
fuzzer: '{fuzzer}'
context: '.'
tag: 'runners/{fuzzer}/{benchmark}'
type: 'runner'