Skip to content

Commit

Permalink
Merge branch 'develop' into ILoggerBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
HofmeisterAn authored Feb 27, 2024
2 parents e535cbe + c0932f2 commit f034278
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)docs/banner.png" Visible="false" Pack="true" PackagePath="docs/" />
<None Include="$(MSBuildThisFileDirectory)docs/logo.png" Visible="false" Pack="true" PackagePath="docs/" />
Expand Down
7 changes: 2 additions & 5 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Task("Build")
Verbosity = param.Verbosity,
NoRestore = true,
ArgumentCustomization = args => args
.Append($"/p:ContinuousIntegrationBuild=true")
});
});

Expand Down Expand Up @@ -130,12 +131,8 @@ Task("Create-NuGet-Packages")
Verbosity = param.Verbosity,
NoRestore = true,
NoBuild = true,
IncludeSymbols = true,
SymbolPackageFormat = "snupkg",
OutputDirectory = param.Paths.Directories.NuGetDirectoryPath,
ArgumentCustomization = args => args
.Append("/p:ContinuousIntegrationBuild=true")
.Append("/p:EmbedUntrackedSources=true")
.Append($"/p:Version={param.Version}")
});
});
Expand All @@ -160,7 +157,7 @@ Task("Publish-NuGet-Packages")
.WithCriteria(() => param.ShouldPublish)
.Does(() =>
{
foreach(var package in GetFiles($"{param.Paths.Directories.NuGetDirectoryPath}/*.(nupkg|snupkgs)"))
foreach (var package in GetFiles($"{param.Paths.Directories.NuGetDirectoryPath}/*.nupkg"))
{
DotNetNuGetPush(package.FullPath, new DotNetNuGetPushSettings
{
Expand Down
2 changes: 1 addition & 1 deletion src/Testcontainers/Clients/TestcontainersClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public async Task<string> BuildAsync(IImageFromDockerfileConfiguration configura
var cachedImages = await Image.GetAllAsync(filters, ct)
.ConfigureAwait(false);

var repositoryTags = new HashSet<string>(cachedImages.SelectMany(image => image.RepoTags));
var repositoryTags = new HashSet<string>(cachedImages.SelectMany(image => image.RepoTags ?? Array.Empty<string>()));

var uncachedImages = baseImages.Where(baseImage => !repositoryTags.Contains(baseImage.FullName));

Expand Down
20 changes: 12 additions & 8 deletions tests/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<VSTestLogger>trx%3BLogFileName=$(MSBuildProjectName).trx</VSTestLogger>
</PropertyGroup>
</Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<VSTestLogger>trx%3BLogFileName=$(MSBuildProjectName).trx</VSTestLogger>
</PropertyGroup>
<PropertyGroup>
<EnableSourceLink>false</EnableSourceLink>
<Deterministic>false</Deterministic>
</PropertyGroup>
</Project>

0 comments on commit f034278

Please sign in to comment.