Skip to content

vm-e2e.ps1

Source file scripts/vm-e2e.ps1. This page is generated from the file’s own help comment when the site is built.

.SYNOPSIS Runs House Style e2e scenarios in an idle Flare VM (HSFACTORY or HSFACTORY2) on this host. No GitHub push needed.
.DESCRIPTION Zips the plugin checkout (working tree, uncommitted changes included), copies it to the VM over PowerShell
Direct, then in the VM's interactive session builds, installs and runs the scenarios one at a time, stopping at the
first failure. Copies results back into -OutDir and removes everything it installed from the VM.
Self-elevates (Hyper-V needs it); output is relayed through $OutDir\vm-e2e.log.
Exit codes: 0 all passed, 1 a scenario failed, 2 the VM could not be used (never a pass).
.EXAMPLE pwsh scripts/vm-e2e.ps1 -PluginDir a local path -OutDir a local path -Scenarios hook-verbs
  • -PluginDir
  • -OutDir
  • -Scenarios
  • -Full
  • -ExtraScenarioFiles
  • -RunDir
  • -RunId
  • -TraceId
  • -ParentSpan
  • -Elevated