Skip to content
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

[release/9.0.1xx-rc1] [maestro] setup direct subscription for dotnet/runtime #9239

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

jonathanpeppers
Copy link
Member

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:

    > 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

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
@jonathanpeppers
Copy link
Member Author

/cc @rolfbjarne you might want to setup something similar for xamarin/xamarin-macios.

@jonathanpeppers jonathanpeppers marked this pull request as ready for review August 22, 2024 13:26
<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">
Copy link
Member Author

Choose a reason for hiding this comment

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

Looks like this is working, from the build log:

         Writing workload pack installation record for Microsoft.NETCore.App.Runtime.Mono.android-x86 version 9.0.0-rc.1.24421.1...
         Installing pack Microsoft.NET.Runtime.MonoAOTCompiler.Task version 9.0.0-rc.1.24421.1...

@jonathanpeppers jonathanpeppers merged commit b5e7598 into release/9.0.1xx-rc1 Aug 22, 2024
58 checks passed
@jonathanpeppers jonathanpeppers deleted the runtime-subscription-rc1 branch August 22, 2024 16:20
@github-actions github-actions bot locked and limited conversation to collaborators Sep 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants