unbreak C# build_package targets

pull/29225/head
Jan Tattermusch 3 years ago
parent 529b5e2ec1
commit 79d8d83c8b
  1. 19
      tools/run_tests/artifacts/build_package_csharp.sh
  2. 4
      tools/run_tests/artifacts/package_targets.py

@ -0,0 +1,19 @@
#!/bin/bash
# Copyright 2022 The gRPC Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -ex
# Nothing to do here. C# has been removed from this repository. This script is a placeholder
# to prevent C# tests from becoming red (until they get eventually disabled).

@ -95,7 +95,9 @@ class CSharpPackage:
os.getenv('GRPC_CSHARP_BUILD_SINGLE_PLATFORM_NUGET', '')
}
build_script = 'src/csharp/build_unitypackage.sh' if self.unity else 'src/csharp/build_nuget.sh'
# C# has been removed from the repo. Provide a dummy script to prevent
# the build task from failing.
build_script = 'tools/run_tests/artifacts/build_package_csharp.sh'
if self.platform == 'linux':
return create_docker_jobspec(

Loading…
Cancel
Save