Skip to content

ci: real tap tests on the estate's self-hosted runners - #2

Merged
todie merged 2 commits into
mainfrom
ci/tap-tests-selfhosted
Oct 22, 2026
Merged

todie merged 2 commits into
mainfrom
ci/tap-tests-selfhosted

Conversation

@todie

@todie todie commented Oct 22, 2026

Copy link
Copy Markdown
Member

Fixes the tap's CI, which has been red since 08-23. Estate build/packaging tracker M2 (OPS-1744); paas owns the tap.

Old job:

  • pointed at Homebrew/actions@master, which doesn't resolve;
  • ran on a GitHub-hosted macOS runner; the estate uses self-hosted runners (CER-2908);
  • ended every step in || true, so it could never fail.

New job:

  • runs on {group: ent-default, labels: [self-hosted]}, inside homebrew/brew pinned by digest (4.6.20);
  • taps this checkout, then installs and tests every formula with developer mode off, so a checksum mismatch is fatal, as for users;
  • then runs brew style and brew audit --strict.

Install runs first because style and audit switch on developer mode (pkg-lead's finding on #1).

This PR's own run shows whether the self-hosted runners can run container jobs (no paas workflow does so today). If they can't, I'll adapt here before merging.

With no formula on main the loop is empty, so herdr's PR #1 is its first real test.

todie added 2 commits October 22, 2026 09:27
Replaces the scaffold job: it pointed at the unresolvable Homebrew/actions@master, ran on a
GitHub-hosted macOS runner (the estate uses self-hosted, CER-2908), and ended each step in || true,
so it could never fail (red since 08-23 for the action ref alone).

The new job runs on group ent-default inside homebrew/brew pinned by digest (4.6.20). It taps this
checkout, then installs and tests every formula with developer mode off (so a checksum mismatch is
fatal, as for users), then runs brew style and a strict audit. Install comes first because style and
audit switch on developer mode (pkg-lead@vespertin's finding on tap PR #1). With no formula on main
the loop is empty, so main goes green and PR #1 is the first real test.
…r daemon on self-hosted)

The first run proved the ent-default runners have no Docker daemon (container job: cannot connect to
/var/run/docker.sock), so the container approach is out. Homebrew now runs directly on the ephemeral
runner from a shallow git clone of Homebrew/brew at tag 4.6.20, never a piped install script.
@todie
todie merged commit bed0fa6 into main Oct 22, 2026
1 check passed
@todie
todie deleted the ci/tap-tests-selfhosted branch October 22, 2026 13:39
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.

1 participant