Skip to content

Commit

Permalink
add support for metadata2 --hosts param
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Oct 30, 2023
1 parent e8d0217 commit 9049d7b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/beaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ on:
default: ubuntu-20.04
required: false
type: string
hosts:
description: A list of hostnames to create -- generates multiple SUTs. Separate values using commas'
default: ''
required: false
type: string

env:
BEAKER_HYPERVISOR: ${{ inputs.beaker_hypervisor }}
Expand Down Expand Up @@ -96,7 +101,7 @@ jobs:
if: ${{ inputs.rubocop }}
- name: Setup Test Matrix
id: get-outputs
run: bundle exec metadata2gha --domain ${{ inputs.domain }} --pidfile-workaround ${{ inputs.pidfile_workaround }} --beaker-facter "${{ inputs.beaker_facter }}"
run: bundle exec metadata2gha --domain ${{ inputs.domain }} --pidfile-workaround ${{ inputs.pidfile_workaround }} --beaker-facter "${{ inputs.beaker_facter }}" --hosts "${{ inputs.hosts }}"

unit:
defaults:
Expand Down

0 comments on commit 9049d7b

Please sign in to comment.