Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo File Sync: synced file(s) with makubacki/mu_devops #144

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)

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