Skip to content

Commit 8502845

Browse files
committed
e2e: add docker v29-rc
Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit 0cd138c) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 71982b0 commit 8502845

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
- alpine
3838
- debian
3939
engine-version:
40+
- 29-rc # latest rc
4041
- 28 # latest
4142
- 27 # latest - 1
4243
- 25 # mirantis lts

e2e/image/push_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@ package image
33
import (
44
"testing"
55

6+
"gotest.tools/v3/assert"
7+
is "gotest.tools/v3/assert/cmp"
68
"gotest.tools/v3/icmd"
79
)
810

911
func TestPushQuietErrors(t *testing.T) {
1012
result := icmd.RunCmd(icmd.Command("docker", "push", "--quiet", "nosuchimage"))
1113
result.Assert(t, icmd.Expected{
1214
ExitCode: 1,
13-
Err: "An image does not exist locally with the tag: nosuchimage",
1415
})
16+
assert.Check(t, is.Contains(result.Stderr(), "does not exist"))
17+
assert.Check(t, is.Contains(result.Stderr(), "nosuchimage"))
1518
}

0 commit comments

Comments
 (0)