Skip to content

.NET Release (3.1, 5.0) #2961

Closed
Closed

Description

@mthalman

.NET Release

Release Versions

The set of .NET versions that are being released as a unit.

  • 3.1.17/3.1.411
  • 5.0.8/5.0.302

1. Main Branch Tasks

    • Check whether a change has been made to a Dockerfile that is shared by multiple .NET versions. If a change has been made and the .NET versions that share that file are not being released at the same time, define a separate Dockerfile to isolate the change to the .NET version that's being released. Conversely, after a shared Dockerfile has diverged in such a way, it should be combined again into a shared Dockerfile when the other other .NET version is released. Shared Dockerfiles to check:
      • 3.1 runtime-deps shared with 5.0 and 6.0
    • Wait for .NET archive files (.zip, .tar.gz) to be available at blob storage location
    • Run update-dependencies tool to update all the necessary files to reflect the specified .NET versions (run this command for each version being released):
      • ./eng/Set-DotnetVersions.ps1 -ProductVersion 3.1 -SdkVersion 3.1.411 -RuntimeVersion 3.1.17 -AspnetVersion 3.1.17
      • ./eng/Set-DotnetVersions.ps1 -ProductVersion 5.0 -SdkVersion 5.0.302 -RuntimeVersion 5.0.8 -AspnetVersion 5.0.8
    • Inspect generated changes for correctness
    • Commit generated changes
    • Create PR
    • Get PR signoff
    • Merge PR
    • Build images - Queue build stage of dotnet-docker pipeline (internal MSFT link) with variables:

      All releases:

       stages: build
      

      Servicing release (exclude 5.0/6.0 if separate runtime-deps Dockerfiles were defined):

       noCache: true
       imageBuilder.pathArgs: --path 'src/*/3.1/*' --path 'src/*/5.0/*' --path 'src/*/6.0/*' --path 'src/monitor/*'
      
    • Wait for NuGet packages to be published during release tic-toc
    • Test and publish images - Queue build of dotnet-docker pipeline (internal MSFT link) with variables:

      All releases:

       stages: test;publish
       sourceBuildId: <Build ID from the build stage>
      

      Servicing release (exclude 5.0/6.0 if separate runtime-deps Dockerfiles were defined):

       imageBuilder.pathArgs: --path 'src/*/3.1/*' --path 'src/*/5.0/*' --path 'src/*/6.0/*' --path 'src/monitor/*'
      

2. Sample Images (Not needed for Preview-only release)

    • Confirm sample images have been ingested by MCR

3. Nightly Branch Tasks (Not needed for Preview-only release)

    • Merge main branch to nightly
    • Run the same update-dependencies command(s) in nightly that were run for the main branch
    • Inspect generated changes for correctness
    • Commit generated changes
    • Create PR
    • Get PR signoff
    • Merge PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions