Skip to content

Setting Up Azure Pipelines

Casey Carter edited this page Nov 17, 2023 · 16 revisions

Pipeline

Teardown

  1. vclibs / STL / Pipelines
    • Hover over "STL-CI", 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 "+ 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 repo 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.
    • From the vertical ellipsis, select "Rename/Move" and choose an appropriate pipeline name, e.g., "STL-CI".
  • In README.md, update the [Pipelines] link, as the definitionId will have changed.

Clone this wiki locally