Skip to content

Commit

Permalink
beaker: Set job-specific domain
Browse files Browse the repository at this point in the history
The used domain for beaker instances is now unique for each workflow run
for each module we have.
  • Loading branch information
bastelfreak committed Dec 12, 2022
1 parent a8fea30 commit a3c2a01
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 @@ -39,6 +39,11 @@ on:
default: docker
required: false
type: string
domain:
description: The domain that will be used for the beaker instances
default: ${{ github.run_attempt }}-${{ github.run_id }}-${{ github.sha }}.example.com
required: false
type: string

jobs:
setup_matrix:
Expand Down Expand Up @@ -72,7 +77,7 @@ jobs:
if: ${{ inputs.rubocop }}
- name: Setup Test Matrix
id: get-outputs
run: bundle exec metadata2gha --use-fqdn --pidfile-workaround ${{ inputs.pidfile_workaround }}
run: bundle exec metadata2gha --domain ${{ inputs.domain }} --pidfile-workaround ${{ inputs.pidfile_workaround }}

unit:
defaults:
Expand Down

0 comments on commit a3c2a01

Please sign in to comment.