MCPcopy Create free account
hub / github.com/PostHog/duckgres / readCompose

Function readCompose

tests/integration/composefile/compose_test.go:58–70  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

56 filepath.Join("..", "..", "..", "docker-compose.yaml"),
57 filepath.Join("..", "..", "..", "k8s", "local-config-store.compose.yaml"),
58 } {
59 t.Run(path, func(t *testing.T) {
60 compose := readComposePath(t, path)
61 storage := serviceNamed(t, compose, "minio")
62 if storage.Image != image {
63 t.Errorf("storage image = %q, want pinned Silo %q", storage.Image, image)
64 }
65 if init, ok := compose.Services["minio-init"]; ok {
66 if init.Image != image {
67 t.Errorf("init image = %q, want same bundled client release as server", init.Image)
68 }
69 }
70 })
71 }
72}
73

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected