Skip to content

Commit a42f018

Browse files
authored
[main] Disable internal Dockerfile tests for internal builds (#6274)
1 parent 69ec077 commit a42f018

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Microsoft.DotNet.Docker.Tests/GeneratedArtifactTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ public void VerifyReadmeTemplates()
5151
[Fact]
5252
public void VerifyInternalDockerfilesOutput()
5353
{
54+
if (Config.IsInternal)
55+
{
56+
OutputHelper.WriteLine(
57+
"Skipping test since it is not useful for internal build scenarios. " +
58+
"If there are issues with internal Dockerfiles, then internal builds will fail.");
59+
return;
60+
}
61+
5462
const string InternalDockerfilesSubfolder = "Baselines";
5563

5664
using TempFolderContext outputDirectory = FileHelper.UseTempFolder();

0 commit comments

Comments
 (0)