Skip to content

Add additional ProdCon updaters pointed at recent 2.1.1 build #602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 11, 2018
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BuildToolsVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0-rc1-02804-05
2.2.0-preview1-02824-02
2 changes: 1 addition & 1 deletion ProdConFeed.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://dotnetfeed.blob.core.windows.net/orchestrated-release-2-1/20180515-07/final/index.json
https://dotnetfeed.blob.core.windows.net/orchestrated-release-2-1/20180605-09/final/index.json
16 changes: 11 additions & 5 deletions dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
for which dotnet/versions commit was last used to update the dependency.
-->
<PropertyGroup>
<ProdConCurrentRef>79731c509a9d31b921f531ee63c48daa8e0c30d5</ProdConCurrentRef>
<ProdConCurrentRef>fbb6d7ff3c879ec4f0d5701c2fd24b95d9f0f31a</ProdConCurrentRef>
<CoreClrCurrentRef>79731c509a9d31b921f531ee63c48daa8e0c30d5</CoreClrCurrentRef>
<BuildToolsCurrentRef>54227d85bec7093210eef26b6013d1435c6fc21e</BuildToolsCurrentRef>
<BuildToolsCurrentRef>6051ebc6718c36d71ea08596f1de43fc8eec639e</BuildToolsCurrentRef>
</PropertyGroup>

<!-- Package dependency verification/auto-upgrade configuration. -->
<PropertyGroup>
<BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
<DependencyBranch>release/2.1</DependencyBranch>
<DependencyBranch>master</DependencyBranch>
<CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
</PropertyGroup>

Expand All @@ -40,11 +40,17 @@

<DependencyInfo Include="ProdCon">
<DependencyType>Orchestrated build</DependencyType>
<BasePath>build-info/dotnet/product/cli/release/2.1</BasePath>
<BasePath>build-info/dotnet/product/cli/release/2.1.1</BasePath>
<CurrentRef>$(ProdConCurrentRef)</CurrentRef>
<VersionsRepoOwner>dotnet</VersionsRepoOwner>
<VersionsRepo>versions</VersionsRepo>
</DependencyInfo>

<UpdateStep Include="ProdCon">
<UpdaterType>Orchestrated blob feed attribute</UpdaterType>
<SingleLineFile>$(MSBuildThisFileDirectory)ProdConFeed.txt</SingleLineFile>
<AttributeName>Url</AttributeName>
</UpdateStep>
</ItemGroup>

<ItemGroup Condition="'$(SkipBuildToolsUpdate)' != 'true'">
Expand All @@ -53,7 +59,7 @@
<Path>$(MSBuildThisFileDirectory)BuildToolsVersion.txt</Path>
<PackageId>Microsoft.DotNet.BuildTools</PackageId>
</UpdateStep>
<UpdateStep Include="BuildTools">
<UpdateStep Include="CoreClr">
<UpdaterType>File</UpdaterType>
<Path>$(MSBuildThisFileDirectory)tools-local/ILAsmVersion.txt</Path>
<PackageId>Microsoft.NETCore.ILAsm</PackageId>
Expand Down
102 changes: 67 additions & 35 deletions dependencies.targets
Original file line number Diff line number Diff line change
@@ -1,58 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="CreateOrchestratedBuildSubmoduleUpdaters"

<UsingTask AssemblyFile="$(TasksBinDir)Microsoft.DotNet.SourceBuild.Tasks.dll" TaskName="JoinItems" />

<Target Name="CreateOrchestratedBuildUpdaters"
BeforeTargets="CreateDefaultDependencyInfos"
Condition="'$(SkipOrchestratedBuildSubmoduleUpdate)' != 'true'">
Condition="'$(SkipOrchestratedBuildUpdate)' != 'true'">

<ItemGroup>
<OrchestratedBuildRepoProjects Include="$(ProjectDir)repos\*.proj" />
<RepoProjectFile Include="$(ProjectDir)repos\*.proj" />
</ItemGroup>

