From 2b4305d3051e923070865a1df37b5c34e5c41bd4 Mon Sep 17 00:00:00 2001 From: Aaron Pop Date: Fri, 28 Mar 2025 10:36:05 -0700 Subject: [PATCH 1/2] .sync/Version.njk: Update linux_build_container for 1.84.0 toolchain. Update Readme.rst to contain details on process for updating rust_toolchain versions. --- .sync/Version.njk | 2 +- ReadMe.rst | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.sync/Version.njk b/.sync/Version.njk index b9646ec3..4ad738e5 100644 --- a/.sync/Version.njk +++ b/.sync/Version.njk @@ -37,7 +37,7 @@ {% set previous_mu_release_branch = "release/202311" %} {# The version of the ubuntu-24-build container to use. #} -{% set linux_build_container = "ghcr.io/microsoft/mu_devops/ubuntu-24-build:d412ccd" %} +{% set linux_build_container = "ghcr.io/microsoft/mu_devops/ubuntu-24-build:b089181" %} {# The Python version to use. #} {% set python_version = "3.12" %} diff --git a/ReadMe.rst b/ReadMe.rst index 31a9cbd9..42c29676 100644 --- a/ReadMe.rst +++ b/ReadMe.rst @@ -78,7 +78,9 @@ Table of Contents - `Submodule Release Updater`_ -9. `Links`_ +9. `Steps for Updating Rust Tool Chain`_ + +10. `Links`_ Continuous Integration (CI) =========================== @@ -379,6 +381,19 @@ the GitHub action. - `.sync/workflows/leaf/submodule-release-update.yml` +Steps for Updating Rust Tool Chain +===================== + +Steps required to update the Rust tool chain in the Mu DevOps repo. The steps are as follows: + +1. Update rust_toolchain in .sync/Version.njk to the new version. +2. Run Build Containers workflow to build a new linux container image (which will use updated .sync/Version.njk). +3. Update linux_build_container in .sync/Version.njk with the new version. +4. Create new mu_devops tag. +5. Update mu_devops in .sync/Version.njk to the newly generated tag. +6. Run Sync Mu DevOps Files to Mu Repos workflow to sync the new version to all Mu repos. +7. Complete associated PRs in the Mu repos. + Links ===== - `Basic Azure Landing Site `_ From 2d3e814b4279fa3ede591895e3d361865fe047ef Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 28 Mar 2025 11:04:26 -0700 Subject: [PATCH 2/2] Update ReadMe.rst Co-authored-by: Michael Kubacki --- ReadMe.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ReadMe.rst b/ReadMe.rst index 42c29676..1c802778 100644 --- a/ReadMe.rst +++ b/ReadMe.rst @@ -386,11 +386,11 @@ Steps for Updating Rust Tool Chain Steps required to update the Rust tool chain in the Mu DevOps repo. The steps are as follows: -1. Update rust_toolchain in .sync/Version.njk to the new version. +1. Update rust_toolchain in .sync/Version.njk to the new version. PR and merge to main. 2. Run Build Containers workflow to build a new linux container image (which will use updated .sync/Version.njk). -3. Update linux_build_container in .sync/Version.njk with the new version. -4. Create new mu_devops tag. -5. Update mu_devops in .sync/Version.njk to the newly generated tag. +3. Update linux_build_container in .sync/Version.njk with the new version. PR and merge to main. +4. Create new mu_devops tag (GitHub release). +5. Update mu_devops in .sync/Version.njk to the newly generated tag. PR and merge to main. 6. Run Sync Mu DevOps Files to Mu Repos workflow to sync the new version to all Mu repos. 7. Complete associated PRs in the Mu repos.