From 2b34a34badf18fc132bf5a4a44658b9a3c9cb9de Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Mon, 29 Jan 2024 14:52:02 +0100 Subject: [PATCH] Allow beaker_hypervisor to be set Since https://github.com/voxpupuli/gha-puppet/pull/49 it is possible to use vagrant rather than default docker hypervisor. Allow that configuration to be set via `.sync.yml` ```yaml --- .github/workflows/ci.yml: beaker_hypervisor: 'vagrant_libvirt' ``` --- moduleroot/.github/workflows/ci.yml.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/moduleroot/.github/workflows/ci.yml.erb b/moduleroot/.github/workflows/ci.yml.erb index 3486151d..6bc1ef09 100644 --- a/moduleroot/.github/workflows/ci.yml.erb +++ b/moduleroot/.github/workflows/ci.yml.erb @@ -29,6 +29,9 @@ jobs: <%- if @configs['beaker_facter'] -%> beaker_facter: '<%= @configs['beaker_facter'] %>' <%- end -%> +<%- if @configs['beaker_hypervisor'] -%> + beaker_hypervisor: '<%= @configs['beaker_hypervisor'] %>' +<%- end -%> <%- if @configs['acceptance_runs_on'] -%> acceptance_runs_on: '<%= @configs['acceptance_runs_on'] %>' <%- end -%>