MCPcopy Create free account
hub / github.com/docker/compose / TestBuildDependentImageWithProfile

Function TestBuildDependentImageWithProfile

pkg/e2e/build_test.go:602–612  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

600}
601
602func TestBuildDependentImageWithProfile(t *testing.T) {
603 c := NewParallelCLI(t)
604
605 t.Cleanup(func() {
606 c.RunDockerComposeCmd(t, "-f", "fixtures/build-test/profiles/compose.yaml", "down", "--rmi=local")
607 })
608
609 res := c.RunDockerComposeCmd(t, "-f", "fixtures/build-test/profiles/compose.yaml", "build", "secret-build-test")
610 out := res.Combined()
611 assert.Check(t, strings.Contains(out, "secret-build-test Built"))
612}
613
614func TestBuildTLS(t *testing.T) {
615 t.Helper()

Callers

nothing calls this directly

Calls 2

NewParallelCLIFunction · 0.85
RunDockerComposeCmdMethod · 0.80

Tested by

no test coverage detected