<MSBuild Projects="@(OrchestratedBuildRepoProjects)"
Targets="GetOrchestratedManifestBuildName">
<!--
Evaluate the dependency properties of each repo project. Use MSBuildSourceProjectFile as the
join key to make one combined item for each project with all available metadata.
-->
<MSBuild Projects="@(RepoProjectFile)" Targets="GetOrchestratedManifestBuildName">
<Output TaskParameter="TargetOutputs" ItemName="OrchestratedManifestBuildNames" />
</MSBuild>
<ItemGroup>
<_RepoProjectExtractedProperties
Include="@(OrchestratedManifestBuildNames)"
BuildName="%(Identity)"
KeepMetadata="MSBuildSourceProjectFile" />
</ItemGroup>

<MSBuild Projects="@(OrchestratedBuildRepoProjects)"
Targets="GetProjectDirectory">
<MSBuild Projects="@(RepoProjectFile)" Targets="GetProjectDirectory">
<Output TaskParameter="TargetOutputs" ItemName="ProjectDirectories" />
</MSBuild>
<ItemGroup>
<_RepoProjectExtractedProperties
Include="@(ProjectDirectories)"
ProjectDirectory="%(Identity)"
KeepMetadata="MSBuildSourceProjectFile" />
</ItemGroup>

<MSBuild Projects="@(RepoProjectFile)" Targets="GetOfficialBuildId">
<Output TaskParameter="TargetOutputs" ItemName="OfficialBuildIds" />
</MSBuild>
<ItemGroup>
<_RepoProjectExtractedProperties
Include="@(OfficialBuildIds)"
OfficialBuildId="%(Identity)"
KeepMetadata="MSBuildSourceProjectFile" />
</ItemGroup>

<JoinItems
Left="@(RepoProjectFile)" LeftMetadata="*"
Right="@(_RepoProjectExtractedProperties)" RightKey="MSBuildSourceProjectFile" RightMetadata="*">
<Output TaskParameter="JoinResult" ItemName="_JoinProjectFileProperties" />
</JoinItems>

<!-- Add the git submodule directory to each project item. -->
<ReadGitConfigFile File="$(GitModulesPath)">
<Output TaskParameter="SubmoduleConfiguration" ItemName="SubmoduleConfigurations" />
</ReadGitConfigFile>

<!--
Perform joins to gather information about each repo into a single item each. Each A-B join
first creates all A*B "candidate" combinations. The candidate items are then filtered down to
the combinations where the desired metadata from A and B match.
-->
<ItemGroup>
<!-- Join manifest build name to project directory. -->
<BuildNamePathCandidate Include="@(OrchestratedManifestBuildNames)">
<Path>%(ProjectDirectories.Identity)</Path>
<ProjectDirectorySourceProjectFile>%(ProjectDirectories.MSBuildSourceProjectFile)</ProjectDirectorySourceProjectFile>
</BuildNamePathCandidate>

<BuildNamePath Include="@(BuildNamePathCandidate)"
Condition="'%(MSBuildSourceProjectFile)' == '%(ProjectDirectorySourceProjectFile)' AND
'%(Identity)' != 'N/A'" />

<!-- Join project directory to submodule URL. -->
<BuildNamePathGitUrlCandidate Include="@(BuildNamePath)">
<Submodule>$(ProjectDir)%(SubmoduleConfigurations.Path)/</Submodule>
<GitUrl>%(SubmoduleConfigurations.Url)</GitUrl>
</BuildNamePathGitUrlCandidate>

<BuildNamePathGitUrl Include="@(BuildNamePathGitUrlCandidate)"
Condition="'%(Path)' == '%(Submodule)'" />
<_ExtractedGitModuleProperties
Include="@(SubmoduleConfigurations)"
ProjectDirectory="$(ProjectDir)%(Path)/"
GitUrl="%(Url)"
KeepMetadata="Identity" />
</ItemGroup>

<JoinItems
Left="@(_JoinProjectFileProperties)" LeftKey="ProjectDirectory" LeftMetadata="*" LeftItemSpec="Identity"
Right="@(_ExtractedGitModuleProperties)" RightKey="ProjectDirectory" RightMetadata="*">
<Output TaskParameter="JoinResult" ItemName="RepoProjectWithProperties" />
</JoinItems>

