Skip to content

ci: disable Kokoro deployment tests and upgrade worker images from php81 to php83 - #2338

Merged
s-deitz merged 1 commit into
mainfrom
fix/priority-0-kokoro-lockdown
Oct 22, 2026
Merged

s-deitz merged 1 commit into
mainfrom
fix/priority-0-kokoro-lockdown

Conversation

@s-deitz

@s-deitz s-deitz commented Oct 22, 2026

Copy link
Copy Markdown
Member

Summary

PHP 8.1 and earlier runtimes have reached End of Support and do not receive upstream patches for the October 2026 critical vulnerabilities (CVE-2026-109618 & CVE-2026-109619).

While the sample app.yaml and Dockerfile configurations across this repository are being updated from php81/php72 to supported php83/php84 runtimes, this PR immediately prevents Kokoro CI from deploying legacy PHP runtimes or running test suites on the unsupported php81 worker image:

  1. Disable Kokoro sample deployments (RUN_DEPLOYMENT_TESTS=false) in .kokoro/deploy_gae.cfg, .kokoro/deploy_gcf.cfg, and .kokoro/deploy_misc.cfg until sample runtime configurations are upgraded to PHP 8.2+.
  2. Upgrade Kokoro worker TRAMPOLINE_IMAGE from php81 to php83 across .kokoro/deploy_*.cfg and .kokoro/php_rest.cfg.
  3. Remove .kokoro/php81.cfg as PHP 8.1 is End-of-Life.

…p81 to php83

Prevents Kokoro deployment jobs (deploy_gae.cfg, deploy_gcf.cfg, deploy_misc.cfg) from deploying unauthenticated php81/php72 sample apps until sample app.yaml and Dockerfile configurations are upgraded to PHP 8.2+ (CVE-2026-109618 / CVE-2026-109619).
@s-deitz
s-deitz requested a review from a team as a code owner October 22, 2026 17:16
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Oct 22, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates several Kokoro configuration files to upgrade the trampoline image from PHP 8.1 to PHP 8.3. It also temporarily disables deployment tests across these configurations due to security vulnerabilities in end-of-life PHP versions (< 8.2) used in sample configs, and removes an obsolete configuration file. There are no review comments, and I have no feedback to provide.

@iennae iennae left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM; php83.cfg exists so this should work.

@s-deitz
s-deitz merged commit a21f90b into main Oct 22, 2026
12 checks passed
@s-deitz
s-deitz deleted the fix/priority-0-kokoro-lockdown branch October 22, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants