From 1e9fc8970a9bc0aa8360a7a9e9f4d81bef4aea53 Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Wed, 14 May 2025 09:59:34 -0700 Subject: [PATCH] Change ci.yml -> sb-ci.yml (#48953) --- .../eng/pipelines/{ci.yml => sb-ci.yml} | 33 +++++-------------- 1 file changed, 8 insertions(+), 25 deletions(-) rename src/SourceBuild/content/eng/pipelines/{ci.yml => sb-ci.yml} (69%) diff --git a/src/SourceBuild/content/eng/pipelines/ci.yml b/src/SourceBuild/content/eng/pipelines/sb-ci.yml similarity index 69% rename from src/SourceBuild/content/eng/pipelines/ci.yml rename to src/SourceBuild/content/eng/pipelines/sb-ci.yml index 16447ee3d731..3f8117714f50 100644 --- a/src/SourceBuild/content/eng/pipelines/ci.yml +++ b/src/SourceBuild/content/eng/pipelines/sb-ci.yml @@ -1,33 +1,16 @@ # This yml is used by these pipelines and triggers: -# NOTE: the triggers are defined in the Azure DevOps UI as they are too complex -# -# - dotnet-source-build (public) -# https://dev.azure.com/dnceng-public/public/_build?definitionId=240 -# - PR: ultralite build -# - CI: release/*, every batched commit, full build -# - Schedule: main only, full build -# -# - dotnet-unified-build (public) -# https://dev.azure.com/dnceng-public/public/_build?definitionId=278 -# - PR: lite build -# - CI: release/* only, every batched commit, full build -# - Schedule: main only, full build # # - dotnet-source-build (internal) # https://dev.azure.com/dnceng/internal/_build?definitionId=1219 -# - PR: ultralite build # - CI: release/* and internal/release/* only, every batched commit, full build -# - Schedule: main only, full build -# -# - dotnet-source-build-lite (internal) -# https://dev.azure.com/dnceng/internal/_build?definitionId=1299 -# - PR: release/* and main only, lite build, on-demand trigger -# - CI: main only, every batched commit, lite build -# -# - dotnet-unified-build (internal) -# https://dev.azure.com/dnceng/internal/_build?definitionId=1330 -# - PR: lite build -# - CI: release/*, internal/release/* and main only, every batched commit, full build + +trigger: + batch: true + branches: + include: + - main + - release/* + - internal/release/* variables: # enable source-only build for pipelines that contain the -source-build string