E52B chore(ci): only trigger time consuming steps when relevant by alexandre-daubois · Pull Request #1714 · php/frankenphp · GitHub
[go: up one dir, main page]

Skip to content

chore(ci): only trigger time consuming steps when relevant#1714

Merged
dunglas merged 1 commit intophp:mainfrom
alexandre-daubois:improve-builds
Jul 5, 2025
Merged

chore(ci): only trigger time consuming steps when relevant#1714
dunglas merged 1 commit intophp:mainfrom
alexandre-daubois:improve-builds

Conversation

@alexandre-daubois
Copy link
Member

Because of the numerous platforms FrankenPHP supports, dozens of Docker images are built every time we push something in a branch. This leads to bottlenecks when multiple pushes are performed in a short amount of time (from 1 to 15 minutes). It can then happens several hours before jobs are picked up by Github runners.

I propose to keep linters, sanitizers and tests for every push. They are quick to run and give immediate feedback on PR health.

Building static bin and dozens of Docker images is the real pain point, therefore I propose to only run them at merge on main and when some specific files are edited. I added a list of glob patterns, feel free to comment which you think should also be added.

Copy link
Contributor
@AlliBalliBaba AlliBalliBaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional patterns can also be added later on 👍

@alexandre-daubois
Copy link
Member Author

Most definitely!

@dunglas dunglas merged commit 23c493d into php:main Jul 5, 2025
43 checks passed
@dunglas
Copy link
Member
dunglas commented Jul 5, 2025

Thanks!

@dunglas dunglas mentioned this pull request Jul 16, 2025
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.

3 participants

0