Skip to content

Automatically start Windows ARM64 VM#345

Merged
ambv merged 6 commits intomainfrom
autostartvm
Feb 26, 2026
Merged

Automatically start Windows ARM64 VM#345
ambv merged 6 commits intomainfrom
autostartvm

Conversation

@zooba
Copy link
Member

@zooba zooba commented Feb 25, 2026

Uses a new service connection that uses WIF/OIDC to connect to my Azure Subscription. The connection only has permissions to start VMs and update schedules, and there should be no way to elevate that. There's also no permissions to use the connection from any builds other than the release build, though it's possible/easy to allow others to use it if you already have high level permissions on Azure DevOps.

The VM is configured to automatically shut down 12 hours after the current time, which should be enough time for each build, and shouldn't ever be able to cut off during a build, even if they're racing. The downside is that when it's manually started, this time won't be updated and we may see shutdowns during a run. Hopefully, that won't have to happen anymore.

@ambv ambv merged commit 0ece9ab into main Feb 26, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants