forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
166 lines (162 loc) · 4.86 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
references:
envoy-build-image: &envoy-build-image
envoyproxy/envoy-build:18cdf0f806b66bef60ee64248352a8b3bc4ace7d
version: 2
jobs:
release:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: ci/do_circle_ci.sh bazel.release
- setup_remote_docker
- run: ci/docker_push.sh
- run: ci/docker_tag.sh
asan:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
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
tsan:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: ci/do_circle_ci.sh bazel.tsan
api:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
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
filter_example_mirror:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
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
ipv6_tests:
machine: true
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run:
name: enable ipv6
command: |
cat <<'EOF' | sudo tee /etc/docker/daemon.json
{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}
EOF
sudo service docker restart
- run: dig go.googlesource.com A go.googlesource.com AAAA # Debug IPv6 network issues
- run: ifconfig
- run: route -A inet -A inet6
- run: curl -v https://go.googlesource.com
- run: curl -6 -v https://go.googlesource.com || true
- run: ./ci/do_circle_ci_ipv6_tests.sh
coverage:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: ci/do_circle_ci.sh bazel.coverage
- run: ci/coverage_publish.sh
- store_artifacts:
path: /build/envoy/generated/coverage
format:
docker:
- image: *envoy-build-image
resource_class: small
working_directory: /source
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: ci/do_circle_ci.sh check_format
build_image:
docker:
- image: circleci/python:2.7
environment:
# See comment in do_circle_ci.sh for why we do this.
NUM_CPUS: 8
resource_class: xlarge
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:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
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
mac:
macos:
xcode: "9.3.0"
steps:
- run: sudo ntpdate -vu time.apple.com
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
- run: ci/mac_ci_setup.sh
- run: ci/mac_ci_steps.sh
workflows:
version: 2
all:
jobs:
- release:
filters:
tags:
only: /^v.*/
- asan
- tsan
- api
- filter_example_mirror
- ipv6_tests
- coverage
- format
- build_image
- docs:
filters:
tags:
only: /^v.*/
- mac