Conversation
… they are merged to main.
There was a problem hiding this comment.
Pull request overview
Adds a placeholder pipeline YAML file under eng/pipelines/ so Azure DevOps Public project pipelines can be created against this repo even before the “real” pipeline YAML exists on main, and updates PR pipeline path filters to ignore changes to this placeholder.
Changes:
- Added
eng/pipelines/new-pipeline.ymlplaceholder YAML file intended for ADO pipeline creation/bootstrap. - Updated both PR validation pipeline definitions to exclude
eng/pipelines/new-pipeline.ymlfrom PR path-based triggering.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| eng/pipelines/sqlclient-pr-project-ref-pipeline.yml | Excludes eng/pipelines/new-pipeline.yml from PR trigger path filters to avoid validation runs on placeholder-only changes. |
| eng/pipelines/sqlclient-pr-package-ref-pipeline.yml | Same exclusion as above for the package-reference PR pipeline. |
| eng/pipelines/new-pipeline.yml | Introduces a placeholder pipeline YAML file (currently comments-only). |
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## main #4069 +/- ##
==========================================
- Coverage 75.17% 65.61% -9.57%
==========================================
Files 280 275 -5
Lines 43830 65825 +21995
==========================================
+ Hits 32951 43193 +10242
- Misses 10879 22632 +11753
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
benrr101
left a comment
There was a problem hiding this comment.
I don't get this change. ADO requires the yaml file for the pipeline to exist before you can create the pipeline, that's true, but making a placeholder doesn't make sense to me. If you're working on a new pipeline, just go ahead an make the yaml file with that name.
|
When creating a new pipeline in Azure DevOps, our projects/org require use of the 1ES Start Right wizard. The first thing we're asked is: Where is the repo? If the repo is in Azure DevOps, and you want to use an existing YAML file, you can choose any branch in the repo, find your file, and happy times. If the repo is in GitHub, the YAML file must already exist on the default branch - you can't select a dev branch. This file will allow us to create a new pipeline against GitHub, point it to this dummy file on main, and then run the pipeline against a dev branch where this dummy file has been replaced (temporarily) with the brand-new pipeline we want to test. For example, #3867 is creating a new stress test pipeline, but I can't try running it yet becasue I can't create the pipeline in Azure DevOps. If |

Description
This PR adds a
new-pipeline.ymlfile to enable 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.Testing
No testing required.