Removed code supplying runtime identifier to deployers

This commit is contained in:
Kiran Challa 2017-04-06 16:00:03 -07:00
parent 2464d81167
commit 0e0019b4fe
5 changed files with 2 additions and 29 deletions

View File

@ -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>(

View File

@ -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>(

View File

@ -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>(

View File

@ -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>(

View File

@ -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"));