<ItemGroup>
<UpdateStep Include="@(BuildNamePathGitUrl)">
<UpdaterType>Submodule from orchestrated build</UpdaterType>
<BuildName>%(BuildNamePathGitUrl.Identity)</BuildName>
</UpdateStep>
<UpdateStep
Include="@(RepoProjectWithProperties)"
Condition="'%(RepoProjectWithProperties.BuildName)' != 'N/A'"
UpdaterType="Submodule from orchestrated build"
Path="%(RepoProjectWithProperties.ProjectDirectory)" />

<UpdateStep
Include="@(RepoProjectWithProperties)"
Condition="
'%(RepoProjectWithProperties.BuildName)' != 'N/A' AND
'%(RepoProjectWithProperties.OfficialBuildId)' != ''"
UpdaterType="Build attribute from orchestrated build"
AttributeName="BuildId"
Path="%(RepoProjectWithProperties.Identity)"
ElementName="OfficialBuildId" />
</ItemGroup>
</Target>
</Project>
4 changes: 4 additions & 0 deletions repos/cli-migrate.proj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
<GlobalJsonFile>$(ProjectDirectory)global.json</GlobalJsonFile>
<DependencyVersionInputRepoApiImplemented>false</DependencyVersionInputRepoApiImplemented>
<UsesRepoToolset>true</UsesRepoToolset>
<!--
This repo is not currently built in ProdCon
<OrchestratedManifestBuildName>dotnet/cli-migrate</OrchestratedManifestBuildName>
-->
<OrchestratedManifestBuildName>N/A</OrchestratedManifestBuildName>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions repos/clicommandlineparser.proj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
<DependencyVersionInputRepoApiImplemented>false</DependencyVersionInputRepoApiImplemented>
<UsesRepoToolset>true</UsesRepoToolset>
<GlobalJsonFile>$(ProjectDirectory)global.json</GlobalJsonFile>
<!--
This repo is not currently built in ProdCon
<OrchestratedManifestBuildName>dotnet/CliCommandLineParser</OrchestratedManifestBuildName>
-->
<OrchestratedManifestBuildName>N/A</OrchestratedManifestBuildName>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion repos/core-setup.proj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<BuildArguments Condition="$(Platform.Contains('arm'))">$(BuildArguments) -TargetArchitecture=$(Platform) -DisableCrossgen=true -CrossBuild=true</BuildArguments>
<BuildCommand>$(ProjectDirectory)/build$(ShellExtension) $(BuildArguments) -- /p:BuildDebPackage=false /p:BuildAllPackages=true</BuildCommand>
<BuildCommand Condition="$(Platform.Contains('arm'))">$(ArmEnvironmentVariables) $(BuildCommand)</BuildCommand>
<OfficialBuildId>20180509-04</OfficialBuildId>
<OfficialBuildId>20180606-03</OfficialBuildId>

<!-- Need to set $(PackagesOutput) so WriteVersions writes the versions file for cli, until cli respects auto-dependency flow -->
<PackagesOutput>$(SourceBuiltPackagesPath)</PackagesOutput>
Expand Down
2 changes: 1 addition & 1 deletion repos/coreclr.proj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<BuildCommand>$(ProjectDirectory)/build$(ShellExtension) $(BuildArguments) --</BuildCommand>
<BuildCommand Condition="$(Platform.Contains('arm'))">$(ArmEnvironmentVariables) $(BuildCommand)</BuildCommand>
<CleanCommand>$(ProjectDirectory)/clean$(ShellExtension)</CleanCommand>
<OfficialBuildId>20180509-03</OfficialBuildId>
<OfficialBuildId>20180606-02</OfficialBuildId>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion repos/corefx.proj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<BuildCommand Condition="$(Platform.Contains('arm'))">$(ArmEnvironmentVariables) $(BuildCommand)</BuildCommand>
<PackagesOutput>$(ProjectDirectory)/bin/packages/$(Configuration)</PackagesOutput>
<CleanCommand>$(ProjectDirectory)/clean$(ShellExtension)</CleanCommand>
<OfficialBuildId>20180509-03</OfficialBuildId>
<OfficialBuildId>20180606-05</OfficialBuildId>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions repos/dir.targets
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@

