Skip to content

CI Pipelines

Mark Fields edited this page Jun 25, 2020 · 8 revisions

For now, we use a private instance of Azure Dev Ops to run our Continuous Integration pipelines, accessible only to Microsoft employees. Some details of the CI loop will not be visible to contributors outside the company, until we migrate to a publicly accessible instance.

CI Pipeline for PR Validation

With every commit pushed to an open PR branch, the following CI checks are queued:

  • licence/cla - Ensure you have signed Microsoft's Contributor License Agreement
  • repo-policy-check - Ensure certain policies around file metadata, naming sorting, etc are adhered to
  • Various Build - ... checks - Depending on which directories are touched, the corresponding build/test tasks will be run

If a check failed, click the "details" link for the checks. This will take you to a page on GitHub with a bit more information, and a link to the Azure Dev Ops portal where the checks were executed (this is where only Microsoft employees currently have access).

Repo Policy Check

If repo-policy-check fails, you can run it locally like this:

cd tools/build-tools
npm i
npm build
npm run policy-check

Some failures can be auto-resolved by running npm run policy-check -- -r

CI Pipeline for master/release branch Validation

Once a change is merged into master or a release branch, the CI loop kicks off several builds and other checks, similar to the PR checks. Microsoft employees can view these runs here. To monitor the official build for a particular commit, just look for the pipeline runs labeled something like "Individual CI for master" with the commit message also listed.

Once the relevant build has succeeded, you may update a dependency on the built packages to the pre-release version (ending in -0) and run npm i at which point you'll be pulling in the pre-release version of the dependency containing the change in question.

Clone this wiki locally