Skip to content

Commit a85f8a4

Browse files
ndeloofglours
authored andcommitted
run build tests against bake
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 095f65c commit a85f8a4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pkg/e2e/build_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ import (
3333

3434
func TestLocalComposeBuild(t *testing.T) {
3535

36-
for _, env := range []string{"DOCKER_BUILDKIT=0", "DOCKER_BUILDKIT=1"} {
37-
c := NewCLI(t, WithEnv(env))
36+
for _, env := range []string{"DOCKER_BUILDKIT=0", "DOCKER_BUILDKIT=1", "DOCKER_BUILDKIT=1,COMPOSE-BAKE=1"} {
37+
c := NewCLI(t, WithEnv(strings.Split(env, ",")...))
3838

3939
t.Run(env+" build named and unnamed images", func(t *testing.T) {
4040
// ensure local test run does not reuse previously build image

pkg/e2e/fixtures/network-test/compose.subnet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ networks:
88
test:
99
ipam:
1010
config:
11-
- subnet: ${SUBNET-172.28.0.0/16}
11+
- subnet: ${SUBNET-172.99.0.0/16}
1212

pkg/e2e/networks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func TestNetworkConfigChanged(t *testing.T) {
159159
})
160160

161161
res := c.RunDockerComposeCmd(t, "--project-name", projectName, "exec", "test", "hostname", "-i")
162-
res.Assert(t, icmd.Expected{Out: "172.28.0."})
162+
res.Assert(t, icmd.Expected{Out: "172.99.0."})
163163
res.Combined()
164164

165165
cmd := c.NewCmdWithEnv([]string{"SUBNET=192.168.0.0/16"},

0 commit comments

Comments
 (0)