Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature : Listener Filter Chain Discovery Service #1

Draft
wants to merge 158 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
466be6c
mobile: moving c++ builder to using structured proto (#25019)
alyssawilk Jan 26, 2023
643d536
mobile: retry launching local bazel server on macOS CI (#25162)
jpsim Jan 26, 2023
ac91620
[balsa] Validate HTTP version string. (#24759)
bencebeky Jan 26, 2023
fbcf1c8
build: Bump image -> `7304f974de2` (take 2) (#25120)
phlax Jan 26, 2023
572cf92
quic: deferred logging of roundtrip response time (#23648)
pksohn Jan 26, 2023
a9110b4
build(deps): bump jinja2 from 3.0.3 to 3.1.2 in /tools/base (#21093)
dependabot[bot] Jan 26, 2023
8a44fd0
Revert "Implement shadow streaming (#24365)" (#25184)
jpsim Jan 26, 2023
c9f85d9
docs: Improve Golang filter proto and config docs (#25101)
phlax Jan 26, 2023
89125fd
cluster: CustomCluster configuration memory optimization (#25077)
DiazAlan Jan 26, 2023
7c2bc02
mobile: run iOS tests locally (#25193)
jpsim Jan 26, 2023
a9eb13e
Add new test to validate multi. part pattern match (#25194)
silverstar194 Jan 27, 2023
da6acfe
http2: deletes the old MetadataEncoder implementation (#25135)
birenroy Jan 27, 2023
c476539
datadog: time_util portion of new tracing library (#25003)
dgoffredo Jan 27, 2023
80135f2
unified-delta-xds: fix map name in state tracking (#25045)
adisuissa Jan 27, 2023
765072a
xds: Make AGGREGATED_DELTA_GRPC set is_aggregated on the Subscription…
abeyad Jan 27, 2023
62dcf23
build(deps): bump github/codeql-action from 2.1.39 to 2.2.0 (#25185)
dependabot[bot] Jan 27, 2023
483ddf5
build(deps): bump node from `ab3603c` to `4619ec6` in /examples/ext_a…
dependabot[bot] Jan 27, 2023
7102521
build(deps): bump google.golang.org/grpc from 1.52.1 to 1.52.3 in /ex…
dependabot[bot] Jan 27, 2023
998c394
build(deps): bump setuptools from 66.1.0 to 66.1.1 in /tools/base (#2…
dependabot[bot] Jan 27, 2023
14f2f69
Enhance local close details (#25173)
KBaichoo Jan 27, 2023
6bb2d25
config: deprecating envoy_reloadable_features_combine_sds_requests (#…
adisuissa Jan 27, 2023
9377f51
repo: Add Golang filter CODEOWNERS (#25183)
phlax Jan 27, 2023
6e5024b
mobile: skip Envoy Mobile CI jobs on PRs targeting release branches (…
jpsim Jan 27, 2023
4f486c1
bazel: Add `mobile` to ignore (#25175)
phlax Jan 27, 2023
a8a39af
use min_len instead of min_bytes for golang.proto. (#25206)
wangfakang Jan 27, 2023
a731864
Listener FCDS: initial feature commit
rakeshdatta Jan 27, 2023
1b92f52
Revert "ci: Temporary workaround for nist DNS failure (#25143)" (#25152)
phlax Jan 27, 2023
2555db5
http2: add fuzzer for decoding connection (#24934)
robertfemmer Jan 27, 2023
32230c0
Upstream config memory optimization (#25080)
DiazAlan Jan 27, 2023
87faa39
modify name to collection_name
rakeshdatta Jan 27, 2023
a9e6031
mobile: adding dns config knobs to C++ builder (#25192)
alyssawilk Jan 27, 2023
6fffa40
Separate TestRandomGenerator from utility_lib (#25050)
ravenblackx Jan 27, 2023
268e1c5
http2: use getStreamUnchecked wherever possible (#24580)
vehre-x41 Jan 27, 2023
236f2eb
kafka: fetch request (#24606)
adamkotwasinski Jan 27, 2023
bc8f0cd
route: set route_ of stream_info_ in UpstreamRequest (#24685)
tony612 Jan 29, 2023
6a9cabe
deps: bump `com_github_grpc_grpc` -> 1.49.2 (#25131)
RiverPhillips Jan 30, 2023
04a1ff9
proto_format: Shift `min_bytes` check (#25212)
phlax Jan 30, 2023
9f1a570
build(deps): bump github/codeql-action from 2.2.0 to 2.2.1 (#25213)
dependabot[bot] Jan 30, 2023
c496715
distribution: Fix binary stripping to reduce deb size (#25145)
phlax Jan 30, 2023
4a3e65d
Release assert `inotify_init1` output (#25210)
davinci26 Jan 30, 2023
938f682
Make round trip time accessible through streaminfo (#24656)
DiazAlan Jan 30, 2023
1ad68d4
python: Remove deprecated `pip_install` (#25229)
phlax Jan 30, 2023
943be53
python: Remove unused dependency requirements.txt (#25230)
phlax Jan 30, 2023
69bfab2
fix: go plugin config parse (#25227)
wangfakang Jan 30, 2023
79ff4e7
go filter extension: check the filter state while invoking C api from…
doujiang24 Jan 30, 2023
0b89c59
Change mobile binary size comparison workflow to use release build (#…
caschoener Jan 30, 2023
d71fc09
lua: new option of http call to skip sending xff (#25235)
Jan 31, 2023
9b6597e
build(deps): bump mysql from `6f54880` to `19b05df` in /examples/mysq…
dependabot[bot] Jan 31, 2023
42329eb
[router] Unrevert streaming shadows (#25207)
paul-r-gall Jan 31, 2023
1f4f960
test: moving most kotlin tests off of using custom config (#25159)
alyssawilk Jan 31, 2023
ce7fe48
mobile: Update python third_party deps (#25240)
phlax Jan 31, 2023
96bbdc1
datadog: dict_util portion of new tracing library (#25020)
dgoffredo Jan 31, 2023
c137a90
build(deps): bump idna from 3.3 to 3.4 in /mobile/docs (#24131)
dependabot[bot] Jan 31, 2023
4b501e8
Add a RequestHeadersBuilder constructor which takes a URL (#24955)
RyanTheOptimist Jan 31, 2023
759f9e6
mobile: cleaning up runWithTemplate APIs (#25188)
alyssawilk Jan 31, 2023
17aeeb1
kotlin: more test clean up (#25266)
alyssawilk Jan 31, 2023
ea46177
Update comment re: QUIC network filters (#25268)
pksohn Feb 1, 2023
babac9d
Move to helpers, off of security and maintainers (#25274)
wrowe Feb 1, 2023
7cc8932
tests: deflake temporary file creation (#25276)
kyessenov Feb 1, 2023
7f0906a
docs: Golang filter requires disabling cgocheck. (#25222)
doujiang24 Feb 1, 2023
ce67342
build(deps): bump setuptools from 66.1.1 to 67.0.0 in /tools/base (#2…
dependabot[bot] Feb 1, 2023
1f91c5b
dev: add ENVOY_DOCKER_SKIP_PULL to skip docker pull (#25241)
spacewander Feb 1, 2023
3b1ebb3
Quiche roll 20230130190834 (#25270)
danzh2010 Feb 1, 2023
0981561
mobile: finishing C++ proto builder and making it default (#25259)
alyssawilk Feb 1, 2023
9a2c13e
deps: Bump Envoy pytooling deps (#25242)
phlax Feb 1, 2023
44505bf
move build-entrypoint.sh to shared dir. (#25284)
wangfakang Feb 1, 2023
9d9940b
hyperscan: fix missing fat runtime flag (#25236)
zhxie Feb 1, 2023
b41adf1
Move the old-android implementation of getifaddrs from Envoy Mobile t…
RyanTheOptimist Feb 1, 2023
f8ee06f
examples: Bump grpcio dep (dependabot update+proto fix) (#25295)
phlax Feb 2, 2023
09ed2ea
datadog: tracer_stats portion of new tracing library (#25021)
dgoffredo Feb 2, 2023
09c5a25
build: update c-ares to 1.19.0 (#25280)
tapaskapadia Feb 2, 2023
f6cb005
build(deps): bump distroless/base-nossl-debian11 from `cd7fe70` to `b…
dependabot[bot] Feb 2, 2023
c7dd09f
mobile: improving kotlin builder tests (#25314)
alyssawilk Feb 2, 2023
f54a20b
rate_limit_quota: Implement the on_no_match logic and refactor the co…
tyxia Feb 2, 2023
6868ded
rate_limit_quota: Implement the on_no_match logic and refactor the co…
tyxia Feb 2, 2023
74508c8
Proxy Protocol: Pass through V2 TLVs to upstream (#24944)
botengyao Feb 2, 2023
7451ed2
Add RTDS and ADS apis to mobile engine builder (#24860)
caschoener Feb 2, 2023
66a4cb8
mobile: c++ builder fix ups (#25316)
alyssawilk Feb 2, 2023
5622d49
mobile: moving stats back to string vector (#25324)
alyssawilk Feb 2, 2023
0708820
Reduce overhead by changing alignment (#25265)
DiazAlan Feb 3, 2023
51b4927
tracing: move the ConnectionManagerTracingConfig to tracing tree for …
Feb 3, 2023
e4153f6
build(deps): bump golang from 1.19.5-bullseye to 1.20.0-bullseye in /…
dependabot[bot] Feb 3, 2023
3220be3
build(deps): bump mysql from `19b05df` to `03b0af2` in /examples/mysq…
dependabot[bot] Feb 3, 2023
cc0a1d1
build(deps): bump postgres from `6b07fc4` to `026a193` in /examples/s…
dependabot[bot] Feb 3, 2023
0b6faf0
[balsa] Re-enable header integration tests for BalsaParser. (#25299)
bencebeky Feb 3, 2023
e6c17cf
deps: Update docs dependencies (#25257)
phlax Feb 3, 2023
ef09bde
[balsa] Increase header size limit in a DownstreamProtocolIntegration…
bencebeky Feb 3, 2023
cd3b8fc
mobile: improve mismatched bootstrap config yaml logging (#25343)
jpsim Feb 3, 2023
754aa5b
mobile: allow overriding dns cache key value save interval (#25325)
jpsim Feb 3, 2023
5991a20
[file_system_http_cache] Add eviction (#24642)
ravenblackx Feb 3, 2023
3c0413c
build(deps): bump markupsafe from 2.1.1 to 2.1.2 in /mobile/docs (#25…
dependabot[bot] Feb 3, 2023
7b6a13f
build(deps): bump sphinxcontrib-htmlhelp from 2.0.0 to 2.0.1 in /mobi…
dependabot[bot] Feb 3, 2023
fca2460
nit: clarify active listener base comment (#25351)
botengyao Feb 3, 2023
6fa92c4
repokitteh: Add `/milestone` command (#25363)
doujiang24 Feb 5, 2023
71b08c5
[build] fix Apple M1 build (#25360)
derekargueta Feb 5, 2023
8c9b02c
rate_limit_quota: fix typo (#25364)
tyxia Feb 6, 2023
cf4733c
xds: Adds support for xdstp in State-of-the-World (#25115)
abeyad Feb 6, 2023
c20244f
Added rules_rust toolchain for s390x (#25341)
knm3000 Feb 6, 2023
eb49336
[file_system_http_cache] Add more features to API, and remove some no…
ravenblackx Feb 6, 2023
5df354c
deps: Bump project/publishing deps (#25327)
phlax Feb 6, 2023
fd6a404
build(deps): bump node from `4619ec6` to `72b0f91` in /examples/ext_a…
dependabot[bot] Feb 6, 2023
16c2416
ZK filter: waiting for full packet in buffer before decoding (#25161)
Winbobob Feb 6, 2023
bd24714
local_ratelimit: burn tokens from local descriptors bucket first (#25…
diegomazine Feb 6, 2023
d0c689d
ci: Only run mobile jobs in the Envoy repo (#25361)
phlax Feb 6, 2023
96ffb25
examples: Improve/fix service healthcheck usage (#25287)
phlax Feb 6, 2023
fd7ce9a
examples: Add debugging info on failure (#25339)
phlax Feb 6, 2023
72cbe0e
mobile: Java using C++ builder under junit and testing equivalence (#…
alyssawilk Feb 6, 2023
052995b
Fix flaky QUIC test for deferred logging (#25267)
pksohn Feb 6, 2023
d9282c6
mobile: add CI jobs to build Envoy Mobile with custom compile time fl…
jpsim Feb 6, 2023
953cb9c
examples: Add (optional) image cleanup (rmi) (#25373)
phlax Feb 6, 2023
d0a1eb1
test: add more tests for golang filter extension. (#25279)
doujiang24 Feb 6, 2023
fc23191
mobile: fix types in `compareYaml` JNI function (#25395)
jpsim Feb 7, 2023
c448970
docs: Use PR commit sha (#25334)
phlax Feb 7, 2023
3d7c3af
docs: fix the name of a response code detail (#25380)
mkauf Feb 7, 2023
f93874e
build(deps): bump golang from `a5336c8` to `25a48f2` in /examples/grp…
dependabot[bot] Feb 7, 2023
9c1717a
build(deps): bump distroless/base-nossl-debian11 from `bf61596` to `0…
dependabot[bot] Feb 7, 2023
6dc1bba
mobile: fixing a bug for junit config (#25389)
alyssawilk Feb 7, 2023
e7dbda0
Quiche roll 20230206164719 (#25394)
alyssawilk Feb 7, 2023
505028f
examples: Make skywalking/elasticsearch less greedy (#25374)
phlax Feb 7, 2023
476b8ae
mobile: re-enable RBE for `mobile_perf` CI jobs (#25396)
jpsim Feb 7, 2023
14f2dd3
mobile: add support for brotli & gzip request compression (#25352)
jpsim Feb 7, 2023
68850fb
boringssl: Patch CVE-2023-0286 (#25406)
phlax Feb 7, 2023
84ca17a
UHV: adding validation of upstream responses (#24713)
yanavlasov Feb 7, 2023
2a31c84
gcp_authn: Clean up remove obsolete TODO (#25411)
tyxia Feb 8, 2023
3894808
build(deps): bump cryptography from 3.4.8 to 39.0.1 in /tools/base
dependabot[bot] Feb 8, 2023
dec28e7
Cleanup unused using-declaration (#25402)
yanavlasov Feb 8, 2023
0c278ba
mobile: changing an API to clearly return status (#25412)
alyssawilk Feb 8, 2023
202e90c
changelogs: Merge normally (#25378)
phlax Feb 8, 2023
b5ddaef
build(deps): bump setuptools from 67.0.0 to 67.2.0 in /tools/base (#2…
dependabot[bot] Feb 8, 2023
3679449
build(deps): bump github/codeql-action from 2.2.1 to 2.2.2 (#25404)
dependabot[bot] Feb 8, 2023
6e71130
build(deps): bump postgres from `026a193` to `a71ed7f` in /examples/s…
dependabot[bot] Feb 8, 2023
861ee04
[oauth2] Filter refactoring (#25160)
Alexcei88 Feb 8, 2023
41572c4
[balsa] Disallow line folding. (#25338)
bencebeky Feb 8, 2023
4c50747
CDS mobile builder API and integration test (#25123)
caschoener Feb 8, 2023
1f4f600
add idle active hc for TCP/HTTP/GRPC (#24903)
zhangbo1882 Feb 8, 2023
b7a5f87
mobile: consistently compiling out admin code (#24364)
alyssawilk Feb 8, 2023
79acebd
Remove scope id from ipv6 address in getLocalAddress (#25414)
RenjieTang Feb 8, 2023
fd874d9
OAuth: Use URL-encoding when adding URL as query parameters. (#25278)
yanavlasov Feb 8, 2023
e16acef
Tcp: add a tcp async client (#25079)
botengyao Feb 8, 2023
455409c
Add filters for Buf Connect RPC protocol. (#24836)
jchadwick-buf Feb 8, 2023
c51a400
minor update: move TracerManager registration to common/tracing (#25420)
Feb 9, 2023
8f91979
Fix race condition in mobile cds_integration_test (#25438)
caschoener Feb 9, 2023
60a68a3
mobile: fix producing comma-separated lists in Java/Kotlin builders (…
jpsim Feb 9, 2023
baec129
Remove option java_generic_services from proto files (#25298)
scrocquesel Feb 9, 2023
228d7ff
deps: Bump `flake8` -> 6.0.0 (#25296)
phlax Feb 9, 2023
8b2234c
build(deps): bump google.golang.org/grpc from 1.52.3 to 1.53.0 in /ex…
dependabot[bot] Feb 9, 2023
4b9f9d3
build(deps): bump google.golang.org/grpc from 1.52.3 to 1.53.0 in /ex…
dependabot[bot] Feb 9, 2023
b12e777
TCP Tunneling: Optionally propagate response trailers to downstream i…
IssaAbuKalbein Feb 9, 2023
48676e0
mobile: compile out unavailable engine builder functions (#25381)
jpsim Feb 9, 2023
8888f2b
mobile: minor fixes to C++ engine builder (#25454)
jpsim Feb 9, 2023
48364f3
C++20 compliance fix (#25446)
yanavlasov Feb 9, 2023
587e9d8
mobile: update ObjC/Swift APIs to take arrays instead of strings (#25…
jpsim Feb 9, 2023
648c79f
http3: remove envoy.reloadable_features.conn_pool_new_stream_with_ear…
danzh2010 Feb 9, 2023
f7026c7
Fixes for PR comments
rakeshdatta Feb 9, 2023
e3d11f5
Fixes for PR comments
rakeshdatta Feb 9, 2023
e350eac
Merge branch 'envoyproxy:main' into feat_listener_fcds
rakeshdatta Feb 9, 2023
9070efb
nit fixes
rakeshdatta Feb 9, 2023
88cfee7
Cleanup and Fixes
rakeshdatta Mar 13, 2023
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .azure-pipelines/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ stages:
ENVOY_RBE: "true"
BAZEL_BUILD_EXTRA_OPTIONS: "--config=remote-ci --jobs=$(RbeJobs)"
AZP_BRANCH: $(Build.SourceBranch)
AZP_COMMIT_SHA: $(system.pullRequest.sourceCommitId)
ENVOY_DOCKER_BUILD_DIR: $(Build.StagingDirectory)
BAZEL_REMOTE_CACHE: grpcs://remotebuildexecution.googleapis.com
BAZEL_REMOTE_INSTANCE: projects/envoy-ci/instances/default_instance
Expand Down Expand Up @@ -687,6 +688,7 @@ stages:
workingDirectory: $(Build.SourcesDirectory)
condition: eq(variables['isDev'], 'false')
env:
AZP_BRANCH: $(Build.SourceBranch)
GITHUB_TOKEN: $(GitHubPublicRepoOnlyAccessToken)

- job: assets
Expand Down
1 change: 1 addition & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# only directories can be ignored, and no globbing
api
examples/grpc-bridge/script
mobile
tools/clang_tools
tools/dev/src
.project
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ build:remote-clang-cl --config=rbe-toolchain-clang-cl

# Docker sandbox
# NOTE: Update this from https://github.com/envoyproxy/envoy-build-tools/blob/main/toolchains/rbe_toolchains_config.bzl#L8
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
build:docker-sandbox --spawn_strategy=docker
build:docker-sandbox --strategy=Javac=docker
build:docker-sandbox --strategy=Closure=docker
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gcr.io/envoy-ci/envoy-build:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
FROM gcr.io/envoy-ci/envoy-build:7304f974de2724617b7492ccb4c9c58cd420353a

ARG USERNAME=vscode
ARG USER_UID=501
Expand Down
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/changelogs/*.yaml merge=union
/generated_api_shadow/envoy/** linguist-generated=true
/generated_api_shadow/bazel/** linguist-generated=true
*.svg binary
Expand Down
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ updates:
schedule:
interval: "daily"

- package-ecosystem: "pip"
directory: "/tools/dependency"
schedule:
interval: "daily"

- package-ecosystem: "docker"
directory: "/.devcontainer"
schedule:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

jobs:
androidbuild:
if: github.repository == 'envoyproxy/envoy'
name: android_build
runs-on: macos-12
timeout-minutes: 90
Expand Down Expand Up @@ -41,6 +42,7 @@ jobs:
--fat_apk_cpu=x86_64 \
//:android_dist
javahelloworld:
if: github.repository == 'envoyproxy/envoy'
name: java_helloworld
needs: androidbuild
runs-on: macos-12
Expand Down Expand Up @@ -86,6 +88,7 @@ jobs:
if: steps.should_run.outputs.run_ci_job == 'true'
run: adb logcat -e "received headers with status 200" -m 1
kotlinhelloworld:
if: github.repository == 'envoyproxy/envoy'
name: kotlin_helloworld
needs: androidbuild
runs-on: macos-12
Expand Down Expand Up @@ -131,6 +134,7 @@ jobs:
if: steps.should_run.outputs.run_ci_job == 'true'
run: adb logcat -e "received headers with status 200" -m 1
kotlinbaselineapp:
if: github.repository == 'envoyproxy/envoy'
name: kotlin_baseline_app
needs: androidbuild
runs-on: macos-12
Expand Down Expand Up @@ -176,6 +180,7 @@ jobs:
if: steps.should_run.outputs.run_ci_job == 'true'
run: adb logcat -e "received headers with status 301" -m 1
kotlinexperimentalapp:
if: github.repository == 'envoyproxy/envoy'
name: kotlin_experimental_app
needs: androidbuild
runs-on: macos-12
Expand Down Expand Up @@ -214,6 +219,7 @@ jobs:
$([ -z $GITHUB_TOKEN ] || echo "--config=remote-ci-macos") \
--remote_header="Authorization=Bearer $GITHUB_TOKEN" \
--fat_apk_cpu=x86_64 \
--define=admin_functionality=enabled \
//test/kotlin/apps/experimental:hello_envoy_kt
adb install -r --no-incremental bazel-bin/test/kotlin/apps/experimental/hello_envoy_kt.apk
adb shell am start -n io.envoyproxy.envoymobile.helloenvoyexperimentaltest/.MainActivity
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/android_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

jobs:
kotlintestsmac:
if: github.repository == 'envoyproxy/envoy'
# revert to //test/kotlin/... once fixed
# https://github.com/envoyproxy/envoy-mobile/issues/1932
name: kotlin_tests_mac
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:
--remote_header="Authorization=Bearer $GITHUB_TOKEN" \
//test/kotlin/io/...
javatestsmac:
if: github.repository == 'envoyproxy/envoy'
name: java_tests_mac
runs-on: macos-12
timeout-minutes: 120
Expand Down Expand Up @@ -78,13 +80,14 @@ jobs:
--define=signal_trace=disabled \
//test/java/...
kotlintestslinux:
if: github.repository == 'envoyproxy/envoy'
# Only kotlin tests are executed since with linux:
# https://github.com/envoyproxy/envoy-mobile/issues/1418.
name: kotlin_tests_linux
runs-on: ubuntu-20.04
timeout-minutes: 90
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
env:
CC: /opt/llvm/bin/clang
CXX: /opt/llvm/bin/clang++
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ concurrency:

jobs:
asan:
if: github.repository == 'envoyproxy/envoy'
name: asan
runs-on: ubuntu-20.04
timeout-minutes: 180
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
env:
CC: /opt/llvm/bin/clang
CXX: /opt/llvm/bin/clang++
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cc_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ concurrency:

jobs:
cctests:
if: github.repository == 'envoyproxy/envoy'
name: cc_tests
runs-on: ubuntu-20.04
timeout-minutes: 120
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
steps:
- uses: actions/checkout@v1
- name: Add safe directory
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@a34ca99b4610d924e04c68db79e503e1f79f9f02
uses: github/codeql-action/init@39d8d7e78f59cf6b40ac3b9fbebef0c753d7c9e5
# Override language selection by uncommenting this and choosing your languages
with:
languages: cpp
Expand Down Expand Up @@ -63,4 +63,4 @@ jobs:
git clean -xdf

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@a34ca99b4610d924e04c68db79e503e1f79f9f02
uses: github/codeql-action/analyze@39d8d7e78f59cf6b40ac3b9fbebef0c753d7c9e5
4 changes: 2 additions & 2 deletions .github/workflows/codeql-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@a34ca99b4610d924e04c68db79e503e1f79f9f02
uses: github/codeql-action/init@39d8d7e78f59cf6b40ac3b9fbebef0c753d7c9e5
# Override language selection by uncommenting this and choosing your languages
with:
languages: cpp
Expand Down Expand Up @@ -78,4 +78,4 @@ jobs:

- name: Perform CodeQL Analysis
if: env.BUILD_TARGETS != ''
uses: github/codeql-action/analyze@a34ca99b4610d924e04c68db79e503e1f79f9f02
uses: github/codeql-action/analyze@39d8d7e78f59cf6b40ac3b9fbebef0c753d7c9e5
1 change: 1 addition & 0 deletions .github/workflows/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
retest:
if: github.repository == 'envoyproxy/envoy'
name: Retest
runs-on: ubuntu-latest
steps:
Expand Down
99 changes: 99 additions & 0 deletions .github/workflows/compile_time_options.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: mobile_compile_time_options

on:
push:
branches:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
cc_build:
if: github.repository == 'envoyproxy/envoy'
name: cc_build
runs-on: ubuntu-20.04
timeout-minutes: 120
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
steps:
- uses: actions/checkout@v1
- name: Add safe directory
run: git config --global --add safe.directory /__w/envoy/envoy
- id: should_run
name: 'Check whether to run'
run: ./mobile/tools/should_run_ci.sh
- name: 'Build C++ library'
if: steps.should_run.outputs.run_ci_job == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd mobile && ./bazelw build \
$([ -z $GITHUB_TOKEN ] || echo "--config=remote-ci-linux") \
--remote_header="Authorization=Bearer $GITHUB_TOKEN" \
--define=admin_html=enabled \
--define=envoy_mobile_request_compression=disabled \
--@envoy//bazel:http3=False \
//library/cc/...
swift_build:
if: github.repository == 'envoyproxy/envoy'
name: swift_build
runs-on: macos-12
timeout-minutes: 120
steps:
- uses: actions/checkout@v1
- id: should_run
name: 'Check whether to run'
run: ./mobile/tools/should_run_ci.sh
- run: cd mobile && ./ci/mac_ci_setup.sh
if: steps.should_run.outputs.run_ci_job == 'true'
name: 'Install dependencies'
- name: 'Build Swift library'
if: steps.should_run.outputs.run_ci_job == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd mobile && ./bazelw shutdown
./bazelw build \
--config=ios \
$([ -z $GITHUB_TOKEN ] || echo "--config=remote-ci-macos") \
--remote_header="Authorization=Bearer $GITHUB_TOKEN" \
--define=admin_html=enabled \
--define=envoy_mobile_request_compression=disabled \
--@envoy//bazel:http3=False \
//library/swift:ios_framework
kotlin_build:
if: github.repository == 'envoyproxy/envoy'
name: kotlin_build
runs-on: macos-12
timeout-minutes: 90
steps:
- uses: actions/checkout@v1
- id: should_run
name: 'Check whether to run'
run: ./mobile/tools/should_run_ci.sh
- uses: actions/setup-java@c3ac5dd0ed8db40fedb61c32fbe677e6b355e94c
if: steps.should_run.outputs.run_ci_job == 'true'
with:
java-version: '8'
java-package: jdk
architecture: x64
distribution: zulu
- name: 'Install dependencies'
if: steps.should_run.outputs.run_ci_job == 'true'
run: cd mobile && ./ci/mac_ci_setup.sh --android
- name: 'Build Kotlin library'
if: steps.should_run.outputs.run_ci_job == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd mobile && ./bazelw build \
$([ -z $GITHUB_TOKEN ] || echo "--config=remote-ci-macos") \
--remote_header="Authorization=Bearer $GITHUB_TOKEN" \
--fat_apk_cpu=x86_64 \
--define=admin_html=enabled \
--define=envoy_mobile_request_compression=disabled \
--@envoy//bazel:http3=False \
//:android_dist
1 change: 1 addition & 0 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

jobs:
unittests:
if: github.repository == 'envoyproxy/envoy'
name: unit_tests
runs-on: ubuntu-20.04
timeout-minutes: 120
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ concurrency:

jobs:
coverage:
if: github.repository == 'envoyproxy/envoy'
name: coverage
runs-on: ubuntu-20.04
timeout-minutes: 120
defaults:
run:
shell: bash
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
steps:
- uses: actions/checkout@v1
- name: Add safe directory
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ concurrency:

jobs:
docs:
if: github.repository == 'envoyproxy/envoy'
runs-on: ubuntu-20.04
timeout-minutes: 20
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
steps:
- uses: actions/checkout@v3
- name: Add safe directory
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ concurrency:

jobs:
formatall:
if: github.repository == 'envoyproxy/envoy'
name: format_all
runs-on: ubuntu-20.04
timeout-minutes: 45
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
env:
CLANG_FORMAT: /opt/llvm/bin/clang-format
BUILDIFIER_BIN: /usr/local/bin/buildifier
Expand All @@ -33,6 +34,7 @@ jobs:
if: steps.should_run.outputs.run_ci_job == 'true'
run: cd mobile && ./tools/check_format.sh
precommit:
if: github.repository == 'envoyproxy/envoy'
name: precommit
runs-on: macos-12
timeout-minutes: 45
Expand All @@ -48,6 +50,7 @@ jobs:
if: steps.should_run.outputs.run_ci_job == 'true'
run: cd mobile && find mobile/* | pre-commit run --files
swiftlint:
if: github.repository == 'envoyproxy/envoy'
name: swift_lint
runs-on: ubuntu-latest
timeout-minutes: 5
Expand All @@ -59,6 +62,7 @@ jobs:
run: swiftlint lint --strict
working-directory: mobile
drstring:
if: github.repository == 'envoyproxy/envoy'
name: drstring
runs-on: macos-12
timeout-minutes: 10
Expand All @@ -73,6 +77,7 @@ jobs:
DEVELOPER_DIR: /Applications/Xcode_14.1.app
run: cd mobile && ./bazelw run @DrString//:drstring check
kotlinlint:
if: github.repository == 'envoyproxy/envoy'
name: kotlin_lint
runs-on: macos-12
timeout-minutes: 45
Expand Down
Loading