We need to make sure changes done in the Arcade SDK as well as in the core packages don't break any of the consuming repos or Arcade itself.
- Contributors who are changing existing code should use their best judgement to decide if additional validation against the runtime, aspnetcore and installer repos is necessary. The following is a list of situations in which the contributor may want to run their changes against these repos:
- Changes made to Signing, Publishing, or other stages outside of the build stage that would not show up in a PR build.
- Changes that affect a fundamental piece of Arcade (e.g. build scripts, install scripts)
- Changes that affect many files (e.g. refactoring MSBuild Tasks to use a new abstract class for dependency injection support)
- Changes to packages that are only exercised by a specific set of repos, such as the Shared Framework SDK.
- If there are any known breaking changes or any breaking changes surface during the validation, those changes should be communicated per the Breaking Change Policy.
- Official Arcade builds from main will now be promoted automatically to
.NET Eng - Latest
channel once it has passed the official Arcade Validation pipeline.
- Build the latest changes locally using the specified settings
- Using darc, update the dependencies based on the packages built in #1
- Execute the "official build" (this will restore the packages built in #1)
To validate against the Arcade Validation for Promotion pipeline (that includes the ability to build Arcade with the bellwether repos), follow these steps (which are similar to the steps outlined here for How to Validate a Private Build):
- Run a build of your Arcade branch on the arcade-official-ci Azure DevOps Pipeline
- Promote your build to the "General Testing" Maestro channel.
- Create a branch of arcade-validation
- Using darc, run
update-dependencies
(update-dependencies documentation) on your Arcade Validation branch to use the build of Arcade you just created in the previous steps. - Push your branch up to Azure DevOps Arcade Validation repository and run a build of your branch on the dotnet-arcade-validation-for-promotion to verify your changes.
- It's not necessary to merge your Arcade Validation branch into the repo's main branch, so feel free to delete it when you're done validating your changes.
Arcade's official builds go to the ".NET Eng - Validation" channel.
This repository contains the scenarios where we validate the last produced version of the SDK as a consumer repository.
- On every Arcade build dependencies will be updated and auto-merged when all the checks pass
- Arcade validation official build is triggered. This will validate the version which was just “pushed” by Arcade
The following scenarios are a part of Arcade Validation's build process.
Build
The code in the repo is built using the pushed in version of Arcade SDK and core packages. During this phase, packaging, signing and publishing are validated automatically.
Test and real signing are validated by attempting to sign files here. Since we download all the files in the folder we can easily modify the amount and type of files we sign.
Details on how the Signing package works here.
Testing (Send jobs to Helix)
We validate external (anonymous) and internal scenarios of sending jobs to Helix.
Details on how sending jobs to Helix works here.
Publishing to BAR
When the Build portion of the validation build completes we publish the produced package to BAR. This package won't be consumed by any repo but we want to make sure changes in the SDK did not affect it.
While this is good enough to validate basic scenarios we still have to make sure we validate changes in tier one repos. This will be done post preview 2 as specified in this epic.