Skip to content

Fix build (7.2) CI failure: point apt to archive.debian.org for EOL buster - #426

Merged
Raymond Zhao (rzhao271) merged 2 commits into
mainfrom
copilot/fix-build-7-2-workflow
Aug 31, 2026
Merged

Fix build (7.2) CI failure: point apt to archive.debian.org for EOL buster#426
Raymond Zhao (rzhao271) merged 2 commits into
mainfrom
copilot/fix-build-7-2-workflow

Conversation

Copilot AI commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

The build (7.2) CI job failed because php:7.2 is built on Debian buster, which reached EOL and was pulled from the live deb.debian.org/security.debian.org mirrors (404 on apt-get update).

Changes

  • ci/Dockerfile: before apt-get update, detect buster via /etc/os-release and rewrite /etc/apt/sources.list to use archive.debian.org instead of the live mirrors.
  • Scoped to buster only, so other matrix versions (7.3, 7.4, 8.0, 8.1, 8.2.0beta2) build against their current (non-EOL) Debian codenames unaffected.
RUN if grep -q buster /etc/os-release 2>/dev/null; then \
        sed -i \
            -e 's|deb.debian.org/debian|archive.debian.org/debian|g' \
            -e 's|security.debian.org/debian-security|archive.debian.org/debian-security|g' \
            /etc/apt/sources.list; \
    fi \
    && apt-get update && apt-get install -y unzip && apt-get clean

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
Copilot AI changed the title Fix build (7.2) CI failure by using archive.debian.org for EOL buster Fix build (7.2) CI failure: point apt to archive.debian.org for EOL buster Aug 31, 2026
@rzhao271

Copy link
Copy Markdown
Contributor

Copilot Remove the workflow instead considering it has reached EOL.

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

Copilot AI commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Copilot Remove the workflow instead considering it has reached EOL.

Done in 71fadea — reverted the apt-source workaround in ci/Dockerfile and removed PHP 7.2 from the CI matrix in .github/workflows/main.yml.

@rzhao271 Raymond Zhao (rzhao271) added this to the 1.137.0 milestone Aug 31, 2026
@rzhao271
Raymond Zhao (rzhao271) marked this pull request as ready for review August 31, 2026 18:53
@rzhao271
Raymond Zhao (rzhao271) enabled auto-merge (squash) August 31, 2026 18:57
@rzhao271
Raymond Zhao (rzhao271) merged commit 6dbe827 into main Aug 31, 2026
10 checks passed
@rzhao271
Raymond Zhao (rzhao271) deleted the copilot/fix-build-7-2-workflow branch August 31, 2026 19:36
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.

4 participants