e2e: add docker v29-rc
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
1
.github/workflows/e2e.yml
vendored
1
.github/workflows/e2e.yml
vendored
@ -37,6 +37,7 @@ jobs:
|
||||
- alpine
|
||||
- debian
|
||||
engine-version:
|
||||
- 29-rc # latest rc
|
||||
- 28 # latest
|
||||
- 27 # latest - 1
|
||||
- 25 # mirantis lts
|
||||
|
||||
@ -3,6 +3,8 @@ package image
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"gotest.tools/v3/assert"
|
||||
is "gotest.tools/v3/assert/cmp"
|
||||
"gotest.tools/v3/icmd"
|
||||
)
|
||||
|
||||
@ -10,6 +12,7 @@ func TestPushQuietErrors(t *testing.T) {
|
||||
result := icmd.RunCmd(icmd.Command("docker", "push", "--quiet", "nosuchimage"))
|
||||
result.Assert(t, icmd.Expected{
|
||||
ExitCode: 1,
|
||||
Err: "An image does not exist locally with the tag: nosuchimage",
|
||||
})
|
||||
assert.Check(t, is.Contains(result.Stderr(), "does not exist"))
|
||||
assert.Check(t, is.Contains(result.Stderr(), "nosuchimage"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user