Skip to content

Commit

Permalink
build: add custom GHA large runner
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon committed Jul 7, 2023
1 parent d1223fe commit b791e30
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/commands-handler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
process:
name: Process command
if: github.event.issue.pull_request && endsWith(github.repository, '-private') != true
runs-on: ubuntu-latest
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
steps:
- name: Check referred user
id: user-check
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ on:
jobs:
check-release:
name: Check release required
runs-on: ubuntu-latest
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
if: ${{ github.event.pull_request.merged && endsWith(github.repository, '-private') != true }}
outputs:
release: ${{ steps.check.outputs.ready }}
Expand All @@ -28,7 +30,9 @@ jobs:
token: ${{ secrets.GH_TOKEN }}
publish:
name: Publish package
runs-on: ubuntu-latest
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
needs: check-release
if: ${{ needs.check-release.outputs.release == 'true' }}
steps:
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ defaults:
jobs:
tests:
name: Integration and Unit tests
runs-on: ubuntu-latest
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -43,7 +45,9 @@ jobs:
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
acceptance-tests:
name: Acceptance tests
runs-on: ubuntu-latest
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
steps:
- name: Checkout project
uses: actions/checkout@v3
Expand Down Expand Up @@ -88,7 +92,9 @@ jobs:
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
all-tests:
name: Tests
runs-on: ubuntu-latest
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
needs: [tests, acceptance-tests]
steps:
- name: Tests summary
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/run-validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on: [push]
jobs:
pubnub-yml:
name: "Validate .pubnub.yml"
runs-on: ubuntu-latest
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
steps:
- name: Checkout project
uses: actions/checkout@v3
Expand All @@ -25,7 +27,9 @@ jobs:
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
all-validations:
name: Validations
runs-on: ubuntu-latest
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
needs: [pubnub-yml]
steps:
- name: Validations summary
Expand Down

0 comments on commit b791e30

Please sign in to comment.