Skip to content

Commit

Permalink
trust .net certs during build
Browse files Browse the repository at this point in the history
  • Loading branch information
Erwinvandervalk committed Jan 13, 2025
1 parent f8c6d80 commit a16d386
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions bff/Duende.Bff.sln
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hosts.ServiceDefaults", "sa
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hosts.Tests", "samples\Hosts.Tests\Hosts.Tests.csproj", "{A0B771BA-ACF9-4DE2-A2A6-430F6E6E8C07}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "build", "..\identity-server\build\build.csproj", "{2373FA65-E389-4497-B92A-376895ECDC41}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -365,6 +367,18 @@ Global
{A0B771BA-ACF9-4DE2-A2A6-430F6E6E8C07}.Release|x64.Build.0 = Release|Any CPU
{A0B771BA-ACF9-4DE2-A2A6-430F6E6E8C07}.Release|x86.ActiveCfg = Release|Any CPU
{A0B771BA-ACF9-4DE2-A2A6-430F6E6E8C07}.Release|x86.Build.0 = Release|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Debug|x64.ActiveCfg = Debug|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Debug|x64.Build.0 = Debug|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Debug|x86.ActiveCfg = Debug|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Debug|x86.Build.0 = Debug|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Release|Any CPU.Build.0 = Release|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Release|x64.ActiveCfg = Release|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Release|x64.Build.0 = Release|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Release|x86.ActiveCfg = Release|Any CPU
{2373FA65-E389-4497-B92A-376895ECDC41}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 2 additions & 0 deletions identity-server/build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ static async Task Main(string[] args)

Target(Targets.Test, DependsOn(Targets.Build), () =>
{
// we need to trust the .net dev certificates to be able to run the unit tests using SSL
Run("dotnet", "dev-certs https --trust");
Run("dotnet", $"test {solution} -c Release --no-build --nologo");
});

Expand Down

0 comments on commit a16d386

Please sign in to comment.