Fix ingress probe image selection

This commit is contained in:
2026-08-03 19:49:35 +02:00
parent 2f28f22fd1
commit 6163c5992f
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ jobs:
python tools/checks/managed-ingress-drill.py python tools/checks/managed-ingress-drill.py
--caddy-image "$MANAGED_INGRESS_IMAGE" --caddy-image "$MANAGED_INGRESS_IMAGE"
--load-balancer-image "$LOAD_BALANCER_IMAGE" --load-balancer-image "$LOAD_BALANCER_IMAGE"
--probe-image "$(jq -r '.platforms[\"linux/amd64\"]' runtime-output/api-metadata.json)" --probe-image "$(jq -r '.platforms["linux/amd64"]' runtime-output/api-metadata.json)"
- name: Publish immutable Gitea release assets - name: Publish immutable Gitea release assets
working-directory: govoplan working-directory: govoplan
env: env:
+5
View File
@@ -156,6 +156,11 @@ class RuntimeDistributionBuildTests(unittest.TestCase):
) )
self.assertIn("runtime-smoke-amd64.json", workflow) self.assertIn("runtime-smoke-amd64.json", workflow)
self.assertIn("runtime-smoke-arm64.json", workflow) self.assertIn("runtime-smoke-arm64.json", workflow)
self.assertIn(
"jq -r '.platforms[\"linux/amd64\"]' runtime-output/api-metadata.json",
workflow,
)
self.assertNotIn(".platforms[\\\"linux/amd64\\\"]", workflow)
def test_workflow_binds_the_release_tag_to_the_workflow_commit(self) -> None: def test_workflow_binds_the_release_tag_to_the_workflow_commit(self) -> None:
workflow = (ROOT / ".gitea/workflows/runtime-distribution.yml").read_text( workflow = (ROOT / ".gitea/workflows/runtime-distribution.yml").read_text(