Skip to content

Commit

Permalink
Merge pull request voxpupuli#32 from voxpupuli/self
Browse files Browse the repository at this point in the history
beaker/basic: Make CI runner configureable
  • Loading branch information
bastelfreak authored Jun 30, 2023
2 parents 15307be + daa96bd commit fd1e80e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ on:
default: ''
required: false
type: string
unit_runs_on:
description: the runner group used for unit jobs run on
default: ubuntu-latest
required: false
type: string

jobs:
setup_matrix:
Expand Down Expand Up @@ -70,7 +75,7 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
needs: setup_matrix
runs-on: ubuntu-latest
runs-on: ${{ inputs.unit_runs_on }}
timeout-minutes: ${{ inputs.timeout_minutes }}
strategy:
fail-fast: false
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/beaker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ on:
default: "example.com"
required: false
type: string
unit_runs_on:
description: the runner group used for unit jobs run on
default: ubuntu-latest
required: false
type: string
acceptance_runs_on:
description: the runner group used for acceptance jobs run on
default: ubuntu-20.04
required: false
type: string

jobs:
setup_matrix:
Expand Down Expand Up @@ -85,7 +95,7 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
needs: setup_matrix
runs-on: ubuntu-latest
runs-on: ${{ inputs.unit_runs_on }}
timeout-minutes: ${{ inputs.timeout_minutes }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -115,7 +125,7 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
needs: setup_matrix
runs-on: ubuntu-20.04
runs-on: ${{ inputs.acceptance_runs_on }}
env:
BUNDLE_WITHOUT: development:test:release
strategy:
Expand Down

0 comments on commit fd1e80e

Please # to comment.