Skip to content

Setting Up Azure Pipelines

Stephan T. Lavavej edited this page Nov 5, 2020 · 16 revisions

Teardown

  1. vclibs / STL / Pipelines
    • Hover over "microsoft.STL", 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".
    • 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.
    • 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.

Open Questions

  • vclibs / STL / Pipelines
    • Hover over "microsoft.STL", click vertical ellipsis, Edit.
    • Click vertical ellipsis, click Triggers.
    • Question: Do we want/need to check "Override the YAML continuous integration trigger from here" under "Continuous integration" and the similar checkbox under "Pull request validation"?
    • Click the YAML tab.
    • Question: The "Default agent pool for YAML" defaults to Hosted instead of our VMSS. Does this matter?
    • Question: In the past, we've tried to update the "default agent pool" and we've tried to recreate the service connection, which seemed to help temporarily, but not permanently. Should we teardown and recreate the entire Pipeline in the future? (It seems to be a simple process.)
Clone this wiki locally