Skip to content

Commit

Permalink
Support different container implementations from beaker-docker
Browse files Browse the repository at this point in the history
This adds support for
* docker_podman
* container
* container_swarm
* container_podman
* container_docker

See voxpupuli/gha-puppet#48
  • Loading branch information
bastelfreak committed Sep 20, 2024
1 parent afeb4d2 commit 45087e8
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions lib/beaker-hostgenerator/hypervisor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,17 @@ def self.create(node_info, options)
# and their implementations.
def self.builtin_hypervisors
{
'vmpooler' => BeakerHostGenerator::Hypervisor::Vmpooler,
'vagrant' => BeakerHostGenerator::Hypervisor::Vagrant,
'vagrant_libvirt' => BeakerHostGenerator::Hypervisor::Vagrant,
'docker' => BeakerHostGenerator::Hypervisor::Docker,
'abs' => BeakerHostGenerator::Hypervisor::ABS,
'container' => BeakerHostGenerator::Hypervisor::Docker,
'container_docker' => BeakerHostGenerator::Hypervisor::Docker,
'container_podman' => BeakerHostGenerator::Hypervisor::Docker,
'container_swarm' => BeakerHostGenerator::Hypervisor::Docker,
'docker' => BeakerHostGenerator::Hypervisor::Docker,
'docker_podman' => BeakerHostGenerator::Hypervisor::Docker,
'hcloud' => BeakerHostGenerator::Hypervisor::Hcloud,
'vagrant' => BeakerHostGenerator::Hypervisor::Vagrant,
'vagrant_libvirt' => BeakerHostGenerator::Hypervisor::Vagrant,
'vmpooler' => BeakerHostGenerator::Hypervisor::Vmpooler,
}
end

Expand Down

0 comments on commit 45087e8

Please sign in to comment.