<Target Name="GetProjectDirectory" Outputs="$(ProjectDirectory)" />
<Target Name="GetOrchestratedManifestBuildName" Outputs="$(OrchestratedManifestBuildName)" />
<Target Name="GetOfficialBuildId" Outputs="OfficialBuildId" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be $(OfficialBuildId) ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, yep. As-is this ends up creating a build id updater for every project unconditionally.


<Import Project="$(ToolsDir)VersionTools.targets" />
</Project>
2 changes: 2 additions & 0 deletions repos/fsharp.proj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<BuildRevision>171107</BuildRevision>
<BuildCommand>$(ProjectDirectory)/src/buildfromsource$(ShellExtension)</BuildCommand>
<RepoApiImplemented>false</RepoApiImplemented>
<!-- This repo is not currently built in ProdCon -->
<OrchestratedManifestBuildName>N/A</OrchestratedManifestBuildName>
</PropertyGroup>

<!-- Auto-detect the root NuGet.Config, but also update the build-from-source-specific one. -->
Expand Down
4 changes: 4 additions & 0 deletions repos/nuget-client.proj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
<NuGetKeyFilePath>$(KeysDir)NuGet.Client.snk</NuGetKeyFilePath>
<NuGetClientBuildNumber>5156</NuGetClientBuildNumber>
<RepoApiImplemented>false</RepoApiImplemented>
<!--
This repo is not currently built in ProdCon
<OrchestratedManifestBuildName>nuget.client</OrchestratedManifestBuildName>
-->
<OrchestratedManifestBuildName>N/A</OrchestratedManifestBuildName>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion repos/sdk.proj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))/dir.props" />
<PropertyGroup>
<OfficialBuildId>20180427.7</OfficialBuildId>
<OfficialBuildId>20180606.1</OfficialBuildId>
<OutputVersionArgs>/p:BUILD_BUILDNUMBER=$(OfficialBuildId)</OutputVersionArgs>
<BuildCommandArgs>--pack --configuration $(Configuration) $(OutputVersionArgs)</BuildCommandArgs>

