From e318b1e56d8f4b40dfd0955891feeb9b300c1fca Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Mon, 9 Sep 2019 12:38:13 +1200 Subject: [PATCH 1/3] Specify RepositoryUrl in interop test build to fix latest Source Link --- .../grpc_interop_aspnetcore/build_interop.sh.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh.template b/templates/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh.template index acf12579357..218a354a85f 100644 --- a/templates/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh.template +++ b/templates/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh.template @@ -39,4 +39,6 @@ ln -s $(pwd)/.dotnet/dotnet /usr/local/bin/dotnet fi - dotnet build --configuration Debug Grpc.DotNet.sln + # Cloning from a local path sets RepositoryUrl to a path and breaks Source Link. + # Override RepositoryUrl to a URL to fix Source Link. The value doesn't matter. + dotnet build --configuration Debug Grpc.DotNet.sln -p:RepositoryUrl=https://localhost From a9243c32b5a8818de43d388ca2ddc327c0749505 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Thu, 19 Sep 2019 09:58:34 +1200 Subject: [PATCH 2/3] Update build_interop.sh.template --- .../grpc_interop_aspnetcore/build_interop.sh.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh.template b/templates/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh.template index 218a354a85f..79a6262beb5 100644 --- a/templates/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh.template +++ b/templates/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh.template @@ -41,4 +41,4 @@ # Cloning from a local path sets RepositoryUrl to a path and breaks Source Link. # Override RepositoryUrl to a URL to fix Source Link. The value doesn't matter. - dotnet build --configuration Debug Grpc.DotNet.sln -p:RepositoryUrl=https://localhost + dotnet build --configuration Debug Grpc.DotNet.sln -p:RepositoryUrl=https://github.com/grpc/grpc-dotnet.git From 976ebbf2b7c1a4aa737dd2637c5f094586c636f8 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Tue, 24 Sep 2019 09:13:13 +0200 Subject: [PATCH 3/3] regenerate files --- .../interoptest/grpc_interop_aspnetcore/build_interop.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh b/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh index acb2a0ab2d9..31f21ce7839 100644 --- a/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh +++ b/tools/dockerfile/interoptest/grpc_interop_aspnetcore/build_interop.sh @@ -37,4 +37,6 @@ then ln -s $(pwd)/.dotnet/dotnet /usr/local/bin/dotnet fi -dotnet build --configuration Debug Grpc.DotNet.sln +# Cloning from a local path sets RepositoryUrl to a path and breaks Source Link. +# Override RepositoryUrl to a URL to fix Source Link. The value doesn't matter. +dotnet build --configuration Debug Grpc.DotNet.sln -p:RepositoryUrl=https://github.com/grpc/grpc-dotnet.git