Commit Graph

68 Commits

Author SHA1 Message Date
Xuan Wang 629b7a14da
[python O11Y] Initial Implementation (#32974)
Testing Command: `bazel test --cache_test_results=no
--test_output=streamed --runs_per_test=1 --test_timeout=10
"//src/python/grpcio_tests/tests/observability:_observability_test"`

### TODO:
 * Better error handling.
2023-06-05 16:11:52 -07:00
Craig Tiller efa939ac1f
[cleanup] Remove public_headers_must_be_c89 test (#32898)
We're starting to introduce C++ APIs to C-core, so this test is no
longer relevant.
2023-04-19 14:47:10 -07:00
Esun Kim 530b702259
Update Clang 15 (#31518)
* clang-15

* iwyu

* run clang_format_code

* Clang-Tidy config

* Fix misc-unused-using-decls

* Fixed performance-inefficient-vector-operation

* Sanity
2022-11-04 09:08:03 -07:00
Craig Tiller a5b08d7a77
[iwyu] Improve iwyu for public headers (#29834)
* [iwyu] Improve iwyu for public headers

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2022-06-07 10:31:15 -07:00
Jan Tattermusch e8404698d5
Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) (#29225)
* remove examples/csharp

* remove reference to examples/csharp

* remove C# references from doc/

* remove src/csharp

* update test_creds locations

* remove C# distribtests

* remove buildgen templates for files under src/csharp

* remove grpc_csharp_ext C build target

* regenerate projects

* update tools/run_tests/README.md

* change many C# test/build scripts to noop

* unbreak run_tests.py -l csharp

* unbreak C# build_package targets

* unbreak C# distribtests

* remove C# pre-build steps from prepare_build_windows.bat

* remove src/csharp from clang_format

* remove csharp and csharpcoreclr from run_interop_tests.py

* remove C# interop test docker images

* Revert "remove src/csharp"

This reverts commit 97f2b6d707.

* remove src/csharp, but keep Grpc.Tools

* add back templates/src/csharp/build/dependencies.props.template

* remove everything but Grpc.Tools and Grpc.Tools.Tests from sln

* Revert "unbreak run_tests.py -l csharp"

This reverts commit 529b5e2ec1.

* revive Grpc.Tools.Tests through run_tests.py

* Revert "unbreak C# build_package targets"

This reverts commit 79d8d83c8b.

* experiment with build_nuget.sh fixes

* simplify create_fake_native_artifacts.sh

* building of Grpc.Tools in package_targets.py

* move shared files from Grpc.Core to Grpc.Tools

* yapf format: distribtest_targets.py

* Revert "remove C# pre-build steps from prepare_build_windows.bat"

This reverts commit bd38956a2b.

* update C# README.md

* disable C# in gke OSS benchmarks
2022-04-28 12:00:34 +02:00
Yash Tibrewal 01f333a1c1
TlsCredentials: Comparator implementation (#28940)
* TlsCredentials: Comparator implementation

* Update tests

* Redundant namespace qualifiers

* clang-tidy

* Reviewer comments

* Reviewer comments

* Reviewer comments

* Reviewer comments

* Reviewer comments

* Add generator for grpc_tls_credentials_options.h

* Generator script modifications for tests

* Sanity

* Reviewer comments

* Reviewer comments

* Add a common place to look-up known types

* Formatting

* Script fix

* Reviewer comments

* Add test mode to script

* Add to sanitize.sh

* clang-tidy

* Fix

* Fix

* Reviewer comments

* Clang-format
2022-03-16 17:11:07 -07:00
AJ Heller 762cde4d24
Delete end2end nosec tests (#28946)
* rm nosec tests (TODO: identify coverage differences)

* grpc::load_reporter

* delete unused nosec test files & config

* trigger build

* re-delete nosec test file (snuck in with a merge)

* revert TODO deletion
2022-03-07 08:52:30 -08:00
Esun Kim 2057bfd182
Upgrade clang to 13 for clang-format, clang-tidy, and sanity (#28763) 2022-02-02 11:03:26 -08:00
Jan Tattermusch b0cdd3cba2
Cleanup (followup for ccache addition) (#28702)
* nit in python interop dockerfile

* address TODO in prepare_ccache_symlinks_rc

* enable ccache for C# and ruby distribtest jobs

* use debian11 instead of bullseye consistently
2022-01-26 18:56:46 +01:00
Craig Tiller 6001ea84b9
Faster clang-format (#28086)
* use parallelism to speed clang-format performance

* use parallelism to speed clang-format performance
2021-11-16 06:59:13 -08:00
Craig Tiller ea389c00c2
Adjust include order per style guide (#27175)
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
Ming-Chuan 44fc369f05
Add examples/android/binder/ to clang_format_all_the_things (#27114) 2021-08-28 05:12:24 +08:00
Vijay Pai ce16365421
clang-format C++ examples (#25764) 2021-03-22 10:23:52 -07:00
Esun Kim 377fe6095a
Upgrade clang-tidy and clang-format to 11 (#25590)
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
2021-03-04 11:54:30 -08:00
Esun Kim 024cd29fdb Upgrade clang-format-8 2020-10-16 11:37:14 -07:00
Jan Tattermusch e36ee8ef19 fix sanity tests 2020-08-21 11:37:41 +02:00
Richard Belleville 8f1e181189 Merge remote-tracking branch 'origin/master' into dynamic_stubs 2020-08-06 12:32:47 -07:00
Mark D. Roth a0f08b1b06 Revert "Merge pull request #21941 from markdroth/xds_logging"
This reverts commit 37d5d93983, reversing
changes made to 0e8190a3c9.
2020-07-17 10:19:28 -07:00
Richard Belleville 1b2e7fa318 Merge remote-tracking branch 'origin/master' into dynamic_stubs 2020-07-10 14:07:01 -07:00
Mark D. Roth c1d7180daa Use upb textformat library to dump out raw xDS proto messages 2020-06-24 10:10:03 -07:00
Richard Belleville 1f53f13446 Merge remote-tracking branch 'origin/master' into dynamic_stubs 2020-06-17 14:47:07 -07:00
Esun Kim 128c8eaacf Upgrade sanity docker 2020-03-03 10:46:52 -08:00
Richard Belleville e9746f03d6 Format C++ 2019-12-10 11:07:59 -08:00
Eric Anderson 1f84f8950c Remove vestigial sed for /etc/apt/sources.list in Dockerfiles
Jessie has a line that looks like this, now-a-days, so the regex is no
longer matching:
deb http://security.debian.org/debian-security jessie/updates main

But because that line was changed, downloads are also working correctly
out-of-the-box. The sed was originally added in #18530.
2019-04-04 17:45:00 -07:00
murgatroid99 2a12b47f0b Fix other docker build issues 2019-03-28 15:56:08 -07:00
Vishal Powar 319fcdf26e Add a script for generating C code and build rule for protobuf protos.
All these changes need to go together to make sense
  - changes to use new version of upb in bazel
  - allowing includes in build target option
  - script for generating c code (upb) for protos
  - generated code for example protos
  - adding changes for non-bazel builds
  - change sanity tests to ignore the generated files.
2019-03-13 12:53:17 -07:00
Muxi Yan b24b212ee5 Make symbols of BoringSSL private to gRPC 2018-08-23 09:42:24 -07:00
Muxi Yan e433b56def Support cleaning objc files 2018-04-11 17:53:51 -07:00
Alexander Polcyn 690dde672a Add address sorting submodule for use in c-ares wrapper 2018-03-20 23:51:19 -07:00
Jan Tattermusch a300764d14 clang format and tidy shouldnt change file ownership 2018-02-05 15:12:29 +01:00
Noah Eisen 86ddb5393d Ensure all sanity finds clang-tidy 2018-01-16 18:13:26 -08:00
ncteisen 365ea6309b Dockerize clang tidy 2018-01-16 17:24:51 -08:00
Yash Tibrewal d9da7387b8
Merge pull request #13147 from yashykt/testc++ize
Convert test/core to C++
2017-11-07 17:02:23 -08:00
Yash Tibrewal 1b4ab01f79 No Clang on end2end generated files 2017-11-06 17:06:08 -08:00
murgatroid99 6fb23dbc3d Merge branch 'master' into remove_node 2017-11-06 13:13:20 -08:00
Jan Tattermusch 53d89d7f25 fix clang format installation 2017-11-06 14:31:24 +01:00
Craig Tiller 44ab6a559c fix 2017-11-03 16:22:34 -07:00
Craig Tiller a64b2b13c1 Merge github.com:grpc/grpc into 50 2017-11-03 15:23:13 -07:00
Craig Tiller 0c6a3e3e67 Try again on Dockerfiles 2017-11-03 13:54:35 -07:00
Craig Tiller baa14a975e Update clang-format to 5.0 2017-11-03 09:09:36 -07:00
Yash Tibrewal cd987a0b2f Adding public_headers_must_be_c89 as a clang exception 2017-11-02 19:14:46 -07:00
murgatroid99 38007753b0 Remove src/node and references to it
This removes all of the node code and tests from the repo, along with the
scripts for running Node unit tests, performance tests, and artifact builds.
The scripts for running tests from the grpc-node repository are untouched.
2017-10-25 13:21:57 -07:00
Matt Kwong 75c2778902 Update Dockerfiles from ubuntu:15.10 to debian:jessie 2017-09-18 19:05:15 -07:00
Muxi Yan 76e158f2c1 Break the sanity check failure loop by disabling clang-format on end2end_{,nosec_}tests.c 2017-08-21 18:08:45 -07:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Craig Tiller 5b1c5f22f4 Extend clang-format to C#, Node, Ruby 2017-04-19 09:52:18 -07:00
Julien Boeuf 935d02ebd4 Cleanup of tsi ssl handshaker factories.
There is no reason why the client and server factories should be
implementations from the same base.
Doing the cleanup now so that implementation of the #10528 feature will
be less noisy.
Also, re-added tsi to clang-format which was dropped when moved from
src/core/lib to src/core.
2017-04-09 00:32:33 -07:00
Jan Tattermusch 7dd2cc6f68 cleanup and speedup of sanity tests 2016-12-22 10:54:25 +01:00
Masood Malekghassemi 1fa0faa2e2 Add src/compiler to clang format 2016-07-12 13:19:38 -07:00
Yuchen Zeng 7ae31a8898 Add more comments, fix format issues 2016-06-06 14:35:51 -07:00