Expand Down
2 changes: 2 additions & 0 deletions repos/templating.proj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<PackageDateTime>20170727</PackageDateTime>
<PackageBuildQuality>beta2</PackageBuildQuality>
<RepoApiImplemented>false</RepoApiImplemented>
<!-- This repo is not currently built in ProdCon -->
<OrchestratedManifestBuildName>N/A</OrchestratedManifestBuildName>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/corefx
Submodule corefx updated 71 files
+1 −1 Packaging.props
+10 −10 dependencies.props
+44 −43 external/harvestPackages/harvestPackages.props
+163 −64 pkg/Microsoft.Private.PackageBaseline/packageIndex.json
+1 −1 src/Common/src/Interop/Unix/System.Native/Interop.RegisterForCtrlC.cs
+14 −0 src/Common/src/Interop/Unix/System.Native/Interop.RestoreAndHandleCtrl.cs
+3 −0 src/Common/src/Interop/Windows/Interop.Errors.cs
+8 −0 src/Common/src/System/Net/SafeCloseSocket.Windows.cs
+1 −1 src/Common/src/System/Net/WebSockets/ManagedWebSocket.cs
+1 −1 src/Native/Unix/System.Native/pal_console.h
+15 −9 src/Native/Unix/System.Native/pal_signal.c
+8 −0 src/Native/Unix/System.Native/pal_signal.h
+4 −2 src/System.Configuration.ConfigurationManager/tests/Mono/ConfigurationManagerTest.cs
+6 −0 src/System.Console/src/System.Console.csproj
+177 −49 src/System.Console/src/System/ConsolePal.Unix.cs
+7 −7 src/System.Console/src/System/TermInfo.cs
+36 −0 src/System.Console/tests/CancelKeyPress.Unix.cs
+1 −0 src/System.Console/tests/TermInfo.cs
+4 −1 src/System.Data.SqlClient/pkg/System.Data.SqlClient.pkgproj
+1 −1 src/System.Data.SqlClient/src/Configurations.props
+3 −6 src/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs
+5 −3 src/System.Diagnostics.Process/tests/ProcessTests.cs
+1 −1 src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/FuzzyTests.cs
+1 −1 src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsUserErrors.cs
+3 −1 src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsWrite.cs
+7 −5 src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsWriteEvent.cs
+7 −7 ....DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ActiveDirectoryInterSiteTransportTests.cs
+8 −8 src/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/DirectoryContextTests.cs
+84 −84 src/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/DomainControllerTests.cs
+3 −3 src/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs
+22 −1 src/System.IO.FileSystem/src/System/IO/FileSystem.Windows.cs
+17 −0 src/System.IO.FileSystem/tests/File/GetSetTimes.cs
+51 −1 src/System.IO.FileSystem/tests/FileInfo/Exists.cs
+17 −0 src/System.IO.FileSystem/tests/FileInfo/GetSetTimes.cs
+4 −5 src/System.IO.Pipes.AccessControl/pkg/System.IO.Pipes.AccessControl.pkgproj
+3 −3 src/System.IO.Ports/tests/SerialPort/GetPortNames.cs
+1 −1 src/System.IO.Ports/tests/SerialPort/OpenDevices.cs
+6 −0 src/System.IO.Ports/tests/Support/TCSupport.cs
+1 −0 src/System.Memory/dir.props
+3 −2 src/System.Memory/pkg/System.Memory.pkgproj
+4 −4 src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnection.cs
+4 −0 src/System.Net.HttpListener/tests/GetContextHelper.cs
+27 −27 src/System.Net.HttpListener/tests/HttpListenerAuthenticationTests.cs
+15 −15 src/System.Net.HttpListener/tests/HttpListenerContextTests.cs
+38 −38 src/System.Net.HttpListener/tests/HttpListenerPrefixCollectionTests.cs
+29 −29 src/System.Net.HttpListener/tests/HttpListenerRequestTests.cs
+12 −12 src/System.Net.HttpListener/tests/HttpListenerResponseTests.Cookies.cs
+53 −53 src/System.Net.HttpListener/tests/HttpListenerResponseTests.Headers.cs
+16 −16 src/System.Net.HttpListener/tests/HttpListenerResponseTests.cs
+13 −13 src/System.Net.HttpListener/tests/HttpListenerTests.cs
+23 −23 src/System.Net.HttpListener/tests/HttpListenerTimeoutManagerTests.cs
+17 −17 src/System.Net.HttpListener/tests/HttpListenerWebSocketTests.cs
+20 −20 src/System.Net.HttpListener/tests/HttpRequestStreamTests.cs
+22 −22 src/System.Net.HttpListener/tests/HttpResponseStreamTests.cs
+2 −2 src/System.Net.HttpListener/tests/InvalidClientRequestTests.cs
+10 −10 src/System.Net.HttpListener/tests/SimpleHttpTests.cs
+1 −1 src/System.Net.HttpListener/tests/WebSocketTests.cs
+25 −25 src/System.Net.Sockets/src/System/Net/Sockets/SocketAsyncEventArgs.Windows.cs
+84 −15 src/System.Net.Sockets/tests/FunctionalTests/SendReceive.cs
+4 −4 src/System.Net.Sockets/tests/FunctionalTests/SocketOptionNameTest.cs
+1 −0 src/System.Net.WebSockets.Client/tests/LoopbackHelper.cs
+1 −0 src/System.Net.WebSockets.WebSocketProtocol/dir.props
+29 −7 src/System.Net.WebSockets.WebSocketProtocol/tests/WebSocketProtocolTests.cs
+3 −0 src/System.Reflection.DispatchProxy/pkg/System.Reflection.DispatchProxy.pkgproj
+4 −1 src/System.Reflection.DispatchProxy/ref/Configurations.props
+3 −1 src/System.Runtime.CompilerServices.Unsafe/pkg/System.Runtime.CompilerServices.Unsafe.pkgproj
+1 −0 src/System.ServiceProcess.ServiceController/tests/SafeServiceControllerTests.cs
+1 −0 src/System.Threading.Tasks.Extensions/dir.props
+4 −1 src/System.Threading.Tasks.Extensions/pkg/System.Threading.Tasks.Extensions.pkgproj
+33 −1 src/packages.builds
+1 −1 tools-local/ILAsmVersion.txt
2 changes: 1 addition & 1 deletion src/websdk
Loading