Skip to content

Commit 72740da

Browse files
committed
Merge branch 'release/9.0.1xx' of https://github.com/dotnet/sdk into merge/release/8.0.4xx-to-release/9.0.1xx
2 parents e146b2d + 96cc60f commit 72740da

File tree

5 files changed

+28
-7
lines changed

5 files changed

+28
-7
lines changed

eng/SourceBuildPrebuiltBaseline.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,24 @@
3737
<UsagePattern IdentityGlob="System.Reflection.Metadata/8.0.0" />
3838
<UsagePattern IdentityGlob="System.Security.Cryptography.ProtectedData/*7.0.0*" />
3939

40+
<!-- (Don't include these for 9.0) Allow 8.0.2xx and higher to use any version of these packages since source build
41+
is only applicable to 8.0.1xx. -->
42+
<UsagePattern IdentityGlob="Microsoft.DotNet.Arcade.Sdk/*8.0.0*" />
43+
<UsagePattern IdentityGlob="Microsoft.Extensions.DependencyInjection/*8.0.0*" />
44+
<UsagePattern IdentityGlob="Microsoft.Extensions.DependencyInjection.Abstractions/8.0.*" />
45+
<UsagePattern IdentityGlob="Microsoft.DotNet.SourceBuild.Tasks/*8.0.0*" />
46+
<UsagePattern IdentityGlob="Microsoft.TemplateEngine.Abstractions/8.0.*" />
47+
<UsagePattern IdentityGlob="Microsoft.TemplateEngine.Core/8.0.*" />
48+
<UsagePattern IdentityGlob="Microsoft.TemplateEngine.Core.Contracts/8.0.*" />
49+
<UsagePattern IdentityGlob="Microsoft.TemplateEngine.Edge/8.0.*" />
50+
<UsagePattern IdentityGlob="Microsoft.TemplateEngine.Orchestrator.RunnableProjects/8.0.*" />
51+
<UsagePattern IdentityGlob="Microsoft.TemplateEngine.Utils/8.0.*" />
52+
<UsagePattern IdentityGlob="Microsoft.TemplateSearch.Common/8.0.*" />
53+
<UsagePattern IdentityGlob="System.Drawing.Common/8.0.*" />
54+
<UsagePattern IdentityGlob="System.Reflection.Metadata/*8.0.0*" />
55+
<UsagePattern IdentityGlob="System.Threading.Tasks.Dataflow/*8.0.0*" />
56+
<UsagePattern IdentityGlob="Valleysoft.DockerCredsProvider/*" />
57+
4058
<!-- Transitive dependencies from roslyn -->
4159
<UsagePattern IdentityGlob="System.Diagnostics.EventLog/8.0.0" />
4260
<UsagePattern IdentityGlob="Microsoft.Extensions.DependencyInjection/8.0.0" />

test/Microsoft.NET.Build.Containers.IntegrationTests/CreateNewImageTests.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public CreateNewImageTests(ITestOutputHelper testOutput)
2020
_testOutput = testOutput;
2121
}
2222

23-
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
23+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49300")]
2424
public void CreateNewImage_Baseline()
2525
{
2626
DirectoryInfo newProjectDir = new(GetTestDirectoryName());
@@ -70,7 +70,7 @@ private static ImageConfig GetImageConfigFromTask(CreateNewImage task)
7070
return new(task.GeneratedContainerConfiguration);
7171
}
7272

73-
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
73+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49300")]
7474
public void ParseContainerProperties_EndToEnd()
7575
{
7676
DirectoryInfo newProjectDir = new(GetTestDirectoryName());
@@ -133,7 +133,8 @@ public void ParseContainerProperties_EndToEnd()
133133
/// <summary>
134134
/// Creates a console app that outputs the environment variable added to the image.
135135
/// </summary>
136-
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
136+
137+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49300")]
137138
public void Tasks_EndToEnd_With_EnvironmentVariable_Validation()
138139
{
139140
DirectoryInfo newProjectDir = new(GetTestDirectoryName());
@@ -216,7 +217,7 @@ public void Tasks_EndToEnd_With_EnvironmentVariable_Validation()
216217
.And.HaveStdOut("Foo");
217218
}
218219

219-
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
220+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49300")]
220221
public async System.Threading.Tasks.Task CreateNewImage_RootlessBaseImage()
221222
{
222223
const string RootlessBase = "dotnet/rootlessbase";

test/Microsoft.NET.Build.Containers.IntegrationTests/DockerRegistryTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public DockerRegistryTests(ITestOutputHelper testOutput)
1717
_loggerFactory = new TestLoggerFactory(testOutput);
1818
}
1919

20-
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49502")]
20+
[DockerAvailableFact(Skip = "https://github.com/dotnet/sdk/issues/49300")]
2121
public async Task GetFromRegistry()
2222
{
2323
var loggerFactory = new TestLoggerFactory(_testOutput);

test/Microsoft.NET.Build.Containers.IntegrationTests/DockerTestsCollection.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ namespace Microsoft.NET.Build.Containers.IntegrationTests;
55

66
[CollectionDefinition("Docker tests")]
77
#pragma warning disable CA1711 // Identifiers should not have incorrect suffix
8-
public class DockerTestsCollection : ICollectionFixture<DockerTestsFixture>
8+
// TODO: skipped due to docker infra instability - need to use new ACR.
9+
// See https://github.com/dotnet/sdk/issues/49300
10+
public class DockerTestsCollection // : ICollectionFixture<DockerTestsFixture>
911
#pragma warning restore CA1711 // Identifiers should not have incorrect suffix
1012
{
1113
// This class has no code, and is never created. Its purpose is simply

test/Microsoft.NET.Build.Containers.IntegrationTests/EndToEndTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,7 @@ public void EndToEndMultiArch_Labels()
13851385
[DockerSupportsArchInlineData("linux/386", "linux-x86", "/app", Skip = "There's no apphost for linux-x86 so we can't execute self-contained, and there's no .NET runtime base image for linux-x86 so we can't execute framework-dependent.")]
13861386
[DockerSupportsArchInlineData("windows/amd64", "win-x64", "C:\\app")]
13871387
[DockerSupportsArchInlineData("linux/amd64", "linux-x64", "/app")]
1388-
[DockerAvailableTheory(Skip = "https://github.com/dotnet/sdk/issues/49502")]
1388+
[DockerAvailableTheory(Skip = "https://github.com/dotnet/sdk/issues/49300")]
13891389
public async Task CanPackageForAllSupportedContainerRIDs(string dockerPlatform, string rid, string workingDir)
13901390
{
13911391
ILogger logger = _loggerFactory.CreateLogger(nameof(CanPackageForAllSupportedContainerRIDs));

0 commit comments

Comments
 (0)