Skip to content

Commit

Permalink
Repo File Sync: Update to Mu DevOps 3.0.0 and Ubuntu 22 container (#155)
Browse files Browse the repository at this point in the history
synced local file(s) with
[microsoft/mu_devops](https://github.com/microsoft/mu_devops).

🤖: View the [Repo File Sync Configuration
File](https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml)
to see how files are synced.

---

This PR was created automatically by the
[repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action)
workflow run
[#5095562986](https://github.com/microsoft/mu_devops/actions/runs/5095562986)

Signed-off-by: Project Mu UEFI Bot <[email protected]>
  • Loading branch information
uefibot authored May 27, 2023
1 parent ca6aae2 commit a3f89ea
Show file tree
Hide file tree
Showing 12 changed files with 139 additions and 15 deletions.
8 changes: 2 additions & 6 deletions .azurepipelines/Ubuntu-GCC5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ resources:
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: refs/tags/v2.5.1
ref: refs/tags/v3.0.0
containers:
- container: linux-gcc
image: ghcr.io/tianocore/containers/fedora-37-build:3b3eb8f
image: ghcr.io/microsoft/mu_devops/ubuntu-22-build:4a1f8d3

variables:
- group: architectures-arm-64-x86-64
Expand All @@ -34,10 +34,6 @@ jobs:
parameters:
arch_list: $(arch_list)
extra_build_args: CODE_COVERAGE=TRUE
extra_install_step:
- script: |
sudo dnf install --assumeyes mingw64-gcc
displayName: Install Windows Resource Compiler for Linux
tool_chain_tag: 'GCC5'
vm_image: $(vm_image)
container_image: linux-gcc
2 changes: 1 addition & 1 deletion .azurepipelines/Windows-VS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resources:
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: refs/tags/v2.5.1
ref: refs/tags/v3.0.0

variables:
- group: architectures-x86-64
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"image": "ghcr.io/tianocore/containers/fedora-37-dev:latest",
"image": "ghcr.io/microsoft/mu_devops/ubuntu-22-dev:latest",
"postCreateCommand": "git config --global --add safe.directory '*' && pip install --upgrade -r pip-requirements.txt",
"customizations": {
"vscode": {
Expand Down
97 changes: 97 additions & 0 deletions .github/release-draft-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# Defines the configuration used for drafting new releases.
#
# IMPORTANT: Only use labels defined in the .github/Labels.yml file in this repo.
#
# NOTE: `semver:major`, `semver:minor`, and `semver:patch` can be used to force that
# version to roll regardless of other labels.
#
# NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there
# instead of the file in this repo.
#
# - Mu DevOps Repo: https://github.com/microsoft/mu_devops
# - File Sync Settings: https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
# For more information, see:
# https://github.com/release-drafter/release-drafter

name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'

template: |
# What's Changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories:
- title: '⚠️ Breaking Changes'
labels:
- 'impact:breaking-change'
- title: '🚀 Features & ✨ Enhancements'
labels:
- 'type:design-change'
- 'type:enhancement'
- 'type:feature-request'
- title: '🐛 Bug Fixes'
labels:
- 'type:bug'
- title: '🔐 Security Impacting'
labels:
- 'impact:security'
- title: '📖 Documentation Updates'
labels:
- 'type:documentation'
- title: '🛠️ Submodule Updates'
labels:
- 'type:submodules'

change-template: >-
<ul>
<li>
$TITLE @$AUTHOR (#$NUMBER)
<br>
<details>
<summary>Change Details</summary>
<blockquote>
<!-- Non-breaking space to have content if body is empty -->
&nbsp; $BODY
</blockquote>
<hr>
</details>
</li>
</ul>
change-title-escapes: '\<*_&@' # Note: @ is added to disable mentions

# Maintenance: Keep labels organized in ascending alphabetical order - easier to scan, identify duplicates, etc.
version-resolver:
major:
labels:
- 'impact:breaking-change'
- 'semver:major'
minor:
labels:
- 'semver:minor'
- 'type:design-change'
- 'type:enhancement'
- 'type:feature-request'
patch:
labels:
- 'impact:non-functional'
- 'semver:patch'
- 'type:bug'
- 'type:documentation'
default: patch

exclude-labels:
- 'type:dependabot'
- 'type:file-sync'
- 'type:notes'
- 'type:question'

exclude-contributors:
- 'uefibot'
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
approval_check:
if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v2.5.1
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v3.0.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
merge_check:
if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v2.5.1
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v3.0.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/issue-assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ on:

jobs:
apply:
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v2.5.1
uses: microsoft/mu_devops/.github/workflows/IssueAssignment.yml@v3.0.0
2 changes: 1 addition & 1 deletion .github/workflows/label-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ on:

jobs:
apply:
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v2.5.1
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v3.0.0
2 changes: 1 addition & 1 deletion .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ on:

jobs:
sync:
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v2.5.1
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v3.0.0
31 changes: 31 additions & 0 deletions .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow automatically drafts new project releases so it is obvious
# what a current release will look like at any time.
#
# It takes advantage of the labels used in Project Mu to automatically categorize
# the types of changes in a given release. In addition, the semantic version of
# the code is constantly maintained based on Project Mu label conventions to ensure
# semantic versioning is followed and a release version is always ready.
#
# NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there
# instead of the file in this repo.
#
# - Mu DevOps Repo: https://github.com/microsoft/mu_devops
# - File Sync Settings: https://github.com/microsoft/mu_devops/blob/main/.sync/Files.yml
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
# For more information, see:
# https://github.com/release-drafter/release-drafter

name: Update Release Draft

on:
push:
branches:
- release/202302

jobs:
draft:
uses: microsoft/mu_devops/.github/workflows/[email protected]
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ on:

jobs:
check:
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v2.5.1
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v3.0.0
2 changes: 1 addition & 1 deletion .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ on:

jobs:
triage:
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v2.5.1
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v3.0.0

0 comments on commit a3f89ea

Please sign in to comment.