Skip to content

ci: speed up 8.5 image builds and move them to Blacksmith runners - #26

Merged
arunesh90 merged 1 commit into
masterfrom
ci/faster-image-builds
Nov 13, 2026
Merged

arunesh90 merged 1 commit into
masterfrom
ci/faster-image-builds

Conversation

@arunesh90

Copy link
Copy Markdown
Contributor

TL;DR: Drops the slow-to-compile and unused grpc extension from the 8.5 and 8.5-www images, and installs PHP extensions before libvips so a libvips bump no longer recompiles them. Moves the build jobs from GitHub-hosted runners to Blacksmith. install-php-extensions was 15–25 min of each 20–26 min job; 8.5-frankenphp, which already skips grpc, builds in ~7 min.

Changes

  • Drop grpc from 8.5 and 8.5-www (and their 10-grpc.ini). No app requires open-telemetry/transport-grpc, and the OTLP endpoints we found are http://…, two of them on port 4318. protobuf stays, since it speeds up http/protobuf encoding.
  • Reorder 8.5 and 8.5-frankenphp: install-php-extensions now runs before the libvips install. install-libvips.sh keeps every library a binary under /usr/local links to, so the extensions' runtime libraries survive its purge.
  • Runners: ubuntu-24.04 → blacksmith-4vcpu-ubuntu-2404, ubuntu-24.04-arm → blacksmith-4vcpu-ubuntu-2404-arm. The manifest job uses blacksmith-2vcpu-ubuntu-2404.

Before merging

  • Confirm no live ECS task definition sets OTEL_EXPORTER_OTLP_PROTOCOL=grpc
  • Compare this PR's job times with the last run on ubuntu-24.04

🤖 Generated with Claude Code

- Drop the unused grpc extension from 8.5 and 8.5-www (apps export OTLP over HTTP)
- Install PHP extensions before libvips so a libvips bump keeps the cached extension layer
- Run the build jobs on Blacksmith runners
@arunesh90
arunesh90 marked this pull request as ready for review November 13, 2026 15:50
@arunesh90
arunesh90 merged commit e467f0b into master Nov 13, 2026
8 checks passed
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