Skip to content

Setting Up Azure Pipelines

Stephan T. Lavavej edited this page Oct 8, 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 "GitHub connection 1", click vertical ellipsis, Delete.
    • Click "STL", click vertical ellipsis, Delete.

Setup

  1. vclibs / STL / Settings / Service connections
    • Click "New service connection", select GitHub, Next.
    • For "Authentication method", leave "Grant authorization" selected.
    • Under "OAuth Configuration", select "AzurePipelines".
    • Click Authorize. This will pop up a window from GitHub. Click "Authorize AzurePipelines" there. You'll need to enter your GitHub password.
    • Change the "Service connection name" to STL-SC-date, e.g. STL-SC-2020-10-07.
    • Leave "Grant access permission to all pipelines" checked.
    • Click Save.
    • Observation: If you click on the newly created service connection, its "Service connection type" will be "GitHub using oauth".
  2. 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.
Clone this wiki locally