Skip to content

Commit 7dab835

Browse files
committed
Add DockerPodman class
This allows us to set the beaker hypervisor not only to `docker`, but also to `docker_podmand`. This enables us to implement podman specific patches (if we ever need to). But it also makes it easier for modules to specify if they want to use podman or docker. See voxpupuli/gha-puppet#48 for reference.
1 parent 1f99adf commit 7dab835

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Diff for: lib/beaker/hypervisor/container.rb

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
require 'beaker/hypervisor/docker'
4+
5+
module Beaker
6+
class Container < Beaker::Docker
7+
end
8+
end

Diff for: lib/beaker/hypervisor/container_podman.rb

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
require 'beaker/hypervisor/container'
4+
5+
module Beaker
6+
class ContainerPodman < Beaker::Container
7+
end
8+
end

0 commit comments

Comments
 (0)