Skip to content

ci: compose every kind job from .github/actions/setup-kind (#1251) - #1261

Merged
bpalermo merged 1 commit into
upgrade/kind-pin-1251from
upgrade/setup-kind-action
Oct 5, 2026
Merged

bpalermo merged 1 commit into
upgrade/kind-pin-1251from
upgrade/setup-kind-action

Conversation

@bpalermo

@bpalermo bpalermo commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Stack 2/3 (#1259 → #1261 → #1262). Builds on #1259's e2e/kind-version.sh.

What

Every e2e surface now runs the same Kubernetes (1.35.8), and the consistency comes from composite actions rather than reusable workflows. The release and signing workflows are not touched.

.github/actions/setup-kind

  • Reads e2e/kind-version.sh and drives helm/kind-action (SHA-pinned, v1.15.0) with the pinned version, kubectl_version and node_image.
  • No cluster_name: install only. kind and kubectl go into the tool cache and onto PATH ahead of the runner's preinstalled kind. Used where the harness or //test/e2e creates its own clusters.
  • cluster_name set: also creates that cluster from the pinned image and deletes it in the post step.
  • These are the two behaviours the conformance and ci.yaml e2e jobs already had when they called kind-action directly.
  • After creating a cluster it prints each node's kubelet version and node image as run evidence.

Used by:

  • gateway-http and mesh-http, which create their cluster through it;
  • ci.yaml's e2e job (install only);
  • the six script-driven jobs (new). They used to run the runner's preinstalled kind and its default kindest/node:v1.37.0.

.github/actions/run-e2e-script

The body that waypoint, replicator, uds, uds-csi, l4-routes and eastwest-quic shared nearly line for line:

  1. download and docker load the build job's images;
  2. setup-kind;
  3. <script> up, with the job's *_SKIP_BUILD=1;
  4. report each cluster's kubelet version and node image;
  5. <script> verify, with continue-on-error under soft;
  6. on failure, run the job's diagnostics and upload the artifact;
  7. <script> down.

Why six jobs and not a matrix. Each suite stays its own job:

  • report-failure reads needs.<job>.result per suite. A matrix collapses those into one result and the auto-filed issue could no longer name the failing suite.
  • only=<suite> dispatch selects a job with a job-level if:, which cannot see matrix values.
  • Check names stay the same. Only ci and proxy are required by the ruleset, so this is about readability, not branch protection.

Unchanged per job: job ids and names, if:, timeout-minutes (60/60/45/45/60/60), skip-build env var, artifact name, log directory, and the diagnostics commands. The diagnostics were moved programmatically, byte for byte, into a diagnostics: input that runs with bash -e like the old run: steps. No ${{ inputs.* }} is interpolated into a script: everything goes through env:. No permissions change.

e2e.yaml: 911 → 759 lines.

//e2e:kind_pin_test gains two checks

  • Check 6: helm/kind-action is used only inside setup-kind, and setup-kind reads the pin file.
  • Check 7: every workflow job that drives kind (a kind create|load|export|get|delete or a ./e2e/*.sh) goes through setup-kind or run-e2e-script.

Run against #1259's workflows, these flag both direct kind-action users and all nine kind-driving jobs (ci.yaml e2e, gateway-http, mesh-http, the six script jobs). On this branch they pass.

Proof

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

@bpalermo

bpalermo commented Oct 5, 2026

Copy link
Copy Markdown
Owner Author

The nightly e2e.yaml ran on the top of the stack (upgrade/setup-bazel-action @ 97ca5b9, only=all): https://github.com/bpalermo/aether/actions/runs/37323288665. The run concluded success.

job result kubelet node image
build (setup-bazel wrapper) success — —
gateway-http success v1.35.8 kindest/node:v1.35.8@sha256:07b2536e…
mesh-http success v1.35.8 same
waypoint (clusters a, b) success v1.35.8 ×2 same
replicator (clusters a, b) success v1.35.8 ×2 same
uds success v1.35.8 same
uds-csi success v1.35.8 same
l4-routes success v1.35.8 same
eastwest-quic success v1.35.8 same
report-failure skipped (not a scheduled run)

Every job's log shows kind v0.33.0 and Client Version: v1.35.8. The node image comes from docker inspect on each kind node container, and the kubelet version from kubectl get nodes. The six script-driven suites ran on 1.37.0 before this change and pass unchanged on 1.35.8.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

.github/actions/setup-kind reads e2e/kind-version.sh and drives
helm/kind-action (SHA-pinned, v1.15.0) with the pinned kind, kubectl and node
image: install-only for a job whose harness creates its own clusters, or
create-the-cluster (with the post-step delete) when cluster_name is set — the
two behaviours the conformance and ci.yaml e2e jobs already had. It also prints
each cluster's kubelet version and node image as run evidence.

Used by gateway-http, mesh-http, ci.yaml's e2e job, and — new — the six
script-driven nightly jobs, which until now ran the runner's preinstalled kind
and its default node image (1.37 while everything else ran 1.35).

Those six (waypoint, replicator, uds, uds-csi, l4-routes, eastwest-quic) now
share one body, .github/actions/run-e2e-script: load the build job's images,
setup-kind, `<script> up`, report the clusters' Kubernetes, `<script> verify`
(continue-on-error under the soft input), diagnostics + artifact on failure,
`<script> down`. Each stays its own job — not a matrix leg — so report-failure
still names the failing suite via needs.<job>.result, only=<suite> still
selects it, and job names, timeouts, skip-build env vars, artifact names and
log paths are unchanged; each job's diagnostics are carried verbatim as an
input. e2e.yaml: 891 -> 759 lines.

//e2e:kind_pin_test gains two checks: helm/kind-action is used only inside
setup-kind (which must read the pin file), and every workflow job that drives
kind or an e2e harness goes through setup-kind / run-e2e-script.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo force-pushed the upgrade/setup-kind-action branch from 0f248b4 to c8e1193 Compare October 5, 2026 16:02
@bpalermo
bpalermo merged commit b7e5478 into main Oct 5, 2026
46 checks passed
@bpalermo
bpalermo deleted the upgrade/setup-kind-action branch October 5, 2026 16:25
bpalermo added a commit that referenced this pull request Oct 6, 2026
The `gateway-http` and `mesh-http` jobs repeated the same 16 steps, and the
"Check formatting" block was duplicated between ci.yaml's `format` and
proxy.yml's `lint`. Both now live in composite actions, in the style of
run-e2e-script/setup-kind (#1261/#1262).

- .github/actions/run-conformance holds the pinned Go (#1283), the images
  artifact, setup-kind with the cluster, cloud-provider-kind (opt-in),
  the Gateway API + aether CRDs, `helm install` (suite `--set` values plus
  the shared image overrides), readiness, the gateway-api checkout, the
  suite run, the report upload, diagnostics and cleanup. Inputs cover
  what differs: profile, suite, cluster name, gateway-api version, helm
  values, readiness script, report file and artifact, logs dir and
  artifact, diagnostics, logs-when, soft.
- Kept as before: job ids, `if:`/`only=` dispatch, timeouts (90m),
  report-failure's needs, the artifact names (gateway-http- and
  mesh-http-conformance-report, conformance-logs, mesh-conformance-logs)
  and the report file names. Also kept: each suite's diagnostics, and
  mesh-http collecting and uploading its logs on every run
  (`logs-when: always`) while gateway-http does so only on failure.
- The suite step now prints `go version` first, as evidence of the
  toolchain.
- .github/actions/format-check: the //:format.check run plus the
  language-set assertion (#853), with the expected languages as input
  (ci.yaml: Starlark, Go, Shell, Protocol Buffer; proxy.yml: Starlark,
  Shell). An empty input fails instead of asserting nothing.
- //e2e:kind_pin_test check 7 now also covers composite actions: one
  that drives kind must use setup-kind. A job that calls run-conformance
  no longer has a kind command of its own. //e2e:go_pin_test scans only
  an action's `runs:` block, because input descriptions mention
  `go test`. Both were seen red with setup-go/setup-kind removed from
  run-conformance.
- publish-verify.yaml: correct the stale comment that named main.yaml's
  `diff` as the only root repository-cache saver (ci.yaml's `diff` saves
  too). This edit was taken because #1291 changes that file at the same time.

e2e.yaml: 824 -> 582 lines (800 on main before #1283).

Closes #1286

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo added a commit that referenced this pull request Oct 6, 2026
The `gateway-http` and `mesh-http` jobs repeated the same 16 steps, and the
"Check formatting" block was duplicated between ci.yaml's `format` and
proxy.yml's `lint`. Both now live in composite actions, in the style of
run-e2e-script/setup-kind (#1261/#1262).

- .github/actions/run-conformance holds the pinned Go (#1283), the images
  artifact, setup-kind with the cluster, cloud-provider-kind (opt-in),
  the Gateway API + aether CRDs, `helm install` (suite `--set` values plus
  the shared image overrides), readiness, the gateway-api checkout, the
  suite run, the report upload, diagnostics and cleanup. Inputs cover
  what differs: profile, suite, cluster name, gateway-api version, helm
  values, readiness script, report file and artifact, logs dir and
  artifact, diagnostics, logs-when, soft.
- Kept as before: job ids, `if:`/`only=` dispatch, timeouts (90m),
  report-failure's needs, the artifact names (gateway-http- and
  mesh-http-conformance-report, conformance-logs, mesh-conformance-logs)
  and the report file names. Also kept: each suite's diagnostics, and
  mesh-http collecting and uploading its logs on every run
  (`logs-when: always`) while gateway-http does so only on failure.
- The suite step now prints `go version` first, as evidence of the
  toolchain.
- .github/actions/format-check: the //:format.check run plus the
  language-set assertion (#853), with the expected languages as input
  (ci.yaml: Starlark, Go, Shell, Protocol Buffer; proxy.yml: Starlark,
  Shell). An empty input fails instead of asserting nothing.
- //e2e:kind_pin_test check 7 now also covers composite actions: one
  that drives kind must use setup-kind. A job that calls run-conformance
  no longer has a kind command of its own. //e2e:go_pin_test scans only
  an action's `runs:` block, because input descriptions mention
  `go test`. Both were seen red with setup-go/setup-kind removed from
  run-conformance.
- publish-verify.yaml: correct the stale comment that named main.yaml's
  `diff` as the only root repository-cache saver (ci.yaml's `diff` saves
  too). This edit was taken because #1291 changes that file at the same time.

e2e.yaml: 824 -> 582 lines (800 on main before #1283).

Closes #1286

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo added a commit that referenced this pull request Oct 6, 2026
The `gateway-http` and `mesh-http` jobs repeated the same 16 steps, and the
"Check formatting" block was duplicated between ci.yaml's `format` and
proxy.yml's `lint`. Both now live in composite actions, in the style of
run-e2e-script/setup-kind (#1261/#1262).

- .github/actions/run-conformance holds the pinned Go (#1283), the images
  artifact, setup-kind with the cluster, cloud-provider-kind (opt-in),
  the Gateway API + aether CRDs, `helm install` (suite `--set` values plus
  the shared image overrides), readiness, the gateway-api checkout, the
  suite run, the report upload, diagnostics and cleanup. Inputs cover
  what differs: profile, suite, cluster name, gateway-api version, helm
  values, readiness script, report file and artifact, logs dir and
  artifact, diagnostics, logs-when, soft.
- Kept as before: job ids, `if:`/`only=` dispatch, timeouts (90m),
  report-failure's needs, the artifact names (gateway-http- and
  mesh-http-conformance-report, conformance-logs, mesh-conformance-logs)
  and the report file names. Also kept: each suite's diagnostics, and
  mesh-http collecting and uploading its logs on every run
  (`logs-when: always`) while gateway-http does so only on failure.
- The suite step now prints `go version` first, as evidence of the
  toolchain.
- .github/actions/format-check: the //:format.check run plus the
  language-set assertion (#853), with the expected languages as input
  (ci.yaml: Starlark, Go, Shell, Protocol Buffer; proxy.yml: Starlark,
  Shell). An empty input fails instead of asserting nothing.
- //e2e:kind_pin_test check 7 now also covers composite actions: one
  that drives kind must use setup-kind. A job that calls run-conformance
  no longer has a kind command of its own. //e2e:go_pin_test scans only
  an action's `runs:` block, because input descriptions mention
  `go test`. Both were seen red with setup-go/setup-kind removed from
  run-conformance.
- publish-verify.yaml: correct the stale comment that named main.yaml's
  `diff` as the only root repository-cache saver (ci.yaml's `diff` saves
  too). This edit was taken because #1291 changes that file at the same time.

e2e.yaml: 824 -> 582 lines (800 on main before #1283).

Closes #1286

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo added a commit that referenced this pull request Oct 6, 2026
The `gateway-http` and `mesh-http` jobs repeated the same 16 steps, and the
"Check formatting" block was duplicated between ci.yaml's `format` and
proxy.yml's `lint`. Both now live in composite actions, in the style of
run-e2e-script/setup-kind (#1261/#1262).

- .github/actions/run-conformance holds the pinned Go (#1283), the images
  artifact, setup-kind with the cluster, cloud-provider-kind (opt-in),
  the Gateway API + aether CRDs, `helm install` (suite `--set` values plus
  the shared image overrides), readiness, the gateway-api checkout, the
  suite run, the report upload, diagnostics and cleanup. Inputs cover
  what differs: profile, suite, cluster name, gateway-api version, helm
  values, readiness script, report file and artifact, logs dir and
  artifact, diagnostics, logs-when, soft.
- Kept as before: job ids, `if:`/`only=` dispatch, timeouts (90m),
  report-failure's needs, the artifact names (gateway-http- and
  mesh-http-conformance-report, conformance-logs, mesh-conformance-logs)
  and the report file names. Also kept: each suite's diagnostics, and
  mesh-http collecting and uploading its logs on every run
  (`logs-when: always`) while gateway-http does so only on failure.
- The suite step now prints `go version` first, as evidence of the
  toolchain.
- .github/actions/format-check: the //:format.check run plus the
  language-set assertion (#853), with the expected languages as input
  (ci.yaml: Starlark, Go, Shell, Protocol Buffer; proxy.yml: Starlark,
  Shell). An empty input fails instead of asserting nothing.
- //e2e:kind_pin_test check 7 now also covers composite actions: one
  that drives kind must use setup-kind. A job that calls run-conformance
  no longer has a kind command of its own. //e2e:go_pin_test scans only
  an action's `runs:` block, because input descriptions mention
  `go test`. Both were seen red with setup-go/setup-kind removed from
  run-conformance.
- publish-verify.yaml: correct the stale comment that named main.yaml's
  `diff` as the only root repository-cache saver (ci.yaml's `diff` saves
  too). This edit was taken because #1291 changes that file at the same time.

e2e.yaml: 824 -> 582 lines (800 on main before #1283).

Closes #1286


Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Co-authored-by: Claude Fable 5.1 <[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.

1 participant