Skip to content

Commit

Permalink
Repo File Sync: synced file(s) with microsoft/mu_devops
Browse files Browse the repository at this point in the history
Signed-off-by: Project Mu UEFI Bot <[email protected]>
  • Loading branch information
uefibot committed Oct 24, 2024
1 parent 23c859b commit 2b65c14
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 8 deletions.
11 changes: 11 additions & 0 deletions .github/actions/submodule-release-updater/action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
# A GitHub action to create pull requests for new releases of submodules in a repository.
#
# 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
#

# NOTE: Because this pipeline YAML file is a Nunjucks template, the pipeline syntax of `{{}}` will conflict with
# Nunjucks style. Surround pipeline YAML code that uses `{{}}` within `raw` and `endraw` tags
# to allow it to pass through Nunjucks processing.

name: 'Submodule Release Updater'

description: 'Checks if new releases are available for submodules and creates pull requests to update them.'
Expand Down Expand Up @@ -423,3 +433,4 @@ runs:
with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:
print(f'submodule-update-count={submodule_update_count}', file=fh)
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:

if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v12.0.2
uses: microsoft/mu_devops/.github/workflows/AutoApprover.yml@v12.2.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 @@ -32,5 +32,5 @@ jobs:

if: |
github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'uefibot'
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v12.0.2
uses: microsoft/mu_devops/.github/workflows/AutoMerger.yml@v12.2.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
permissions:
issues: write

uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v12.0.2
uses: microsoft/mu_devops/.github/workflows/LabelSyncer.yml@v12.2.0
2 changes: 1 addition & 1 deletion .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
contents: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v12.0.2
uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@v12.2.0
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/stale-leaf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
issues: write
pull-requests: write

uses: microsoft/mu_devops/.github/workflows/Stale.yml@v12.0.2
uses: microsoft/mu_devops/.github/workflows/Stale.yml@v12.2.0
10 changes: 8 additions & 2 deletions Containers/Ubuntu-22/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
# SPDX-License-Identifier: BSD-2-Clause-Patent
#

# NOTE: Because this pipeline YAML file is a Nunjucks template, the pipeline syntax of `{{}}` will conflict with
# Nunjucks style. Surround pipeline YAML code that uses `{{}}` within `raw` and `endraw` tags
# to allow it to pass through Nunjucks processing.

#
# The build container layer is intended for pipeline use and is the minimal set
# of tools required for building Project MU.
Expand Down Expand Up @@ -129,10 +133,11 @@ RUN mkdir cargo_downloads && \
# Alternatives
#


RUN update-alternatives \
--install /usr/bin/python python /usr/bin/python3.10 1 && \
--install /usr/bin/python python /usr/bin/python3.12 1 && \
update-alternatives \
--install /usr/bin/python3 python3 /usr/bin/python3.10 1 && \
--install /usr/bin/python3 python3 /usr/bin/python3.12 1 && \
update-alternatives \
--install /usr/bin/gcc gcc /usr/bin/gcc-${GCC_MAJOR_VERSION} 100 \
--slave /usr/bin/g++ g++ /usr/bin/g++-${GCC_MAJOR_VERSION} \
Expand Down Expand Up @@ -213,3 +218,4 @@ RUN apt-get update && \
less \
&& \
apt-get clean

12 changes: 11 additions & 1 deletion Steps/SetupPythonPreReqs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
## @file
# Azure Pipelines step to setup Python pre-requisites.
#
# 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. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent
##

# NOTE: Because this pipeline YAML file is a Nunjucks template, the pipeline syntax of `{{}}` will conflict with
# Nunjucks style. Surround pipeline YAML code that uses `{{}}` within `raw` and `endraw` tags
# to allow it to pass through Nunjucks processing.

parameters:
- name: install_pip_modules
displayName: Install PIP Modules
Expand All @@ -24,7 +34,7 @@ steps:
- ${{ if eq(parameters.install_python, true) }}:
- task: UsePythonVersion@0
inputs:
versionSpec: "3.12"
versionSpec: 3.12
architecture: x64

- ${{ if eq(parameters.install_pip_modules, true) }}:
Expand Down

0 comments on commit 2b65c14

Please sign in to comment.