From 9049d7b36cf73ea9e764cde6909eb76c870a2503 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Thu, 26 Oct 2023 13:53:35 -0700 Subject: [PATCH] add support for metadata2 --hosts param --- .github/workflows/beaker.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/beaker.yml b/.github/workflows/beaker.yml index ada0a4d..965fa00 100644 --- a/.github/workflows/beaker.yml +++ b/.github/workflows/beaker.yml @@ -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 }} @@ -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: