Skip to content

Commit

Permalink
Allow beaker_hypervisor to be set
Browse files Browse the repository at this point in the history
Since voxpupuli/gha-puppet#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'
```
  • Loading branch information
traylenator committed Jan 29, 2024
1 parent 3ce09a3 commit 12ffeca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions moduleroot/.github/workflows/ci.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>
Expand Down

0 comments on commit 12ffeca

Please sign in to comment.