Skip to content

fix(CI): Refresh it#523

Closed
cnihelton wants to merge 13 commits into
mainfrom
refresh-ci
Closed

fix(CI): Refresh it#523
cnihelton wants to merge 13 commits into
mainfrom
refresh-ci

Conversation

@cnihelton

@cnihelton cnihelton commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator
  • End to end tests should run on GH hosted runners for simplicity
  • Minimal Go updates to allow prepare-assets to compile, including migration to imagick.v3
  • Unify e2e and wsl-builder modules into a single workspace.
  • Update the Windows SDK version to match the GH hosted runners because that's where we build the appx.
  • Upgrade multiple GH actions used in CI to their latest versions and deal with the breaking changes.

But the most important part is actually where the builder will source the images from. We no longer publish images to cloud-images.ubuntu.com since 24.10, and we have all supported images available in the new format at releases.u.c or cdimage.u.c (which one depends on the processor architecture). Thus I had to update a few places and changed the logic to determine the URL an image ought to be downloaded from.

Since we build the package in CI we need to keep it in sync
or install extra SDKs in the runners, which I find wasteful.
Just enough for CI to proceed plus fixing some warnings:
- err shadowing redeclarations
- unused param rootPath in generateMetaForRelease
- no more ioutil
- update imagick to v3
@cnihelton cnihelton requested a review from a team as a code owner June 18, 2026 13:10
@cnihelton cnihelton changed the title fix(CI) Refresh it fix(CI): Refresh it Jun 18, 2026
Upgrading it to Go 1.23, which was already in use in e2e.
- checkout to v6
- setup-go to v6 and use the go-version-file input.
No need for self-hosted runners, instead rely on windows-latest
Migrate to v8
Scope the GITHUB_TOKEN permissions accordingly.
Some peasant fixes.
- Upgrades used actions
- Use latest LTS from releases.u.c
- Removes deprecated set-output usage
@cnihelton cnihelton force-pushed the refresh-ci branch 2 times, most recently from 5e823e0 to 3d5276f Compare June 18, 2026 14:36
To output URLs pointing to cdimages.u.c or releases.u.c.
It used to show error codes like WSL_E_DISTRO_NOT_FOUND,
but that's no longer the case.
Parsing stdout is always a moving target.
Exit codes are not an option because it exits -1 for any error.
Those tests are currently broken in obscure ways.
We need to figure out which assumptions no longer hold.
For example: https://github.com/ubuntu/WSL/actions/runs/27842627388/job/82404826746#step:9:59
But sometimes user@0.service still fails for reasons we don't fully
control.
Commands may have prefixed or suffixed outputs, making them annoying to
parse.
test -e is silently failing, no idea of why.
@cnihelton

Copy link
Copy Markdown
Collaborator Author

Let's try again. I want the automation to create the complementary PR on top of this branch.

@cnihelton cnihelton closed this Jun 20, 2026
@cnihelton cnihelton deleted the refresh-ci branch June 20, 2026 00:48
@cnihelton cnihelton restored the refresh-ci branch June 20, 2026 00:48
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