grim/convey

Create a zip file for the docs

11 months ago, Gary Kramlich
c6695a974177
Create a zip file for the docs

Also renamed `convey-docs.yml` as it was getting deleted by the convey clean plan previously.

Testing Done:
Ran locally and verified the zip file was structured correctly.

Reviewed at https://reviews.imfreedom.org/r/2469/
package podman
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestLogin(t *testing.T) {
l := &Login{
Registry: "docker.io",
Username: "username",
Password: "password",
}
assert.NoError(t, l.Valid())
}
func TestLoginRegistryRequired(t *testing.T) {
l := &Login{
Username: "username",
Password: "password",
}
assert.ErrorIs(t, l.Valid(), ErrNoRegistry)
}
func TestLoginUsernameRequired(t *testing.T) {
l := &Login{
Registry: "docker.io",
Password: "password",
}
assert.ErrorIs(t, l.Valid(), ErrNoUsername)
}
func TestLoginPasswordRequired(t *testing.T) {
l := &Login{
Registry: "docker.io",
Username: "username",
}
assert.ErrorIs(t, l.Valid(), ErrNoPassword)
}