Repository navigation
ci: real tap tests on the estate's self-hosted runners - #2
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Homebrew/actions@master, which doesn't resolve;|| true, so it could never fail.New job:
{group: ent-default, labels: [self-hosted]}, insidehomebrew/brewpinned by digest (4.6.20);brew styleandbrew 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.