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\"}");
|
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,
|
PublishApplicationBeforeDeployment = true,
|
||||||
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
||||||
|
Configuration = Helpers.GetCurrentBuildConfiguration(),
|
||||||
ApplicationType = applicationType,
|
ApplicationType = applicationType,
|
||||||
ApplicationBaseUriHint = applicationBaseUrl,
|
ApplicationBaseUriHint = applicationBaseUrl,
|
||||||
EnvironmentName = "NtlmAuthentication", //Will pick the Start class named 'StartupNtlmAuthentication'
|
EnvironmentName = "NtlmAuthentication", //Will pick the Start class named 'StartupNtlmAuthentication'
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,7 @@ namespace E2ETests
|
||||||
{
|
{
|
||||||
PublishApplicationBeforeDeployment = true,
|
PublishApplicationBeforeDeployment = true,
|
||||||
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
||||||
|
Configuration = Helpers.GetCurrentBuildConfiguration(),
|
||||||
ApplicationType = applicationType,
|
ApplicationType = applicationType,
|
||||||
ApplicationBaseUriHint = applicationBaseUrl,
|
ApplicationBaseUriHint = applicationBaseUrl,
|
||||||
EnvironmentName = "OpenIdConnectTesting",
|
EnvironmentName = "OpenIdConnectTesting",
|
||||||
|
|
|
||||||
|
|
@ -149,6 +149,7 @@ namespace E2ETests
|
||||||
ApplicationBaseUriHint = applicationBaseUrl,
|
ApplicationBaseUriHint = applicationBaseUrl,
|
||||||
PublishApplicationBeforeDeployment = true,
|
PublishApplicationBeforeDeployment = true,
|
||||||
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
||||||
|
Configuration = Helpers.GetCurrentBuildConfiguration(),
|
||||||
ApplicationType = applicationType,
|
ApplicationType = applicationType,
|
||||||
UserAdditionalCleanup = parameters =>
|
UserAdditionalCleanup = parameters =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -185,6 +185,7 @@ namespace E2ETests
|
||||||
SiteName = "MusicStoreTestSite",
|
SiteName = "MusicStoreTestSite",
|
||||||
PublishApplicationBeforeDeployment = true,
|
PublishApplicationBeforeDeployment = true,
|
||||||
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net451" : "netcoreapp1.0",
|
||||||
|
Configuration = Helpers.GetCurrentBuildConfiguration(),
|
||||||
ApplicationType = applicationType,
|
ApplicationType = applicationType,
|
||||||
UserAdditionalCleanup = parameters =>
|
UserAdditionalCleanup = parameters =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue