Skip to content

Commit

Permalink
Add DockerPodman class
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bastelfreak committed Mar 27, 2024
1 parent ba52a82 commit fd2bafe
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/beaker/hypervisor/container.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# frozen_string_literal: true

require 'beaker/hypervisor/docker'

module Beaker
class Container < Beaker::Docker
end
end
8 changes: 8 additions & 0 deletions lib/beaker/hypervisor/container_podman.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# frozen_string_literal: true

require 'beaker/hypervisor/docker'

module Beaker
class ContainerPodman < Beaker::Container
end
end

0 comments on commit fd2bafe

Please sign in to comment.