Removed code supplying runtime identifier to deployers
This commit is contained in:
parent
2464d81167
commit
0e0019b4fe
|
|
@ -52,11 +52,6 @@ namespace E2ETests
|
|||
}
|
||||
};
|
||||
|
||||
if (applicationType == ApplicationType.Standalone)
|
||||
{
|
||||
deploymentParameters.AdditionalPublishParameters = " -r " + RuntimeEnvironment.GetRuntimeIdentifier();
|
||||
}
|
||||
|
||||
// Override the connection strings using environment based configuration
|
||||
deploymentParameters.EnvironmentVariables
|
||||
.Add(new KeyValuePair<string, string>(
|
||||
|
|
|
|||
|
|
@ -74,14 +74,10 @@ namespace E2ETests
|
|||
UserAdditionalCleanup = parameters =>
|
||||
{
|
||||
DbUtils.DropDatabase(musicStoreDbName, logger);
|
||||
}
|
||||
},
|
||||
AdditionalPublishParameters = " /p:PublishForTesting=true"
|
||||
};
|
||||
|
||||
|
||||
deploymentParameters.AdditionalPublishParameters =
|
||||
(applicationType == ApplicationType.Standalone ? $" -r {RuntimeEnvironment.GetRuntimeIdentifier()}" : "")
|
||||
+ " /p:PublishForTesting=true";
|
||||
|
||||
// Override the connection strings using environment based configuration
|
||||
deploymentParameters.EnvironmentVariables
|
||||
.Add(new KeyValuePair<string, string>(
|
||||
|
|
|
|||
|
|
@ -145,11 +145,6 @@ namespace E2ETests
|
|||
}
|
||||
};
|
||||
|
||||
if (applicationType == ApplicationType.Standalone)
|
||||
{
|
||||
deploymentParameters.AdditionalPublishParameters = "-r " + RuntimeEnvironment.GetRuntimeIdentifier();
|
||||
}
|
||||
|
||||
// Override the connection strings using environment based configuration
|
||||
deploymentParameters.EnvironmentVariables
|
||||
.Add(new KeyValuePair<string, string>(
|
||||
|
|
|
|||
|
|
@ -172,11 +172,6 @@ namespace E2ETests
|
|||
}
|
||||
};
|
||||
|
||||
if (applicationType == ApplicationType.Standalone)
|
||||
{
|
||||
deploymentParameters.AdditionalPublishParameters = " -r " + RuntimeEnvironment.GetRuntimeIdentifier();
|
||||
}
|
||||
|
||||
// Override the connection strings using environment based configuration
|
||||
deploymentParameters.EnvironmentVariables
|
||||
.Add(new KeyValuePair<string, string>(
|
||||
|
|
|
|||
|
|
@ -254,14 +254,6 @@ namespace E2ETests
|
|||
ApplicationType = applicationType
|
||||
};
|
||||
|
||||
if (applicationType == ApplicationType.Standalone)
|
||||
{
|
||||
// Unable to use the RuntimeEnvironment.GetRuntimeIdentifier API here as NanoServer which is
|
||||
// part of Windows Server 2016 has a RID of 'win10-x64' where as the CI servers currently
|
||||
// run on Windows Server 2012 or less, which have different RIDs.
|
||||
deploymentParameters.AdditionalPublishParameters = "-r win10-x64";
|
||||
}
|
||||
|
||||
deploymentParameters.EnvironmentVariables.Add(
|
||||
new KeyValuePair<string, string>("ASPNETCORE_ENVIRONMENT", "SocialTesting"));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue