Cleaning up commented code. Sticking with the 1ES templates instead of MicroBuild. Trying only ignoring .packages for component governance.

This commit is contained in:
Michael Yanni 2024-03-13 09:03:52 -07:00
parent aad30a266d
commit 6c90ec94e5

View file

@ -43,37 +43,14 @@ variables:
resources:
repositories:
- repository: MicroBuildTemplate
type: git
name: 1ESPipelineTemplates/MicroBuildTemplate
ref: refs/tags/release
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
# containers:
# - container: MuslArm
# image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-arm-alpine
# - container: MuslX64
# image: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.19-WithNode
# - container: PortableDeb
# image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-debpkg
# - container: PortableRpm
# image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm
extends:
# template: azure-pipelines/MicroBuild.1ES.Official.yml@MicroBuildTemplate
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
# containers:
# - container: MuslArm
# image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-arm-alpine
# - container: MuslX64
# image: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.19-WithNode
# - container: PortableDeb
# image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-debpkg
# - container: PortableRpm
# image: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm
containers:
MuslArm:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-arm-alpine
@ -91,8 +68,8 @@ extends:
# TODO: Temporary
# https://docs.opensource.microsoft.com/tools/cg/component-detection/variables/
componentgovernance:
failOnAlert: false
alertWarningLevel: Never
# failOnAlert: false
# alertWarningLevel: Never
ignoreDirectories: '.packages'
customBuildTags:
- ES365AIMigrationTooling
@ -160,7 +137,6 @@ extends:
agentOs: Linux
jobName: Build_Linux_musl_Release_arm
container: MuslArm
# container: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-arm-alpine
buildConfiguration: Release
buildArchitecture: arm
runtimeIdentifier: 'linux-musl-arm'
@ -182,7 +158,6 @@ extends:
agentOs: Linux
jobName: Build_Linux_musl_Release_x64
container: MuslX64
# container: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.19-WithNode
buildConfiguration: Release
buildArchitecture: x64
runtimeIdentifier: 'linux-musl-x64'
@ -195,7 +170,6 @@ extends:
agentOs: Linux
jobName: Build_Linux_Portable_Deb_Release_x64
container: PortableDeb
# container: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-debpkg
buildConfiguration: Release
buildArchitecture: x64
# Do not publish zips and tarballs. The linux-x64 binaries are
@ -208,7 +182,6 @@ extends:
agentOs: Linux
jobName: Build_Linux_Portable_Rpm_Release_x64
container: PortableRpm
# container: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm
buildConfiguration: Release
buildArchitecture: x64
# Do not publish zips and tarballs. The linux-x64 binaries are
@ -221,7 +194,6 @@ extends:
agentOs: Linux
jobName: Build_Linux_Portable_Rpm_Release_Arm64
container: PortableRpm
# container: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-fpm
buildConfiguration: Release
buildArchitecture: arm64
runtimeIdentifier: 'linux-arm64'