From f30355a111557f971aa20e4d2c4a692d3f1d8e6f Mon Sep 17 00:00:00 2001 From: Paul Medynski <31868385+paulmedynski@users.noreply.github.com> Date: Fri, 20 Mar 2026 08:27:20 -0300 Subject: [PATCH 1/2] Added new-pipeline.yml file to enable testing of new pipelines before they are merged to main. --- eng/pipelines/new-pipeline.yml | 16 ++++++++++++++++ .../sqlclient-pr-package-ref-pipeline.yml | 1 + .../sqlclient-pr-project-ref-pipeline.yml | 1 + 3 files changed, 18 insertions(+) create mode 100644 eng/pipelines/new-pipeline.yml diff --git a/eng/pipelines/new-pipeline.yml b/eng/pipelines/new-pipeline.yml new file mode 100644 index 0000000000..4a5e6abb55 --- /dev/null +++ b/eng/pipelines/new-pipeline.yml @@ -0,0 +1,16 @@ +#################################################################################################### +# Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this +# file to you under the MIT license. See the LICENSE file in the project root for more information. +#################################################################################################### + +# This file exists to allow creation of pipelines in the Azure DevOps Public project. Currently, it +# isn't possible to create a pipeline against this repo unless the top-level YAML file is present in +# the main branch, which it won't be for pipelines that are still in development. +# +# When developing a new pipeline on a branch, you may clobber this file with your new pipeline, or +# change it to a symlink that points to your new pipeline. This will allow you to create the Azure +# DevOps pipeline and test your changes before merging to main. Before merging, revert this file to +# its original state. +# +# Once your new pipeline work is merged to main, you may edit the Azure DevOps pipeline to point to +# the correct YAML file. diff --git a/eng/pipelines/sqlclient-pr-package-ref-pipeline.yml b/eng/pipelines/sqlclient-pr-package-ref-pipeline.yml index a575d2dd6a..9ffecedab5 100644 --- a/eng/pipelines/sqlclient-pr-package-ref-pipeline.yml +++ b/eng/pipelines/sqlclient-pr-package-ref-pipeline.yml @@ -51,6 +51,7 @@ pr: - NuGet.config exclude: - eng/pipelines/onebranch/* + - eng/pipelines/new-pipeline.yml # Do not trigger commit or schedule runs for this pipeline. trigger: none diff --git a/eng/pipelines/sqlclient-pr-project-ref-pipeline.yml b/eng/pipelines/sqlclient-pr-project-ref-pipeline.yml index dd8f34e58b..1a1075aaa5 100644 --- a/eng/pipelines/sqlclient-pr-project-ref-pipeline.yml +++ b/eng/pipelines/sqlclient-pr-project-ref-pipeline.yml @@ -51,6 +51,7 @@ pr: - NuGet.config exclude: - eng/pipelines/onebranch/* + - eng/pipelines/new-pipeline.yml # Do not trigger commit or schedule runs for this pipeline. trigger: none From 8b74c139a4f6240f08bf9e2d91fa6e86a0530744 Mon Sep 17 00:00:00 2001 From: Paul Medynski <31868385+paulmedynski@users.noreply.github.com> Date: Fri, 20 Mar 2026 08:47:34 -0300 Subject: [PATCH 2/2] Added placeholder pipeline elements to avoid validation errors in Azure DevOps. --- eng/pipelines/new-pipeline.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/eng/pipelines/new-pipeline.yml b/eng/pipelines/new-pipeline.yml index 4a5e6abb55..825f4fd98a 100644 --- a/eng/pipelines/new-pipeline.yml +++ b/eng/pipelines/new-pipeline.yml @@ -14,3 +14,19 @@ # # Once your new pipeline work is merged to main, you may edit the Azure DevOps pipeline to point to # the correct YAML file. + +# Disable all automatic triggers +pr: none +trigger: none + +stages: + - stage: PlaceholderStage + displayName: Placeholder Stage + jobs: + - job: PlaceholderJob + displayName: Placeholder Job + pool: + vmImage: ubuntu-latest + steps: + - script: echo "Hello from the new pipeline!" + displayName: Print message