Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
ac43b08
Initial commit
aa-stripe Oct 9, 2018
c460e49
ci: disable bazel remote cache (#4561)
lizan Sep 29, 2018
cd5490d
fix link (#4565)
ramaraochavali Sep 29, 2018
e34714e
fix dead link (#4564)
hzxuzhonghu Sep 29, 2018
fa5d9a2
route match: Add runtime_fraction field for more granular routing (#4…
Sep 30, 2018
948bc9b
router: disallow :-prefixed custom header removal. (#4576)
htuch Oct 1, 2018
273a421
stats: Don't expect vec.front() to be predictable when populated from…
jmarantz Oct 1, 2018
4f992b4
http: fixing a watermark bug (#4553)
alyssawilk Oct 2, 2018
eaba099
Revert aa9478f06d613cd7b845e609a8c20c1ce116dad5 (#4581)
junr03 Oct 2, 2018
e2229e5
Extend inventory_impl() to support overriding the repository location…
georgi-d Oct 2, 2018
dd0053b
shadow: fix crash when shadow cluster does not exist (#4582)
mattklein123 Oct 2, 2018
bc2f4b9
upstream: ensure rounded priority load assigned to healthy priority (…
snowp Oct 2, 2018
2fa0a84
stats: DogStatsd sink supports custom metric name prefix (#4506)
taiki45 Oct 3, 2018
b05acc8
tracing: Configure tracer from v2 proto configuration (#4518)
objectiser Oct 3, 2018
ffd7b57
time: Use simulated time in tests, rather than MockTimeSystem, except…
jmarantz Oct 3, 2018
1fc34ff
doc: add doc for Jwt_authn filter (#4527)
qiwzhang Oct 3, 2018
046c512
docs: add retry plugin arch docs and remove not-implemented-hide (#4592)
snowp Oct 3, 2018
f9ce2a0
retry extensions: implement "other priority" extension (#4529)
snowp Oct 4, 2018
3164e9b
build: support macOS 10.14 (#4594)
lizan Oct 4, 2018
1628bdd
upstream: make sure all_hosts_ is updated correctly (#4575)
dio Oct 4, 2018
14aed77
network: reintroduce #4382 (delayed conn close) with segv fix (#4587)
AndresGuedez Oct 4, 2018
a26336d
Moving test filters around (#4596)
alyssawilk Oct 4, 2018
3725351
Update buildifier sha256 in build container. (#4598)
ggreenway Oct 4, 2018
ae61ea5
1.8.0 version snap (#4601)
mattklein123 Oct 4, 2018
38f6273
bump version to 1.9.0-dev (#4604)
mattklein123 Oct 4, 2018
9cc69e2
Rename RequestInfo to StreamInfo (#4503)
venilnoronha Oct 5, 2018
b2b3e36
Update StreamInfo related documentation (#4609)
venilnoronha Oct 5, 2018
a7497db
docs: add memory proto docs (#4611)
ramaraochavali Oct 5, 2018
d73a4b3
build: remove build dependency of shasum (#4612)
lizan Oct 5, 2018
521421b
simplify metrics service implementation (#4610)
ramaraochavali Oct 5, 2018
e870a01
build: Bump rules_go and protobuf to pick up Windows fixes (#4556)
sesmith177 Oct 5, 2018
cc044b4
build container: remove centos (#4629)
mattklein123 Oct 5, 2018
a07ec27
fault: remove support for integer percentages (#4626)
venilnoronha Oct 5, 2018
9488902
build: add a script to generate compile database (#4595)
lizan Oct 8, 2018
d46a923
stats: add Bootstrap config options for stats filtering (#4498)
ambuc Oct 8, 2018
09bbaa5
Fix Bazel fetch commands by binding python_headers (#4636)
JayH5 Oct 8, 2018
7250857
router: reflect per try timeout in grpc-timeout (#4633)
snowp Oct 8, 2018
ae85016
docs: add an entry to FAQs about circuit breakers (#4641)
venilnoronha Oct 8, 2018
6cde28c
Clusterinfo consistency (#4600)
stevenzzzz Oct 8, 2018
a6cc3e5
router: allow propagating attempt count in header (#4536)
snowp Oct 8, 2018
670eec5
docs: Fix typo (#4649)
perlun Oct 9, 2018
fcb3fd8
docs: Fix typo (#4652)
perlun Oct 9, 2018
07ce4fb
docs: fixing deflaking test tags (#4653)
alyssawilk Oct 9, 2018
90fc310
change integration_admin_test.StatsMatcherIntegrationTest ip version……
stevenzzzz Oct 9, 2018
7b00a31
network: add overload action to stop accepting new network connection…
eziskind Oct 9, 2018
a9ee9de
router: allow configuring retriable error codes (#4597)
snowp Oct 9, 2018
29ebc23
ci: not publish coverage for PRs (#4658)
lizan Oct 9, 2018
a0b4ac1
admin: add support for displaying san in certs end point (#4566)
ramaraochavali Oct 10, 2018
255ed95
ci: use CircleCI 2.1 config (#4562)
lizan Oct 10, 2018
70343a5
docs: Prepend apt-get with sudo (#4665)
perlun Oct 10, 2018
235d259
docs: Lua support is no longer experimental (#4668)
perlun Oct 10, 2018
18b8eb8
ci: install clang-tidy in build image (#4667)
lizan Oct 10, 2018
8195d68
test: correct x-envoy-retry-grpc-on header used in test (#4663)
snowp Oct 10, 2018
e3151ff
router: add grpc-retry-on "internal" policy (#4644)
snowp Oct 10, 2018
c70d827
retry plugins: specify the correct config proto for other_priority (#…
snowp Oct 10, 2018
ac8972d
http: removing whitespace when appending x-forwarded-for headers (#4671)
alyssawilk Oct 10, 2018
ca72aad
Minor fixes, remove a unique_ptr
aa-stripe Oct 9, 2018
1a96d66
Run clang-format on source/common/access_log
aa-stripe Oct 9, 2018
2217aab
Run clang-format on source/extensions/access_loggers/file
aa-stripe Oct 9, 2018
f8d81c1
Run clang-format on test/common/access_log
aa-stripe Oct 9, 2018
06adb14
Run clang-format on test/extensions/access_loggers/file and switch fr…
aa-stripe Oct 9, 2018
728f80b
Run clang-format on include/envoy/access_log
aa-stripe Oct 10, 2018
2ed1a1c
Update exception message in config load
aa-stripe Oct 10, 2018
e382e1f
Switch to using ProtobufWkt
aa-stripe Oct 10, 2018
5a7166d
Fix some format and ProtobufWkt issues
aa-stripe Oct 11, 2018
0ecc495
Adopt RequestInfo -> StreamInfo in the JSON logging code
aa-stripe Oct 11, 2018
4d75f22
More format fixes
aa-stripe Oct 11, 2018
5228fcb
More format fixes
aa-stripe Oct 11, 2018
c8016fe
More format fixes
aa-stripe Oct 11, 2018
a2a6f71
More format fixes - header reordering
aa-stripe Oct 11, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
64 changes: 18 additions & 46 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
references:
envoy-build-image: &envoy-build-image
envoyproxy/envoy-build:faea2a2ebc397b7a3a5e3c877ceaefc5cf4daf25
version: 2.1

executors:
ubuntu-build:
description: "A regular build executor based on ubuntu image"
docker:
- image: envoyproxy/envoy-build:faea2a2ebc397b7a3a5e3c877ceaefc5cf4daf25
resource_class: xlarge
working_directory: /source

version: 2
jobs:
release:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
environment:
BAZEL_REMOTE_CACHE: https://storage.googleapis.com/envoy-circleci-bazel-cache/
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
Expand All @@ -19,12 +19,7 @@ jobs:
- run: ci/docker_push.sh
- run: ci/docker_tag.sh
asan:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
environment:
BAZEL_REMOTE_CACHE: https://storage.googleapis.com/envoy-circleci-bazel-cache/
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- run: echo $CIRCLE_SHA1
Expand All @@ -33,21 +28,13 @@ jobs:
- checkout
- run: ci/do_circle_ci.sh bazel.asan
tsan:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
environment:
BAZEL_REMOTE_CACHE: https://storage.googleapis.com/envoy-circleci-bazel-cache/
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.tsan
api:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
Expand All @@ -57,10 +44,7 @@ jobs:
- "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
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
Expand All @@ -70,15 +54,13 @@ jobs:
- run: ci/filter_example_mirror.sh
ipv6_tests:
machine: true
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:
name: enable ipv6
command: |
cat <<'EOF' | sudo tee /etc/docker/daemon.json
cat \<<'EOF' | sudo tee /etc/docker/daemon.json
{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
Expand All @@ -94,10 +76,7 @@ jobs:
- run: ./ci/do_circle_ci_ipv6_tests.sh

coverage:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
Expand All @@ -106,10 +85,8 @@ jobs:
- store_artifacts:
path: /build/envoy/generated/coverage
format:
docker:
- image: *envoy-build-image
executor: ubuntu-build
resource_class: small
working_directory: /source
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
Expand All @@ -128,10 +105,7 @@ jobs:
- setup_remote_docker
- run: ci/build_container/docker_push.sh
docs:
docker:
- image: *envoy-build-image
resource_class: xlarge
working_directory: /source
executor: ubuntu-build
steps:
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
- checkout
Expand All @@ -145,8 +119,6 @@ jobs:
mac:
macos:
xcode: "9.3.0"
environment:
BAZEL_REMOTE_CACHE: https://storage.googleapis.com/envoy-circleci-bazel-cache/
steps:
- run: sudo ntpdate -vu time.apple.com
- run: rm -rf /home/circleci/project/.git # CircleCI git caching is likely broken
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ BROWSE
/ci/bazel-*
/ci/prebuilt/thirdparty
/ci/prebuilt/thirdparty_build
compile_commands.json
cscope.*
.deps
/docs/landing_source/.bundle
Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TODO(zuercher): determine how we want to deal deal with auto-assignment
# TODO(zuercher): determine how we want to deal with auto-assignment
# By default, @envoyproxy/maintainers own everything.
#* @envoyproxy/maintainers

Expand Down
9 changes: 7 additions & 2 deletions DEPRECATED.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ As of release 1.3.0, Envoy will follow a
The following features have been DEPRECATED and will be removed in the specified release cycle.
A logged warning is expected for each deprecated item that is in deprecation window.

## Version 1.8.0 (pending)
## Version 1.9.0 (pending)

## Version 1.8.0 (Oct 4, 2018)

* Use of the v1 API (including `*.deprecated_v1` fields in the v2 API) is deprecated.
See envoy-announce [email](https://groups.google.com/forum/#!topic/envoy-announce/oPnYMZw8H4U).
Expand All @@ -29,10 +31,13 @@ A logged warning is expected for each deprecated item that is in deprecation win
* Setting hosts via `hosts` field in `Cluster` is deprecated. Use `load_assignment` instead.
* Use of `response_headers_to_*` and `request_headers_to_add` are deprecated at the `RouteAction`
level. Please use the configuration options at the `Route` level.
* Use of `runtime` in `RouteMatch`, found in
[route.proto](https://github.com/envoyproxy/envoy/blob/master/api/envoy/api/v2/route/route.proto).
Set the `runtime_fraction` field instead.
* Use of the string `user` field in `Authenticated` in [rbac.proto](https://github.com/envoyproxy/envoy/blob/master/api/envoy/config/rbac/v2alpha/rbac.proto)
is deprecated in favor of the new `StringMatcher` based `principal_name` field.

## Version 1.7.0
## Version 1.7.0 (Jun 21, 2018)

* Admin mutations should be sent as POSTs rather than GETs. HTTP GETs will result in an error
status code and will not have their intended effect. Prior to 1.7, GETs can be used for
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.0-dev
1.9.0-dev
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
workspace(name = "envoy")

load("//bazel:repositories.bzl", "envoy_dependencies")
load("//bazel:repositories.bzl", "envoy_dependencies", "GO_VERSION")
load("//bazel:cc_configure.bzl", "cc_configure")

envoy_dependencies()
Expand All @@ -11,4 +11,4 @@ api_dependencies()

load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()
go_register_toolchains(go_version = GO_VERSION)
3 changes: 3 additions & 0 deletions api/docs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ package_group(
proto_library(
name = "protos",
deps = [
"//envoy/admin/v2alpha:certs",
"//envoy/admin/v2alpha:clusters",
"//envoy/admin/v2alpha:config_dump",
"//envoy/admin/v2alpha:memory",
"//envoy/api/v2:cds",
"//envoy/api/v2:discovery",
"//envoy/api/v2:eds",
Expand All @@ -36,6 +38,7 @@ proto_library(
"//envoy/config/filter/http/header_to_metadata/v2:header_to_metadata",
"//envoy/config/filter/http/health_check/v2:health_check",
"//envoy/config/filter/http/ip_tagging/v2:ip_tagging",
"//envoy/config/filter/http/jwt_authn/v2alpha:jwt_authn",
"//envoy/config/filter/http/lua/v2:lua",
"//envoy/config/filter/http/rate_limit/v2:rate_limit",
"//envoy/config/filter/http/rbac/v2:rbac",
Expand Down
6 changes: 6 additions & 0 deletions api/envoy/admin/v2alpha/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ api_proto_library_internal(
srcs = ["memory.proto"],
visibility = ["//visibility:public"],
)

api_proto_library_internal(
name = "certs",
srcs = ["certs.proto"],
visibility = ["//visibility:public"],
)
45 changes: 45 additions & 0 deletions api/envoy/admin/v2alpha/certs.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
syntax = "proto3";

package envoy.admin.v2alpha;

// [#protodoc-title: Certificates]

// Proto representation of certificate details. Admin endpoint uses this wrapper for `/certs` to
// display certificate information. See :ref:`/certs <operations_admin_interface_certs>` for more
// information.
message Certificates {
// List of certificates known to an Envoy.
repeated Certificate certificates = 1;
}

message Certificate {

// Details of CA certificate.
repeated CertificateDetails ca_cert = 1;

// Details of Certificate Chain
repeated CertificateDetails cert_chain = 2;
}

message CertificateDetails {
// Path of the certificate.
string path = 1;

// Certificate Serial Number.
string serial_number = 2;

// List of Subject Alternate names.
repeated SubjectAlternateName subject_alt_names = 3;

// Minimum of days until expiration of certificate and it's chain.
uint64 days_until_expiration = 4;
}

message SubjectAlternateName {

// Subject Alternate Name.
oneof name {
string dns = 1;
string uri = 2;
}
}
4 changes: 4 additions & 0 deletions api/envoy/api/v2/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,15 @@ api_proto_library_internal(
visibility = [
":friends",
],
deps = [
"//envoy/type:percent",
],
)

api_go_proto_library(
name = "base",
proto = ":base",
deps = ["//envoy/type:percent_go_proto"],
)

api_proto_library_internal(
Expand Down
12 changes: 12 additions & 0 deletions api/envoy/api/v2/core/base.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import "google/protobuf/wrappers.proto";
import "validate/validate.proto";
import "gogoproto/gogo.proto";

import "envoy/type/percent.proto";

option (gogoproto.equal_all) = true;

// [#protodoc-title: Common types]
Expand Down Expand Up @@ -216,3 +218,13 @@ message SocketOption {
SocketState state = 6
[(validate.rules).message.required = true, (validate.rules).enum.defined_only = true];
}

// Runtime derived FractionalPercent with defaults for when the numerator or denominator is not
// specified via a runtime key.
message RuntimeFractionalPercent {
// Default value if the runtime value's for the numerator/denominator keys are not available.
envoy.type.FractionalPercent default_value = 1 [(validate.rules).message.required = true];

// Runtime key for a YAML representation of a FractionalPercent.
string runtime_key = 2;
}
Loading