Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/docker: add devicemapper storage test #474

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions kola/tests/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,29 @@ systemd:
Distros: []string{"cl"},
})

register.Register(&register.Test{
Run: func(c cluster.TestCluster) { testDockerInfo("devicemapper", c) },
ClusterSize: 1,
Name: "docker.devicemapper-storage",
// This test is normally not related to the cloud environment
Platforms: []string{"qemu", "qemu-unpriv"},
// Added explicit devicemapper driver selection to override overlay2 default
UserData: conf.Butane(`
variant: flatcar
version: 1.0.0

storage:
files:
- path: /etc/docker/daemon.json
contents:
inline: |
{
"storage-driver": "devicemapper"
}
`),
Distros: []string{"cl"},
})

register.Register(&register.Test{
// For a while we shipped /usr/lib/coreos/dockerd as the execstart of the
// docker systemd unit.
Expand Down