Commit Graph

41 Commits

Author SHA1 Message Date
apolcyn 9054988785 [csharp] Use a stable/supported C# runtime in ubuntu 22.04 distribtest docker images (#35955)
The current .NET SDK in these tests is EOL, and we've been seeing strange SSL errors transiently.

Update to a supported version and remove cruft in the docker image that was there to install the older version.

TODO: submitting first with the ubuntu 22.04 image test skipped, need to follow-up with a fix and unskip the test

Closes #35955

PiperOrigin-RevId: 610798209
2024-02-27 10:34:33 -08:00
Jan Tattermusch 3cf3ed7d59
Revert "Revert "Add back C# distribtests for Grpc.Tools"" (#31436)
* Revert "Revert "Add back C# distribtests for Grpc.Tools (#31399)" (#31412)"

This reverts commit dbc45208e2.

* avoid clash with internal protos
2022-10-27 09:59:06 +02:00
Alisha Nanda dbc45208e2
Revert "Add back C# distribtests for Grpc.Tools (#31399)" (#31412)
This reverts commit 50bad293c9.
2022-10-20 12:08:29 -07:00
Jan Tattermusch 50bad293c9
Add back C# distribtests for Grpc.Tools (#31399)
* remove remains of grpc_csharp_ext artifact build completely

* add back part of C# distribtests

* redirect C# linux distribtests

* comment out some distribtests

* switch updateversion to Grpc.tools

* fix .proto

* fix distribtest complile

* temporarily comment out service in .proto

* cleanup

* improvements

* reenable mac distribtests

* fixes
2022-10-20 16:42:29 +02: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
Jan Tattermusch 6c43b2c98a add netcoreapp3.1 C# distribtest 2020-10-27 16:30:01 +01:00
Jan Tattermusch e274e7b93a add C# distribtest for .NET 5 2020-10-27 16:30:00 +01:00
Jan Tattermusch 8d8152ed4e fix System.Memory dependency mismatch in c# distribtests 2020-08-28 13:58:24 +02:00
Jan Tattermusch 42f741ecc4 use GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE for C# distribtest that tests classic .csproj 2020-08-27 15:04:48 +02:00
Jan Tattermusch 2fb9b57fe5 upgrade Google.Protobuf in C# distribtests 2020-08-27 11:05:08 +02:00
Jan Tattermusch 45d92f26ca add Grpc.Tools test for generating for .proto with the same name 2020-07-09 17:17:39 +02:00
Jan Tattermusch bd6d4efc7a fix C# distrib test 2020-06-04 09:10:29 +02:00
Stanley Cheung 6f72faa74b Update to protobuf 3.12.2 2020-05-29 13:50:27 -07:00
Stanley Cheung eccbac3443 Update grpc protoc plugins to support proto3 optional 2020-05-29 13:50:18 -07:00
Karthik Ravi Shankar 063704ebad
Revert "Update grpc protoc plugin to be compliant of proto3 field presence" 2020-05-29 11:21:24 -07:00
Stanley Cheung f70ebf85a6 Update to protobuf 3.12.2 2020-05-27 18:30:12 -07:00
Stanley Cheung dc9b100865 Update grpc protoc plugins to support proto3 optional 2020-05-27 18:30:12 -07:00
Jan Tattermusch a3d06e5cfe fix C# distribtests 2020-01-17 05:48:14 -05:00
Jan Tattermusch ece5fbdcb0 partially revert alpine distribtest attempts 2019-09-05 08:06:39 -04:00
Jan Tattermusch 9171646713 fix dependencies for classic .csproj 2019-09-05 08:05:36 -04:00
Jan Tattermusch aeb04913ad improved C# distribtest 2019-09-04 12:02:21 -04:00
Jan Tattermusch 21104ec1ee remove BOM 2019-09-04 11:29:22 -04:00
Jan Tattermusch 0040bb9353 attempt to add alpine C# distribtest 2019-09-04 10:38:54 -04:00
Jan Tattermusch 80fb0ce67f add Google.Protobuf dependency to legacy csproj 2019-03-27 16:46:27 -04:00
Jan Tattermusch 133ff03e97 classic .csproj Grpc.Tools test 2019-03-27 16:46:27 -04:00
Jan Tattermusch 89281d4498 test protobuf used 2019-03-27 16:46:27 -04:00
Jan Tattermusch 326e06256b C# distribtests should test Grpc.Tools codegen too 2019-03-27 16:46:26 -04:00
Jan Tattermusch fbb04abd02 fix C# net45 distribtests 2019-01-25 15:18:47 +01:00
Jan Tattermusch 4fae81d777 test C# codegen in distribtests 2018-06-06 10:14:52 +02:00
Jan Tattermusch 1d3cc21910 update C# distribtests 2018-05-10 15:22:14 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Jan Tattermusch f6caaa76a6 add copyrights for AssemblyInfo.cs files 2016-09-21 22:40:11 +02:00
Jan Tattermusch b809cd9f99 dotnet CLI distribtest 2016-09-08 16:21:39 +02:00
Alex Polcyn ab394849d3 update to system interactive in distrib tests 2016-08-14 23:25:21 -07:00
Jan Tattermusch 80c704bfa8 update distribtest project to Google.Apis.Auth 0.15.0 2016-08-12 20:47:44 +08:00
Jan Tattermusch 74b41c0513 fix C# distrib test after getting rid of grpc.native.csharp package 2016-05-05 07:38:03 -07:00
Craig Tiller 6169d5f7b0 Update copyrights 2016-03-31 07:46:18 -07:00
Jan Tattermusch fa4b163fea windows C# distribtest 2016-02-29 08:35:34 -08:00
Jan Tattermusch 8d59ad4544 fix copyrights 2016-02-01 14:36:31 -08:00
Jan Tattermusch 38b519a48d replace nuget version by placeholder 2016-02-01 14:06:50 -08:00
Jan Tattermusch d38e372d71 add C# DistribTest project 2016-02-01 14:06:50 -08:00