fix(ci): wrap pod_spec GPU patch in spec.containers (Pod-level patch)

Strategic merge patches are applied to the Pod object, not PodSpec.
The patch needs {"spec":{"containers":[...]}} not {"containers":[...]}.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-02-25 18:55:22 +01:00
parent be7b8bad18
commit f3335d87bb

View File

@@ -48,7 +48,7 @@ runners:
[[runners.kubernetes.pod_spec]]
name = "build"
patch_type = "strategic"
patch = '{"containers":[{"name":"build","resources":{"limits":{"nvidia.com/gpu":"1"},"requests":{"nvidia.com/gpu":"1"}}}]}'
patch = '{"spec":{"containers":[{"name":"build","resources":{"limits":{"nvidia.com/gpu":"1"},"requests":{"nvidia.com/gpu":"1"}}}]}}'
# Runner tags for job matching
tags: "kapsule,rust,docker,gpu"