forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
169 lines (162 loc) · 4.98 KB
/
config.yml
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
version: 2.1
executors:
ubuntu-build:
description: "A regular build executor based on ubuntu image"
docker:
# NOTE: Update bazel/toolchains/rbe_toolchains_config.bzl with sha256 digest to match the image here.
- image: envoyproxy/envoy-build:8246167b9d238797cbc6c03dccc9e3921c37617d
resource_class: xlarge
working_directory: /source
jobs:
release:
executor: ubuntu-build
environment:
BAZEL_REMOTE_CACHE: https://storage.googleapis.com/envoy-circleci-bazel-cache/
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run:
command:
ci/do_circle_ci.sh bazel.release
no_output_timeout: 60m
- persist_to_workspace:
root: .
paths:
- build_release
- build_release_stripped
- store_artifacts:
path: /build/envoy/generated
destination: /
docker:
docker:
- image: docker
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- attach_workspace:
at: .
- setup_remote_docker
- run: ci/docker_build.sh
- run: ci/docker_push.sh
- run: ci/docker_tag.sh
asan:
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- run: echo $CIRCLE_SHA1
- run: echo $CIRCLE_PR_NUMBER
- run: curl https://api.github.com/repos/envoyproxy/envoy/pulls/$CIRCLE_PR_NUMBER/commits
- checkout
- run: ci/do_circle_ci.sh bazel.asan
- store_artifacts:
path: /build/envoy/generated
destination: /
compile_time_options:
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: ci/do_circle_ci.sh bazel.compile_time_options
- store_artifacts:
path: /build/envoy/generated
destination: /
api:
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: ci/do_circle_ci.sh bazel.api
- add_ssh_keys:
fingerprints:
- "fb:f3:fe:be:1c:b2:ec:b6:25:f9:7b:a6:87:54:02:8c"
- run: ci/api_mirror.sh
- store_artifacts:
path: /build/envoy/generated
destination: /
filter_example_mirror:
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- add_ssh_keys:
fingerprints:
- "f6:f9:df:90:9c:4b:5f:9c:f4:69:fd:42:94:ff:88:24"
- run: ci/filter_example_mirror.sh
coverage:
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run:
command:
ci/do_circle_ci.sh bazel.coverage
no_output_timeout: 60m
- run: ci/coverage_publish.sh
- store_artifacts:
path: /build/envoy/generated
destination: /
clang_tidy:
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run:
command:
ci/do_circle_ci.sh bazel.clang_tidy
no_output_timeout: 60m
format:
executor: ubuntu-build
resource_class: small
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: pip install -r tools/requirements.txt
- run: ci/do_circle_ci.sh check_format
- run: ci/do_circle_ci.sh check_repositories
- run: ci/do_circle_ci.sh check_spelling
- run: ci/do_circle_ci.sh check_spelling_pedantic
build_image:
docker:
- image: google/cloud-sdk
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- setup_remote_docker
- run: ci/build_container/docker_push.sh
docs:
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: ci/do_circle_ci.sh docs
- add_ssh_keys:
fingerprints:
- "44:c7:a1:9e:f4:9e:a5:33:11:f1:0e:79:e1:55:c9:04"
- run: docs/publish.sh
- store_artifacts:
path: generated/docs
workflows:
version: 2
all:
jobs:
- release:
filters:
tags:
only: /^v.*/
- docker:
requires: [release]
filters:
tags:
only: /^v.*/
- asan
- compile_time_options
- api
- filter_example_mirror
- coverage
- format
- clang_tidy
- build_image
- docs:
filters:
tags:
only: /^v.*/