-
Notifications
You must be signed in to change notification settings - Fork 80
Closed
Description
Context
As outlined here, repositories will have optional build legs which can insert the repository PR branch into the VMR and build it.
This means that they need an easy way to inject their current branch into the VMR and build it.
Luckily, we already have this running in dotnet/sdk where we synchronize the whole VMR during PRs.
Ideally we take those templates and move them to Arcade so that they become available in all repositories via eng/common.
Repo owners will then just create pipelines pointing to these templates and developers will (optionally) queue the pipelines in their PRs.
Goal
We need to provide tooling that will enable repos to insert themselves into a VMR during a build.
- Similarly to
dotnet/sdk's PRs, prepare a generic template in Arcade'seng/commonwhich will:- Accept the repo name (mapping name) as a parameter
- Clone the VMR
- Use darc to push the current repo's PR branch's contents into the local VMR
- Build+test the VMR
- We will start simple and support
linux-x64as it's the fastest and gives us a lot of coverage but ideally in future people could specify the list of platforms to build. Maybe it can be a parameter from the start if it's easy. - We will need YAML templates and an
.shand.ps1scripts.
Notes
- It is up for discussion whether for the push of the source code, we'd want
darc vmr forwardflowordarc vmr update. Possibly the first one as it will be more reliable?
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done