Skip to content

[php] Rebuild php-fpm-8.6 base on PHP 8.6.0 GA - #8607

Draft
Leiyks wants to merge 1 commit into
mainfrom
leiyks/php-8.6-ga-base
Draft

Leiyks wants to merge 1 commit into
mainfrom
leiyks/php-8.6-ga-base

Conversation

@Leiyks

@Leiyks Leiyks commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

The php-fpm-8.6 base still runs ondrej/php 8.6.0~rc3 (PHP API 20260924), which cannot load dd-trace-php built for 8.6.0 GA (API 20261112).
A new PPA build does not change the base content hash, so the php-fpm-8.6 target gets a PHP_MIN_PACKAGE_VERSION = "8.6.0" floor: it re-hashes the base, and build.sh fails if the PPA still serves an older php8.6-fpm, so an rc build is never published under the new tag.
The check sits in the shared php-fpm build.sh/base Dockerfile, so every php-fpm base gets a new tag (base-images.lock.json and mirror_images.yaml regenerated; mirror_images.lock.yaml follows once the bases are published).
php8.6-mongodb and php8.6-rdkafka are still not in the PPA for noble, so both stay excluded.

The php-fpm-8.6 base was built from the ondrej/php 8.6.0~rc3 packages
(PHP API 20260924), which cannot load dd-trace-php builds for 8.6.0 GA
(API 20261112). A new PPA build does not change the base content hash,
so add a PHP_MIN_PACKAGE_VERSION floor to the php-fpm-8.6 target: it
re-hashes the base and build.sh fails if the PPA still serves an older
php8.6-fpm, so an rc build can never be published under the new tag.

The floor check lives in the shared php-fpm build.sh and base
Dockerfile, so every php-fpm base gets a new content tag. Regenerate
base-images.lock.json and mirror_images.yaml; mirror_images.lock.yaml
follows once the new bases are published.
@github-actions

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

mirror_images.yaml                                                      @DataDog/system-tests-core
utils/build/docker/base-images.lock.json                                @DataDog/system-tests-reviewers
utils/build/docker/php/docker-bake.hcl                                  @DataDog/system-tests-reviewers
utils/build/docker/php/php-fpm.base.Dockerfile                          @DataDog/system-tests-reviewers
utils/build/docker/php/php-fpm/build.sh                                 @DataDog/system-tests-reviewers

@datadog-datadog-us1-prod

datadog-datadog-us1-prod Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Pipelines

❌ Errors

Your PR has failed checks. Please review the issues below and take necessary action before merging.

🚦 21 Pipeline jobs failed

DataDog/system-tests | build_base_images_amd64 — 🔄 Retry may pass, looks flaky

View more details · View in GitLab

Testing the test | System Tests (php, dev) / Build end-to-end (php-fpm-7.0) — 🔄 Retry may pass, looks flaky

View more details · View in GitHub Actions

Testing the test | System Tests (php, dev) / Build end-to-end (php-fpm-7.1) — 🔄 Retry may pass, looks flaky

View more details · View in GitHub Actions

View all 21 failed jobs.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: a56af5a | Docs | View more details | Give us feedback!

This branch has not been deployed

No deployments
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