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 7aa1115 commit 9335446
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 @@ -8,7 +8,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 @@ -27,7 +29,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 @@ -15,7 +15,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 @@ -62,7 +64,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 @@ -102,7 +106,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 @@ -13,7 +13,9 @@ defaults:
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 @@ -33,7 +35,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 9335446

Please sign in to comment.