From a0d785a560785f63999b6523f73cf029259f17f3 Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Thu, 19 Dec 2024 21:07:24 -0500 Subject: [PATCH] .azurepipelines: Update pipeline filenames Details about a particular pipeline change over time - such as the specific Linux distro or toolchain version. At the same time, the pipeline files are directly referenced in Azure Pipelines to run the pipeline and few users have access to change those details. To make the files less likely to refer to outdated information over time and reduce the need for an Azure Pipeline administrator to get involved, the files are updated to drop specific details apart from the host OS environment used in the pipeline. Signed-off-by: Michael Kubacki --- .azurepipelines/ReadMe.md | 5 ++++- .azurepipelines/{Ubuntu-GCC5.yml => Ubuntu-GCC.yml} | 2 +- .azurepipelines/{Windows-VS2019.yml => Windows-VS.yml} | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) rename .azurepipelines/{Ubuntu-GCC5.yml => Ubuntu-GCC.yml} (88%) rename .azurepipelines/{Windows-VS2019.yml => Windows-VS.yml} (86%) diff --git a/.azurepipelines/ReadMe.md b/.azurepipelines/ReadMe.md index cf57d282c1..c0d751e916 100644 --- a/.azurepipelines/ReadMe.md +++ b/.azurepipelines/ReadMe.md @@ -19,7 +19,10 @@ Focused on building a single target platform and confirming functionality on tha * Platform CI files should be in the `/.azurepipelines` folder. * Core CI files are in the root folder. * Shared templates are in the `templates` folder. -* Top level CI files should be named `-.yml` +* Top level CI files should be named `-.yml` + * The pipeline YAML file name is referenced in Azure Pipelines. To allow flexibility for toolchain updates in the + YAML file without necessitating changes in Azure Pipelines, the toolchain version is not included in the filename. + For example, `Windows-VS.yml` is used instead of `Windows-VS2022.yml`. ## Links diff --git a/.azurepipelines/Ubuntu-GCC5.yml b/.azurepipelines/Ubuntu-GCC.yml similarity index 88% rename from .azurepipelines/Ubuntu-GCC5.yml rename to .azurepipelines/Ubuntu-GCC.yml index b9a3b851cf..0970366108 100644 --- a/.azurepipelines/Ubuntu-GCC5.yml +++ b/.azurepipelines/Ubuntu-GCC.yml @@ -1,5 +1,5 @@ ## @file -# Azure Pipeline build file for a build using ubuntu and GCC5 +# 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.
diff --git a/.azurepipelines/Windows-VS2019.yml b/.azurepipelines/Windows-VS.yml similarity index 86% rename from .azurepipelines/Windows-VS2019.yml rename to .azurepipelines/Windows-VS.yml index 6dd48eafb1..30c9d5771b 100644 --- a/.azurepipelines/Windows-VS2019.yml +++ b/.azurepipelines/Windows-VS.yml @@ -1,5 +1,5 @@ ## @file -# Azure Pipeline build file for a build using Windows and VS2022 +# Azure Pipeline build file for a build using Windows and Visual Studio # # Copyright (c) Microsoft Corporation. # SPDX-License-Identifier: BSD-2-Clause-Patent