Merge branch 'kichalla/supply-configuration' into dev
This commit is contained in:
commit
ad23e180a7
|
|
@ -40,5 +40,16 @@ namespace E2ETests
|
|||
File.WriteAllText(overrideConfig, "{\"UseInMemoryDatabase\": \"true\"}");
|
||||
}
|
||||
}
|
||||
|
||||
public static string GetCurrentBuildConfiguration()
|
||||
{
|
||||
var configuration = "Debug";
|
||||
if (string.Equals(Environment.GetEnvironmentVariable("Configuration"), "Release", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
configuration = "Release";
|
||||
}
|
||||
|
||||
return configuration;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -39,6 +39,7 @@ namespace E2ETests
|
|||
{
|
||||
PublishApplicationBeforeDeployment = true,
|
||||
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
||||
Configuration = Helpers.GetCurrentBuildConfiguration(),
|
||||
ApplicationType = applicationType,
|
||||
ApplicationBaseUriHint = applicationBaseUrl,
|
||||
EnvironmentName = "NtlmAuthentication", //Will pick the Start class named 'StartupNtlmAuthentication'
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ namespace E2ETests
|
|||
{
|
||||
PublishApplicationBeforeDeployment = true,
|
||||
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
||||
Configuration = Helpers.GetCurrentBuildConfiguration(),
|
||||
ApplicationType = applicationType,
|
||||
ApplicationBaseUriHint = applicationBaseUrl,
|
||||
EnvironmentName = "OpenIdConnectTesting",
|
||||
|
|
|
|||
|
|
@ -149,6 +149,7 @@ namespace E2ETests
|
|||
ApplicationBaseUriHint = applicationBaseUrl,
|
||||
PublishApplicationBeforeDeployment = true,
|
||||
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
||||
Configuration = Helpers.GetCurrentBuildConfiguration(),
|
||||
ApplicationType = applicationType,
|
||||
UserAdditionalCleanup = parameters =>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ namespace E2ETests
|
|||
SiteName = "MusicStoreTestSite",
|
||||
PublishApplicationBeforeDeployment = true,
|
||||
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
||||
Configuration = Helpers.GetCurrentBuildConfiguration(),
|
||||
ApplicationType = applicationType,
|
||||
UserAdditionalCleanup = parameters =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue