Skip to content

Commit

Permalink
[maestro] setup direct subscription for dotnet/runtime (#9239)
Browse files Browse the repository at this point in the history
Changes: dotnet/runtime@fe0cfd5...c4a7987

.NET 9 RC 1 will include security fixes, so the very latest builds
will be internal. As a way for us to test the newest possible *public*
builds, we can update dotnet/runtime *ahead* of dotnet/sdk.

To do this:

* Remove `CoherentParentDependency="Microsoft.NET.Sdk"` from
  `eng/Version.Details.xml`.

* Find a commit at: https://github.com/dotnet/runtime/commits/release/9.0-rc1

* Get the BAR build id for the commit:

    > darc get-build --repo dotnet/runtime --commit c4a79875fcb2c76b2e92ff50940d4ea9264e2eeb
    Repository:    https://github.com/dotnet/runtime
    Branch:        release/9.0-rc1
    Commit:        c4a79875fcb2c76b2e92ff50940d4ea9264e2eeb
    Build Number:  20240821.1
    Date Produced: 8/21/2024 7:33 AM
    AzDO Build Id: 2520584
    BAR Build Id:  235694
    Released:      False
    Channels:
    - .NET 9 RC 1

* Get the latest update:

    > darc update-dependencies --id 235694
    Looking up build with BAR id 235694
    Updating 'Microsoft.NETCore.App.Ref': '9.0.0-rc.1.24420.11' => '9.0.0-rc.1.24421.1' (from build '20240821.1' of 'https://github.com/dotnet/runtime')
    Checking for coherency updates...
    Using 'Strict' coherency mode. If this fails, a second attempt utilizing 'Legacy' Coherency mode will be made.
    Updating 'Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport': '9.0.0-rc.1.24416.2' => '9.0.0-rc.1.24420.5' to ensure coherency with Microsoft.NETCore.App.Ref@9.0.0-rc.1.24421.1
    Local dependencies updated based on build with BAR id 235694 (20240821.1 from https://github.com/dotnet/runtime@release/9.0-rc1)

After this is merged, we can add a new daily subscription, such as:

    > darc add-subscription --channel ".NET 9 RC 1" --target-branch "release/9.0.1xx-rc1" --source-repo https://github.com/dotnet/runtime --target-repo https://github.com/dotnet/android
  • Loading branch information
jonathanpeppers authored Aug 22, 2024
1 parent 53b9075 commit b5e7598
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>fe0cfd55339cc2a0d745f742a48d5e880c112ec2</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.App.Ref" Version="9.0.0-rc.1.24420.11" CoherentParentDependency="Microsoft.NET.Sdk">
<Dependency Name="Microsoft.NETCore.App.Ref" Version="9.0.0-rc.1.24421.1">
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>fe0cfd55339cc2a0d745f742a48d5e880c112ec2</Sha>
<Sha>c4a79875fcb2c76b2e92ff50940d4ea9264e2eeb</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport" Version="9.0.0-rc.1.24416.2" CoherentParentDependency="Microsoft.NETCore.App.Ref">
<Dependency Name="Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport" Version="9.0.0-rc.1.24420.5" CoherentParentDependency="Microsoft.NETCore.App.Ref">
<Uri>https://github.com/dotnet/emsdk</Uri>
<Sha>459c92904b224d125a350a3f3e431fe90152a95e</Sha>
</Dependency>
Expand Down
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<MicrosoftNETSdkPackageVersion>9.0.100-rc.1.24421.9</MicrosoftNETSdkPackageVersion>
<MicrosoftDotnetSdkInternalPackageVersion>$(MicrosoftNETSdkPackageVersion)</MicrosoftDotnetSdkInternalPackageVersion>
<MicrosoftNETILLinkTasksPackageVersion>9.0.0-rc.1.24420.11</MicrosoftNETILLinkTasksPackageVersion>
<MicrosoftNETCoreAppRefPackageVersion>9.0.0-rc.1.24420.11</MicrosoftNETCoreAppRefPackageVersion>
<MicrosoftNETCoreAppRefPackageVersion>9.0.0-rc.1.24421.1</MicrosoftNETCoreAppRefPackageVersion>
<MicrosoftDotNetApiCompatPackageVersion>7.0.0-beta.22103.1</MicrosoftDotNetApiCompatPackageVersion>
<MicrosoftDotNetBuildTasksFeedPackageVersion>9.0.0-beta.24408.2</MicrosoftDotNetBuildTasksFeedPackageVersion>
<MicrosoftNETWorkloadEmscriptenCurrentManifest90100TransportVersion>9.0.0-rc.1.24416.2</MicrosoftNETWorkloadEmscriptenCurrentManifest90100TransportVersion>
<MicrosoftNETWorkloadEmscriptenCurrentManifest90100TransportVersion>9.0.0-rc.1.24420.5</MicrosoftNETWorkloadEmscriptenCurrentManifest90100TransportVersion>
<MicrosoftNETWorkloadEmscriptenPackageVersion>$(MicrosoftNETWorkloadEmscriptenCurrentManifest90100TransportVersion)</MicrosoftNETWorkloadEmscriptenPackageVersion>
<MicrosoftTemplateEngineTasksPackageVersion>7.0.100-rc.1.22410.7</MicrosoftTemplateEngineTasksPackageVersion>
<MicrosoftDotNetCecilPackageVersion>0.11.5-alpha.24413.1</MicrosoftDotNetCecilPackageVersion>
Expand Down

0 comments on commit b5e7598

Please sign in to comment.