Skip to content

Commit

Permalink
Repo File Sync: Synced file(s) with microsoft/mu_devops (#24)
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
[#3598065818](https://github.com/microsoft/mu_devops/actions/runs/3598065818)

Signed-off-by: Project Mu UEFI Bot <uefibot@microsoft.com>
  • Loading branch information
uefibot authored Dec 7, 2022
1 parent cb198a4 commit 3ef7de9
Show file tree
Hide file tree
Showing 10 changed files with 195 additions and 69 deletions.
75 changes: 40 additions & 35 deletions .azurepipelines/Ubuntu-GCC5.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,40 @@
## @file
# Azure Pipeline build file for a build using ubuntu and GCC
#
# Copyright (c) Microsoft Corporation.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##

resources:
repositories:
- repository: mu_devops
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: main

variables:
- group: architectures-arm-64-x86-64
- group: tool-chain-ubuntu-gcc

jobs:
- template: Jobs/PrGate.yml@mu_devops
parameters:
arch_list: $(arch_list)
do_ci_build: true
do_ci_setup: true
do_non_ci_setup: true
extra_steps:
- script: sudo apt-get install mingw-w64
displayName: Install Windows Resource Compiler for Linux
packages: OemPkg
target_list: DEBUG,RELEASE,NO-TARGET,NOOPT
tool_chain_tag: $(tool_chain_tag)
vm_image: $(vm_image)

## @file
# Azure Pipeline build file for a build using ubuntu and GCC5.
#
# 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
##

resources:
repositories:
- repository: mu_devops
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: refs/tags/v1.3.0

variables:
- group: architectures-arm-64-x86-64
- group: tool-chain-ubuntu-gcc

jobs:
- template: Jobs/PrGate.yml@mu_devops
parameters:
arch_list: $(arch_list)
do_ci_build: true
do_ci_setup: true
do_non_ci_setup: true
extra_steps:
- script: sudo microdnf install --assumeyes mingw64-gcc
displayName: Install Windows Resource Compiler for Linux
packages: OemPkg
target_list: DEBUG,RELEASE,NO-TARGET,NOOPT
tool_chain_tag: $(tool_chain_tag)
vm_image: $(vm_image)
container_build: true
66 changes: 36 additions & 30 deletions .azurepipelines/Windows-VS.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
## @file
# Azure Pipeline build file for a build using Windows and the Visual Studio compiler
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
##

resources:
repositories:
- repository: mu_devops
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: main

variables:
- group: architectures-x86-64
- group: tool-chain-windows-visual-studio-latest

jobs:
- template: Jobs/PrGate.yml@mu_devops
parameters:
arch_list: $(arch_list)
do_ci_build: true
do_ci_setup: true
do_non_ci_setup: true
packages: OemPkg
target_list: DEBUG,RELEASE,NO-TARGET,NOOPT
tool_chain_tag: $(tool_chain_tag)
vm_image: $(vm_image)
## @file
# Azure Pipeline build file for a build using Windows and Visual Studio.
#
# 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
##

resources:
repositories:
- repository: mu_devops
type: github
endpoint: microsoft
name: microsoft/mu_devops
ref: refs/tags/v1.3.0

variables:
- group: architectures-x86-64
- group: tool-chain-windows-visual-studio-latest

jobs:
- template: Jobs/PrGate.yml@mu_devops
parameters:
arch_list: $(arch_list)
do_ci_build: true
do_ci_setup: true
do_non_ci_setup: true
packages: OemPkg
target_list: DEBUG,RELEASE,NO-TARGET,NOOPT
tool_chain_tag: $(tool_chain_tag)
vm_image: $(vm_image)
12 changes: 12 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"image": "ghcr.io/tianocore/containers/fedora-35-dev:latest",
"postCreateCommand": "git config --global --add safe.directory * && pip install --upgrade -r pip-requirements.txt",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"DavidAnson.vscode-markdownlint"
]
}
}
}
42 changes: 42 additions & 0 deletions .github/advanced-issue-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Defines the mappings between GitHub issue responses and labels applied to the issue
# for Project Mu repos.
#
# IMPORTANT: Only use labels defined in the .github/Labels.yml file in this repo.
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
# For more information, see:
# https://github.com/redhat-plumbers-in-action/advanced-issue-labeler

policy:
- template: [bug_report.yml, documentation_request.yml, feature_request.yml]
section:

# Issue Template - Urgency Dropdown
- id: ['urgency']
block-list: []
label:
- name: 'urgency:low'
keys: ['Low']
- name: 'urgency:medium'
keys: ['Medium']
- name: 'urgency:high'
keys: ['High']

# Issue Template - Fix Owner Dropdown
- id: ['fix_owner', 'request_owner']
block-list: []
label:
- name: 'state:needs-owner'
keys: [
'Someone else needs to fix it',
'Someone else needs to make the change',
'Someone else needs to implement the feature'
]
- name: 'state:needs-triage'
keys: [
'Someone else needs to fix it',
'Someone else needs to make the change',
'Someone else needs to implement the feature'
]
39 changes: 39 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This workflow automatically merges pull requests under certain conditions.
#
# NOTE: This file is automatically synchronized from Mu DevOps. Update the original file there
# instead of the file in this repo.
#
# NOTE: This file uses a reusable workflow. Do not make changes to the file that should be made
# in the common/reusable workflow.
#
# - 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
#

name: Auto Merge Pull Request

on:
pull_request_target:
types:
- edited
- labeled
- opened
- ready_for_review
- reopened
- synchronize
- unlabeled
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}

jobs:
merge_check:
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v1.3.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@main
uses: microsoft/mu_devops/.github/workflows/Labeler.yml@v1.3.0
2 changes: 1 addition & 1 deletion .github/workflows/label-issues/regex-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ impact:breaking-change:
- '\s*-\s*\[\s*[x|X]\s*\] Breaking change\?'

impact:non-functional:
- '\s*-\s*\[\s*[x|X]\s*\] Impacts functionality\?'
- '\s*-\s*\[\s*(?![x|X])\s*\] Impacts functionality\?'

impact:security:
- '\s*-\s*\[\s*[x|X]\s*\] Impacts security\?'
Expand Down
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@main
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v1.3.0
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@main
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v1.3.0
22 changes: 22 additions & 0 deletions .github/workflows/triage-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow assists with initial triage of new issues by applying
# labels based on data provided in the issue.
#
# 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
#

name: Initial Triage for New Issue

on:
issues:
types: [ opened ]

jobs:
sync:
uses: microsoft/mu_devops/.github/workflows/IssueTriager.yml@v1.3.0

0 comments on commit 3ef7de9

Please sign in to comment.