You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the fine print where it states "This pipeline creation experience supports only ADO git repositories", click "native Azure DevOps experience" since our repository is on GitHub.
Select GitHub.
Click the "My repositories" dropdown and change it to "All repositories".
Type microsoft/STL into the filter and wait for the repo to appear (this is slow). Select it.
Choose "Existing Azure Pipelines YAML file".
From the popup, select the appropriate branch and pathname to the pipeline YAML file in the repo, e.g., main and /azure-pipelines.yml.
This will display "Review your pipeline YAML" with the contents of azure-pipelines.yml.
Click "Run" which will display "Creating pipeline..." and will then start a CI build.
Click "Run" which will display "Creating pipeline..." and will then start a CI build. (Alternatively, "Save" will create the pipeline without initiating a run.) The pipeline name will default to "microsoft.STL".
From the vertical ellipsis, select "Rename/Move" and choose an appropriate pipeline name, e.g., "STL-CI".
You will likely see an orange notification banner across the top of the window requiring you to "classify and/or assign the new pipeline". Click where it asks you to and classify appropriately. (Our pipelines are used for validation but don't produce shipped bits so they are "Non-production". The proper service tree leaf is "C++ STL Validation" - good luck finding it.)
If the pipeline should run for pull requests only after a maintainer requests it with a comment (this is the case for "STL-ASAN-CI", but not "STL-CI" as of this writing):
Edit
Click vertical ellipsis, Triggers.
Select "microsoft/STL" under "Pull Request Validation".
In the right pane, under "Comments" activate the "Require a team member's comment before building a pull request" checkbox.
Radio buttons appear below, defaulting to "On all pull requests" which you probably want.
Click "Save and queue" from the menu across the top pane, or drop it down and select "Save".
In README.md, update the [Meow-link]links, as the definitionIds will have changed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Hover over "STL-CI", click vertical ellipsis, Delete.
* Hover over each pipeline, click vertical ellipsis, Delete.
* Type the name of the pipeline to confirm.
2.[vclibs / STL / Settings / Service connections][]
* Click "STL", click vertical ellipsis, Delete.
## Setup
-[vclibs / STL / Pipelines][]
* Click "Create Pipeline".
* Click "+ New Pipeline".
* In the fine print where it states "This pipeline creation experience supports only ADO git repositories", click "native Azure DevOps experience" since our repository is on GitHub.
* Select GitHub.
* Click the "My repositories" dropdown and change it to "All repositories".
* Type `microsoft/STL` into the filter and wait for the repo to appear (this is **slow**). Select it.
* Choose "Existing Azure Pipelines YAML file".
* From the popup, select the appropriate branch and pathname to the pipeline YAML file in the repo, e.g., `main` and `/azure-pipelines.yml`.
* This will display "Review your pipeline YAML" with the contents of `azure-pipelines.yml`.
* Click "Run" which will display "Creating pipeline..." and will then start a CI build.
- In `README.md`, update the `[Pipelines]` link, as the `definitionId` will have changed.
* Click "Run" which will display "Creating pipeline..." and will then start a CI build. (Alternatively, "Save" will create the pipeline without initiating a run.) The pipeline name will default to "microsoft.STL".
* From the vertical ellipsis, select "Rename/Move" and choose an appropriate pipeline name, e.g., "STL-CI".
* You will likely see an orange notification banner across the top of the window requiring you to "classify and/or assign the new pipeline". Click where it asks you to and classify appropriately. (Our pipelines are used for validation but don't produce shipped bits so they are "Non-production". The proper service tree leaf is "C++ STL Validation" - good luck finding it.)
* If the pipeline should run for pull requests only after a maintainer requests it with a comment (this is the case for "STL-ASAN-CI", but not "STL-CI" as of this writing):
* Edit
* Click vertical ellipsis, Triggers.
* Select "microsoft/STL" under "Pull Request Validation".
* In the right pane, under "Comments" activate the "Require a team member's comment before building a pull request" checkbox.
* Radio buttons appear below, defaulting to "On all pull requests" which you probably want.
* Click "Save and queue" from the menu across the top pane, or drop it down and select "Save".
- In `README.md`, update the `[Meow-link]` links, as the `definitionId`s will have changed.