Skip to content

test(e2e): share one tools stage across the Windows images and drop the MSIs - #40

Merged
linghengqian merged 4 commits into
mainfrom
windows-ci
Oct 17, 2026
Merged

linghengqian merged 4 commits into
mainfrom
windows-ci

Conversation

@linghengqian

@linghengqian linghengqian commented Oct 17, 2026 •

Copy link
Copy Markdown
Member
  • test(e2e): share one tools stage across the Windows images and drop the MSIs.
  • Build the compose runner and the per-combo image from one multi-stage Dockerfile, so pwsh, Git and Go install once per host and the suite's own build only copies the plugin in. Unpack pwsh and Go from their zips instead of msiexec, reuse the image Go for vfox@main instead of a second MSI install per combo, and run every Windows combo at once in CI.

…he MSIs

Build the compose runner and the per-combo image from one multi-stage
Dockerfile, so pwsh, Git and Go install once per host and the suite's own
build only copies the plugin in. Unpack pwsh and Go from their zips instead
of msiexec, reuse the image Go for vfox@main instead of a second MSI install
per combo, and run every Windows combo at once in CI.
@linghengqian linghengqian added the enhancement New feature or request label Oct 17, 2026
… tools

Replace the compose runner with tests/e2e/windows/run.ps1. It pulls the
servercore base image in the background while it fetches pwsh, PortableGit
and the pinned Go into a per-arch host cache, builds vfox@main once, and
compiles the suite. The cache is bind-mounted read-only at C:\tools into
every combo container, so the image no longer commits a layer of tens of
thousands of tool files, which took 2-6 minutes on the hosted runners.
PowerShell splits a bare -test.v into -test and .v, so the suite exited
with 'flag provided but not defined: -test'.
windows-11-arm spends about four minutes installing Go and building moby
before the suite can pull anything. Keep the binaries in
C:\vfox-docker\bin, restore that directory with actions/cache keyed on
install-docker-arm64.ps1, and skip setup-go and the build on a hit.
@linghengqian
linghengqian marked this pull request as ready for review October 17, 2026 14:27
@linghengqian
linghengqian merged commit 9ed20f6 into main Oct 17, 2026
20 checks passed
@linghengqian
linghengqian deleted the windows-ci branch October 17, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant