Releases: microsoft/mu_devops
v7.0.1
What's Changed
-
.sync/Version.njk: Update to Rust 1.73.0 @makubacki (#261)
Change Details
Updates to the latest Rust version currently available to allow code to use the latest features.
Full Changelog: v7.0.0...v7.0.1
v7.0.0
What's Changed
⚠️ Breaking Changes
-
Fix Python minor version and update to Python 3.12 [Rebase \& FF] @makubacki (#259)
Change Details
Because of the way the Python version was managed, pipelines already started picking up [Python 3.12](https://www.python.org/downloads/release/python-3120/).
Also, tool like pytools are releasing 3.12 support. This change fixes
the minor version to prevent unintentional minor version updates in
the future and explicitly sets the minor version to12
.This files synced from this PR should merged into repos after the pytools
release is out with 3.12 support and this mu_basecore change is completed
(microsoft/mu_basecore#586). Though since pipelines
already moved to 3.12 as-is, it won't make much of a practical difference.Three commits:
Fix Python minor version
Set to Python 3.11 (current) but do not allow newer minor versions to
be picked up unless explicitly specified.
Update to Python 3.12
Repos had already started picking up 3.12 because the minor version
was previously not fixed. This change update the Python version to
3.12 to accelerate adoption and ensure compatibility.
.sync/Version.njk: Update Mu repos to Mu DevOps v7.0.0
Changes since last release:
v6.5.1...v7.0.0General release info: https://github.com/microsoft/mu_devops/releases
Full Changelog: v6.5.2...v7.0.0
v6.5.2
What's Changed
-
Add UploadCodeCoverage Template @Javagedes (#258)
Change Details
Add a new template, UploadCodeCoverage, that can be used to upload a code coverage document (such as cobertura) to codecov.io.
Uses the
-Z
flag, which will cause the step to fail if uploading fails for any reason.See: https://dev.azure.com/projectmu/mu/_build/results?buildId=55185&view=results for a working example.
Closed #257 but this should be usable in non-rust environments. I will start uploading all code coverage (such as for mu_basecore) once I have
stuart_report
merged and being used to clean up the code coverage data.
-
.sync/Version.njk: Update Mu repos to Mu DevOps v6.5.1 @makubacki (#255)
Change Details
Changes since last release: https://github.com/microsoft/mu_devops/compare/v6.4.1...v6.5.1
General release info: https://github.com/microsoft/mu_devops/releases
Full Changelog: v6.5.1...v6.5.2
v6.5.1
What's Changed
-
MuDevOpsWrapper.yml: Set container\_build parameter @makubacki (#253)
Change Details
Sets the parameter to true since this usage of the template is always using a container.
Full Changelog: v6.5.0...v6.5.1
v6.5.0
What's Changed
-
.sync/Files.yml: Drop Makefile.toml sync to mu\_rust\_hid @makubacki (#251)
Change Details
Do not sync the file since the repo is not planned to host UEFI rust code at this time which the makefile helps cater to.
-
.sync/Version.njk: Update Mu repos to Mu DevOps v6.4.1 @makubacki (#250)
Change Details
Changes since last release: https://github.com/microsoft/mu_devops/compare/v6.1.0...v6.4.1
General release info: https://github.com/microsoft/mu_devops/releases
🚀 Features & ✨ Enhancements
-
Steps/RustCargoSteps.yml: Parameterize commands @makubacki (#252)
Change Details
Allows the format, test, and build commands to be customized by a caller. The default values remain the same as the previous commands for backward compatibility.
Repos that only contain pure Rust code may choose to pass conventional
cargo commands or custom wrapper commands.
Full Changelog: v6.4.1...v6.5.0
v6.4.1
What's Changed
-
.sync/Files.yml: Sync files to mu\_rust\_hid [Rebase \& FF] @makubacki (#244)
Change Details
Adds the mu_rust_hid repo as a file sync target for relevant files.
🐛 Bug Fixes
-
Conditionalize RustSetupSteps.yml to Non-Self-Hosted Agents @kuqin12 (#246)
Change Details
The current rust setup script embedded for package CI build will cause failures on selfhosted agent pipelines.
On Windows AARCH64 agents, the failure is due to the installation of toolchain is currently specified to be x86_64, which will not succeed on AARCH64 systems in the self-host pool. In addition, the update will apply to installed cargo, which could cause conflict when multiple agents run on the same host system.
On Linux agents, the failure is due to modifications made to container permissions. Self-hosted Linux agents do not use containers.
The change here removes the toolchain installation steps for selfhost agent matrix builds as it assumes these systems preset the needed environment properly.
Full Changelog: v6.4.0...v6.4.1
v6.4.0
What's Changed
-
RustSetupSteps: Add target triple detection @makubacki (#247)
Change Details
Adds a step to determine the target triple for the host platform that can be reused by other steps. It is currently used in the `rustup component add` command issued later in the file.
🚀 Features & ✨ Enhancements
-
.sync/dependabot: Add cargo ecosystem @makubacki (#245)
Change Details
Allows crate dependencies to be updated by dependabot.
🐛 Bug Fixes
-
.sync/Makefile.toml: Resolve cargo-tarpaulin breaking changes @makubacki (#249)
Change Details
Tarpaulin 0.27 was released on September 17, 2023: https://github.com/xd009642/tarpaulin/releases/tag/0.27.0
The clap crate (Command Line Argument Parser) dependency within
tarpaulin was upgraded in the 0.27 release from an old version
(v2) to the latest major version (v4):Upgraded from clap v2 to v4. This has a few changes, notably any arguments which can be specified more than once require multiple entries so --run-types doc test needs to be turned into --run-types doc --run-types test
This means passing packages to a single
-p
parameter as a comma-
separated list is no longer supported:[cargo-make] Execute Command: "cargo" "tarpaulin" "-p" \ "HelloWorldRustDxe,RustBootServicesAllocatorDxe" cargo_tarpaulin::config: Creating config cargo_tarpaulin: Running Tarpaulin cargo_tarpaulin: Building project cargo_tarpaulin::cargo: Cleaning project error: invalid character `,` in pkgid: `HelloWorldRustDxe,RustBootServicesAllocatorDxe`, characters must be Unicode XID characters (numbers, `-`, `_`, or most letters)
Providing users the ability to pass packages separated by commas to
cargo make coverage
is convenient and assumed in our documentation
and wrapper scripts.This change retains the same user-facing interface to
cargo make coverage
while using a duckscript within the cargo makefile to transform the
list to the format accepted by tarpaulin. Other commands are unchanged.Duckscript is useful because it is readily embedded in cargo-make so
no additional dependencies are required and it is cross-platform.
In addition, a minor fix is made by changing
Html
tohtml
for the
following issue:[cargo-make] Execute Command: "cargo" "tarpaulin" "--out" "Html" "--exclude-files" "**/tests/*" "--output-dir" "D:\\src\\mu_plus/target" error: invalid value 'Html' for '--out [<FMT>...]' [possible values: json, stdout, xml, html, lcov] tip: a similar value exists: 'html'
</blockquote> <hr> </details>
Full Changelog: v6.3.0...v6.4.0
v6.3.0
What's Changed
🚀 Features & ✨ Enhancements
-
.sync/workflows/leaf/codeql: Remove build dirs @makubacki (#242)
Change Details
Intermediate build files are sometimes left in build directories during CodeQL execution. This is particularly more prevalent in module directories that contain Rust files. These files have very long names, for example:
D:\a\mu_tiano_platforms\Build\QemuQ35Pkg \DEBUG_VS2022\X64\MsCorePkg\HelloWorldRustDxe\HelloWorldRustDxe \DEBUG\x86_64-unknown-uefi\debug\incremental \rust_boot_services_allocator_dxe-2f5m6unckl0t8 \s-gorl2pbwn9-18oh534-e4zntah436u40i7hceav0825j
CodeQL actions have well known and unresolved issues with long paths
when they're scanning directories for files.The directories where these files may be left are not needed after
build and it takes about 3 seconds to remove them so that is done
in this change.
Tested on fork. Example:
https://github.com/makubacki/mu_tiano_platforms/actions/runs/6204825673
Full Changelog: v6.2.0...v6.3.0
v6.2.0
What's Changed
-
.sync/workflows/leaf/codeql-platform.yml: Bump actions/checkout to v4 @makubacki (#240)
Change Details
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4 in this leaf workflow.
Release notes
Sourced from actions/checkout's releases.
v4.0.0
What's Changed
- Update default runtime to node20 by
@takost
in actions/checkout#1436 - Support fetching without the --progress option by
@simonbaird
in actions/checkout#1067 - Release 4.0.0 by
@takost
in actions/checkout#1447
New Contributors
@takost
made their first contribution in actions/checkout#1436@simonbaird
made their first contribution in actions/checkout#1067
Full Changelog: actions/checkout@v3...v4.0.0
v3.6.0
What's Changed
- Mark test scripts with Bash'isms to be run via Bash by
@dscho
in actions/checkout#1377 - Add option to fetch tags even if fetch-depth > 0 by
@RobertWieczoreck
in actions/checkout#579 - Release 3.6.0 by
@luketomlinson
in actions/checkout#1437
New Contributors
@RobertWieczoreck
made their first contribution in actions/checkout#579@luketomlinson
made their first contribution in actions/checkout#1437
Full Changelog: actions/checkout@v3.5.3...v3.6.0
v3.5.3
What's Changed
- Fix: Checkout Issue in self hosted runner due to faulty submodule check-ins by
@megamanics
in actions/checkout#1196 - Fix typos found by codespell by
@DimitriPapadopoulos
in actions/checkout#1287 - Add support for sparse checkouts by
@dscho
and@dfdez
in actions/checkout#1369 - Release v3.5.3 by
@TingluoHuang
in actions/checkout#1376
New Contributors
@megamanics
made their first contribution in actions/checkout#1196@DimitriPapadopoulos
made their first contribution in actions/checkout#1287@dfdez
made their first contribution in actions/checkout#1369
Full Changelog: actions/checkout@v3...v3.5.3
v3.5.2
What's Changed
- Fix: Use correct API url / endpoint in GHES by
@fhammerl
in actions/checkout#1289 based on #1286 by@1newsr
Full Changelog: actions/checkout@v3.5.1...v3.5.2
v3.5.1
What's Changed
- Improve checkout performance on Windows runners by upgrading
@actions/github
dependency by@BrettDong
in actions/checkout#1246
New Contributors
@BrettDong
made their first contribution in actions/checkout#1246
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
Changelog
v4.0.0
v3.6.0
- Fix: Mark test scripts with Bash'isms to be run via Bash
- Add option to fetch tags even if fetch-depth > 0
v3.5.3
- Fix: Checkout fail in self-hosted runners when faulty submodule are checked-in
- Fix typos found by codespell
- Add support for sparse checkouts
v3.5.2
v3.5.1
v3.5.0
v3.4.0
v3.3.0
- Implement branch list using callbacks from exec function
- Add in explicit reference to private checkout options
- [Fix comment typos (that got added in #770)](actions/checkout#1057)
v3.2.0
- Add GitHub Action to perform release
- Fix status badge
- Replace datadog/squid with ubuntu/squid Docker image
- Wrap pipeline commands for submoduleForeach in quotes
- Update
@actions/io
to 1.1.2 - Upgrading version to 3.2.0
v3.1.0
v3.0.2
v3.0.1
... (truncated)
- Update default runtime to node20 by
v6.1.1
What's Changed
-
Add mu\_tiano\_platforms to Rust Sync @makubacki (#237)
Change Details
Two changes:
Add
extra_cargo_steps
parameter in MuDevOpsWrapper.ymlThe
extra_cargo_steps
parameter allows a repo extending
MuDevOpsWrapper.yml to specify a step list that should be executed
before running the standard set of cargo commands in the repo
(to build and test).
Opt mu_tiano_platforms into Rust file sync
Syncs the normal set of workspace-level Rust files to the
mu_tiano_platforms repo.
-
.sync/RustSetupSteps.yml: Update leaf file to match current @makubacki (#236)
Change Details
Updates the workflow to be able to build Rust code if present in a repo. The Rust toolchain is installed by default, so this simply installs `cargo make` and installs `rust-src`.
cargo-make
is cached so it can be reused across runs until the
next version is published in the upstream repo.
-
.sync/Version.njk: Update Mu repos to Mu DevOps v6.1.0 @makubacki (#234)
Change Details
Changes since last release: https://github.com/microsoft/mu_devops/compare/v6.0.0...v6.1.0
General release info: https://github.com/microsoft/mu_devops/releases
Full Changelog: v6.1.0...v6.1.1