Add the publish-WSL CI job for automatic PR opening to microsoft/WSL

Add a "publish-WSL" CI job to the release stage that automatically open pull requests to the microsoft/WSL GitHub repo (via our fork) to update the WSL distributions manifest when releasing new images monthly.

This job is delayed for 2 hours (using this logic) in order to give some time for the hourly script that syncs the image to the mirror to run :)

So:

  • First day of the month at 10AM UTC: A new image is built and released
  • Hourly mirror syncing script ensures that the new image gets populated to the geo mirror within an hour
  • First day of the month at 12AM UTC: The new publish job opens the related PR to the microsoft/WSL repo
Edited by Robin Candau

Merge request reports

Loading