Releases: microsoft/mu_devops
v2.5.2
What's Changed
-
.sync/Version.njk: Update Mu repos to Mu DevOps v2.5.1 @makubacki (#170)
Change Details
Changes since last release: https://github.com/microsoft/mu_devops/compare/v2.4.0...v2.5.1
General release info: https://github.com/microsoft/mu_devops/releases
🐛 Bug Fixes
-
.sync/codeql: Use pull\_request trigger type @makubacki (#173)
Change Details
This workflow needs to run against code on the PR merge branch and since it is just building it only needs minimal, read-only token permissions so this change updates the trigger type from `pull_request_target` to `pull_request`.
Full Changelog: v2.5.1...v2.5.2
v2.5.1
What's Changed
-
<Binary/Other>CopyAndPublish.yml: Use bash to parse parameter string @makubacki (#171)
Change Details
Uses bash to parse a parameter string that could be empty since it is more robust and consistent than directly depending on pipeline string interpretation logic.
This treats the following strings as "empty":
- ""
- " "
Full Changelog: v2.5.0...v2.5.1
v2.5.0
What's Changed
-
.sync/Version.njk: Update Linux build container to Fedora 37 3b3eb8f @makubacki (#165)
Change Details
Updates the Fedora 37 build container from f1c7a20 to 3b3eb8f.
Summary of updates:
- Enable GTK on Fedora QEMU
- Install vim and nano
- Set up a user to match the outside user
- Add the user to the sudo/wheel group to allow them to use sudo, and set a password
Signed-off-by: Michael Kubacki [email protected]
🚀 Features & ✨ Enhancements
-
Add Issue Assignment workflow @makubacki (#169)
Change Details
Resolves #166
Adds a new GitHub workflow that runs when an issue is assigned.
While additional behavior can be added in the future, right now the
workflow only removes thestate:needs-owner
label if present.
-
.sync/codeql: Attempt to upload logs in case of success and failures @makubacki (#168)
Change Details
Currently, log artifacts are only uploaded in case of success. This change also uploads logs in case of failures to aid in debugging.
🐛 Bug Fixes
-
Add quotes to git safe.directory in .devcontainer to fix parsing error @cfernald (#167)
Change Details
Currently the git command fails because the * is not parsed correctly in command line without the quote. This resolves this issue.
Full Changelog: v2.4.1...v2.5.0
v2.4.1
What's Changed
-
.sync/submodule-release-update.yml: Add Nunjucks raw text tags @makubacki (#164)
Change Details
Surrounds the GitHub token syntax with raw tags to indicate that the curly braces should not be interpreted as a Nunjucks expression or variable and treated as a literal.
Signed-off-by: Michael Kubacki [email protected]
-
.sync/dependabot: Ignore submodules with versioned releases @makubacki (#163)
Change Details
Submodules with versioned releases will now be updated with the Submodule Release Updater action so there is no need for dependabot to create duplicate PRs for non-release updates of these submodules.
Signed-off-by: Michael Kubacki [email protected]
Full Changelog: v2.4.0...v2.4.1
v2.4.0
What's Changed
-
.sync/dependabot: Disable automatic rebasing @makubacki (#159)
Change Details
Sets the rebase-strategy to "disabled" to prevent automatic rebasing.
This prevents CI resources from building changes that may not actually
be merged for a while (and need to be rebuilt later again).Rebasing can be done manually in the dependabot PR either through
the GitHub UI or the dependabot command or via a push to the
dependabot PR branch.
🚀 Features & ✨ Enhancements
-
Add Submodule Release Updater GitHub Action and Workflow [Rebase \& FF] @makubacki (#161)
Change Details
Adds an action with a leaf workflow to update submodules in a repository to the latest GitHub release available for the submodule.
Changes:
1. .github/actions: Add initial Submodule Release Updater GitHub Action
Adds an action that checks if any submodules in a repository have a
GitHub release available. If so, the submodule is updated to the
latest release and a pull request is made in the repository for
the submodule update.2. .sync/Files.yml: Sync Submodule Release Update workflow
Syncs a new workflow to update submodules to the latest GitHub
release to mu_tiano_platforms.3. .sync/Version.njk: Update Mu repos to Mu DevOps v2.4.0
Updates to v2.4.0 so the GitHub action is available.
Changes since last release:
v2.3.0...v2.4.0General release info: https://github.com/microsoft/mu_devops/releases
Example Pull Requests Created by the Action (on fork):
Signed-off-by: Michael Kubacki [email protected]
Full Changelog: v2.3.3...v2.4.0
v2.3.3
What's Changed
-
.sync/Files.yml: Sync release drafter to mu\_basecore @makubacki (#158)
Change Details
Syncs the following files to mu_basecore to enable the release drafter workflow in that repo.
release-draft.yml
- Leaf workflowrelease-draft-config.yml
- Action config file
Signed-off-by: Michael Kubacki [email protected]
-
.sync/dependabot: Check for submodule updates weekly @makubacki (#157)
Change Details
Reduce frequency of submodule checks from daily to weekly to reduce CI thrash.
Signed-off-by: Michael Kubacki [email protected]
Full Changelog: v2.3.2...v2.3.3
v2.3.2
What's Changed
🐛 Bug Fixes
-
codeql.yml: Remove PIP caching from pkg gathering @makubacki (#156)
Change Details
PIP modules are not pulled down during the initial job in the CodeQL workflow (package gathering) so PIP caching is not needed.
Also works around a setup-python task issue that fails to ignore cache
contents if they do not previously exist and are not populated during the job.Signed-off-by: Michael Kubacki [email protected]
Full Changelog: v2.3.1...v2.3.2
v2.3.1
What's Changed
-
Jobs/PrGate.yml: Add Linux container option parameter @makubacki (#155)
Change Details
Allows the caller to specify options passed to the Linux container.
See the following article for more information about
options:
. https://learn.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops#options
-
.sync/workflows/codeql.yml: Add PIP module caching @makubacki (#152)
Change Details
Adds caching of PIP dependencies. This reduces overall execution time and decreases likelihood of a network error reaching out pypi to get the dependencies.
Caching happens automatically based on pip-requirements.txt.
https://github.com/actions/setup-python#caching-packages-dependencies
Every job before:
Run pip install -r pip-requirements.txt --upgrade Collecting edk2-pytool-library==0.14.0 Downloading edk2_pytool_library-0.14.0-py3-none-any.whl (468 kB) -------------------------------------- 468.7/468.7 kB 2.7 MB/s eta 0:00:00 Collecting edk2-pytool-extensions==0.22.2 Downloading edk2_pytool_extensions-0.22.2-py3-none-any.whl (2.5 MB) ---------------------------------------- 2.5/2.5 MB 10.7 MB/s eta 0:00:00 Collecting edk2-basetools==0.1.29 Downloading edk2_basetools-0.1.29-py3-none-any.whl (1.3 MB) ---------------------------------------- 1.3/1.3 MB 4.5 MB/s eta 0:00:00 Collecting antlr4-python3-runtime==4.12.0 Downloading antlr4_python3_runtime-4.12.0-py3-none-any.whl (144 kB) -------------------------------------- 144.4/144.4 kB 2.2 MB/s eta 0:00:00 Collecting regex==2023.3.23 Downloading regex-2023.3.23-cp311-cp311-win_amd64.whl (267 kB) -------------------------------------- 267.7/267.7 kB 2.4 MB/s eta 0:00:00 ...
Jobs after:
Run pip install -r pip-requirements.txt --upgrade Collecting edk2-pytool-library==0.14.0 Using cached edk2_pytool_library-0.14.0-py3-none-any.whl (468 kB) Collecting edk2-pytool-extensions==0.22.2 Using cached edk2_pytool_extensions-0.22.2-py3-none-any.whl (2.5 MB) Collecting edk2-basetools==0.1.29 Using cached edk2_basetools-0.1.29-py3-none-any.whl (1.3 MB) Collecting antlr4-python3-runtime==4.12.0 Using cached antlr4_python3_runtime-4.12.0-py3-none-any.whl (144 kB) Collecting regex==2023.3.23 Using cached regex-2023.3.23-cp311-cp311-win_amd64.whl (267 kB) ...
Signed-off-by: Michael Kubacki [email protected]
-
Add QemuPkg to CI for mu\_tiano\_platforms @cfernald (#150)
Change Details
Adds the QEMU package introduced by https://github.com/microsoft/mu_tiano_platforms/pull/444 to the CI for mu_tiano_platforms.
-
.sync/Version.njk: Update Mu repos to Mu DevOps v2.3.0 @makubacki (#149)
Change Details
Changes since last release: https://github.com/microsoft/mu_devops/compare/v2.2.0...v2.3.0
General release info: https://github.com/microsoft/mu_devops/releases
Full Changelog: v2.3.0...v2.3.1
v2.3.0
What's Changed
-
Directly install opencppcoverage without choco @cfernald (#148)
Change Details
Chocolatey is no available in all build evnironments. This change removes the use of choco as a wrapper for downloading and installing opencppcoverage.
-
Add variable to prevent checkout step, for pipelines that need it @apop5 (#147)
Change Details
Some containers may have performed the checkout step earlier, either for code scanning or for other reasons.
Proposal to add a variable to prevent the checkout step for those repos /containers that have already taken the step.
-
Updated CmdLine@1 tasks touse CmdLine@2 @apop5 (#146)
Change Details
Some pipeline now block CmdLine@1 tasks with the error message:
##[error]Task 'Command Line' is using legacy execution handler which is not supported in container execution flow.
Changed all CmdLine@1 tasks to use CmdLine@2.
-
.sync/Version.njk: Update Linux build container to Fedora 37 image @makubacki (#144)
Change Details
Updates the Linux build container from Fedora 35 to Fedora 37 image.
Closes #145
Summary of updates:
- Fedora 35 to Fedora 37 (minimal image)
- NEW: gcc for LoongArch (2022-09-06)
- UPDATED: gcc 11.2.1 to gcc 12.2 (x86, x64, arm, aarch64, riscv)
- UPDATED: Python 3.10 to Python 3.11
- UPDATED: Qemu 6.10 to Qemu 7.2 (x86, arm, aarch64)
- NO CHANGE: nasm 2.15.05
- Fedora 35 to Fedora 37 (minimal image)
🚀 Features & ✨ Enhancements
-
Create code coverage post-processing steps and integrate into PR Jobs @cfernald (#138)
Change Details
1. Switch to coverage files per-matrix to not publish coverage 2. Add steps to download and merge/filter all artifacts 3. Integrates steps into job templates.
Issue #84
Full Changelog: v2.2.3...v2.3.0
v2.2.3
What's Changed
-
.sync/Files.yml: Move CodeQL workflow comment @makubacki (#143)
Change Details
Move out of the `repos` list and append onto the preceding group description.
Signed-off-by: Michael Kubacki [email protected]
-
.sync/Files.yml: Remove CodeQL workflow from mu\_silicon\_arm\_tiano @makubacki (#142)
Change Details
The workflow currently builds on Visual Studio due to a CodeQL extractor bug. ARM packages only build on GCC in CI right now.
Signed-off-by: Michael Kubacki [email protected]
-
.sync/Files.yml: Sync CodeQL workflow to additional repos @makubacki (#140)
Change Details
Syncs the CodeQL leaf workflow to the following additional repos:
- microsoft/mu_feature_config
- microsoft/mu_feature_ipmi
- microsoft/mu_oem_sample
- microsoft/mu_silicon_arm_tiano
The workflow is now synced to all Mu repos with large amounts of
C code except mu_tiano_platforms. That will be included in a
future change.Signed-off-by: Michael Kubacki [email protected]
-
Notebooks: Fix mu\_silicon\_arm\_tiano repo name typo @makubacki (#139)
Change Details
Fixes repo name typo so results are returned from the repo.
Full Changelog: v2.2.2...v2.2.3