Skip to content

Export GOOGLE_CHROME_BIN from the runner's preinstalled Chrome - #22

Draft
wesrich wants to merge 1 commit into
mainfrom
chore/chrome-bin-env
Draft

Export GOOGLE_CHROME_BIN from the runner's preinstalled Chrome#22
wesrich wants to merge 1 commit into
mainfrom
chore/chrome-bin-env

Conversation

@wesrich

@wesrich wesrich commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Some Rails apps shell out to Chrome directly (e.g. server-side PDF generation via system("... $GOOGLE_CHROME_BIN ...")) rather than only using it through a browser-driver gem, and previously had to carry their own Setup Chrome step in their own ci.yml to get that path.
  • Blacksmith's ubuntu runner images already ship Chrome, so this just resolves it with which in a background step alongside the other early setup steps, and exports GOOGLE_CHROME_BIN for the rest of the job.

Test plan

  • private repo is temporarily pointing its CI at this branch to confirm PDF-generation specs pass with the exported path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant