Skip to content

ci: Use hermetic git toolchain - #48874

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-hermetic-git
Nov 2, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:ci-hermetic-git

Conversation

@phlax

@phlax phlax commented Oct 30, 2026

Copy link
Copy Markdown
Member

Resolve toolshed's prebuilt git (//tools/git:bin) once in ci/do_ci.sh as GIT_BIN, and use it explicitly for workspace status, CI scripts and the code format visibility check, instead of a git installed in the build image. bazel_tool_path skips workspace status, as it may be resolving git itself.

Bazel genrules use the git toolchain directly ($(GIT)), so the proto_format hashes no longer need host git (or no-remote-exec for formatted_api_hashes).

Outside CI, get_workspace_status and tools/git/* fall back to host git when GIT_BIN is unset.

@phlax phlax changed the title ci: Use the hermetic git toolchain [WIP] ci: Use the hermetic git toolchain Oct 30, 2026
@phlax
phlax marked this pull request as draft October 30, 2026 15:27
@phlax
phlax requested a balanced review from Copilot October 30, 2026 15:27

Copilot AI 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.

🟡 Changes recommended

The Git toolchain registration supports only Linux, causing macOS proto-format checks and the pre-push hook to fail toolchain resolution without a macOS implementation or host-Git fallback.

1 open issue
What changed in this PR

This PR moves Envoy’s CI and proto-format tooling toward hermetic Git, reducing reliance on Git installed in build images.

Changes:

  • Registers toolshed’s prebuilt Git toolchain and exposes executable and runtime targets.
  • Resolves GIT_BIN for CI scripts, workspace status, and visibility checks, retaining host-Git fallback in local helper scripts.
  • Migrates proto-format genrules to $(GIT) and enables remote execution for formatted API hashing.
File Description
tools/​proto_format/​BUILD Uses the Git toolchain and declares runtime inputs.
tools/​git/​modified_since_last_github_commit.sh Uses GIT_BIN with host-Git fallback.
tools/​git/​last_github_commit.sh Uses GIT_BIN with host-Git fallback.
tools/​git/​defs.bzl Defines Git executable and runtime rules.
tools/​git/​BUILD Exposes public Git targets.
tools/​code_format/​check_format.py Uses GIT_BIN for visibility checks.
MODULE.bazel.lock Updates the Git extension usage digest.
MODULE.bazel Registers the prebuilt Git toolchain.
mobile/​MODULE.bazel.lock Updates the Git extension usage digest.
docs/​MODULE.bazel.lock Updates the Git extension usage digest.
docs/​bazel/​get_workspace_status Uses configurable Git for workspace metadata.
ci/​format_pre.sh Uses hermetic Git for formatting diagnostics.
ci/​do_ci.sh Initializes hermetic Git and updates Git calls.
ci/​check_and_fix_format.sh Uses hermetic Git to produce formatting patches.
ci/​bazel_fun.sh Adds Git resolution and skips bootstrap workspace status.
bazel/​tests/​external/​MODULE.bazel.lock Updates the Git extension usage digest.
bazel/​tests/​codeql/​MODULE.bazel.lock Updates the Git extension usage digest.
bazel/​get_workspace_status Uses configurable Git for workspace metadata.

Review effort: Balanced

Comment thread MODULE.bazel Resolved

@jwendell jwendell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Isn't this too much? Maybe we should even make the kernel hermetic lol

Users can opt-out by setting GIT_BIN?

@phlax

phlax commented Oct 30, 2026

Copy link
Copy Markdown
Member Author

no - its one of the reasons that some ci has to use special worker contianers with git added - i t hink this makes total sense

as a general point - i think the principal is hermetic from glibc up

will check further re setting your own tools

@phlax
phlax force-pushed the ci-hermetic-git branch 2 times, most recently from a52c699 to e7b953c Compare October 30, 2026 18:34
@phlax
phlax requested a balanced review from Copilot October 30, 2026 18:38

Copilot AI 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.

🟡 Changes recommended

The pinned toolshed toolchain requires an executable provider that its Git filegroup targets lack, blocking analysis of //tools/git:bin and the proto-format genrules.

2 open issues

Review effort: Balanced

Comment thread MODULE.bazel Resolved
@phlax
phlax force-pushed the ci-hermetic-git branch 2 times, most recently from 4b7d45a to 64f6bfe Compare October 30, 2026 20:00
@phlax phlax changed the title [WIP] ci: Use the hermetic git toolchain ci: Use the hermetic git toolchain Oct 30, 2026
@phlax
phlax marked this pull request as ready for review October 30, 2026 20:01
@phlax phlax changed the title ci: Use the hermetic git toolchain ci: Use hermetic git toolchain Oct 30, 2026
@phlax

phlax commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

/retest flakey example

Copilot AI 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.

🟡 Changes recommended

The change blocks all CI targets on supported native Linux ppc64le hosts because //tools/git:bin cannot resolve without a host fallback and matching proto-format fallback toolchain.

1 open issue
2 resolved since last review

Review effort: Balanced

Comment thread ci/bazel_fun.sh Resolved
Resolve toolshed's prebuilt git (`//tools/git:bin`) once in
`ci/do_ci.sh` as `GIT_BIN`, and use it explicitly for workspace status,
CI scripts and the code format visibility check, instead of a `git`
installed in the build image. `bazel_tool_path` skips workspace status,
as it may be resolving git itself.

Bazel genrules use the git toolchain directly (`$(GIT)`), so the
proto_format hashes no longer need host git (or `no-remote-exec` for
`formatted_api_hashes`).

Outside CI, `get_workspace_status` and `tools/git/*` fall back to host
`git` when `GIT_BIN` is unset.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 12, 2026
Resolve toolshed's prebuilt git (`//tools/git:bin`) once in
`ci/do_ci.sh` as `GIT_BIN`, and use it explicitly for workspace status,
CI scripts and the code format visibility check, instead of a `git`
installed in the build image. `bazel_tool_path` skips workspace status,
as it may be resolving git itself.

Bazel genrules use the git toolchain directly (`$(GIT)`), so the
proto_format hashes no longer need host git (or `no-remote-exec` for
`formatted_api_hashes`).

Outside CI, `get_workspace_status` and `tools/git/*` fall back to host
`git` when `GIT_BIN` is unset.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 35c63b4)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 12, 2026
With git (#48874), jq and hunspell (#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 19, 2026
With git (envoyproxy#48874), jq and hunspell (envoyproxy#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 20, 2026
With git (#48874), jq and hunspell (#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 20, 2026
With git (#48874), jq and hunspell (#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 20, 2026
With git (#48874), jq and hunspell (#48894) now hermetic, CI no longer
needs the devtools build image. ci/run_envoy_docker.sh now uses the
minimal ci image whenever it runs under GitHub Actions, rather than only
for jobs that set docker-ci.

Jobs that still need devtools opt in with the new devtools workflow
input (ENVOY_DOCKER_DEVTOOLS). For now that is only mobile docs
publishing, whose publish.sh runs host git outside do_ci.sh. Local and
devcontainer use keeps devtools. The selection lives in each branch's
script, so release branches, which run main's workflows, keep their
existing behaviour.

Backport note: only the `ci/run_envoy_docker.sh` change is picked. CI runs
`main`'s workflows, so the `.github/workflows` changes are dropped. The
spelling check (hunspell) and the GCC toolchain are hermetic on this branch as
of this stack; git comes from the `ci` image, which has it.

(cherry picked from commit 0545bf5)
Signed-off-by: Ryan Northey <[email protected]>
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