Skip to content

Commit f6b7e1d

Browse files
authored
Add custom GHA large runner (#162)
build: add custom GHA large runner
1 parent e1ba518 commit f6b7e1d

File tree

6 files changed

+29
-11
lines changed

6 files changed

+29
-11
lines changed

.github/workflows/commands-handler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ jobs:
1111
process:
1212
name: Process command
1313
if: github.event.issue.pull_request && endsWith(github.repository, '-private') != true
14-
runs-on: ubuntu-latest
14+
runs-on:
15+
group: Default Larger Runners
16+
labels: ubuntu-latest-m
1517
steps:
1618
- name: Check referred user
1719
id: user-check

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ on:
99
jobs:
1010
check-release:
1111
name: Check release required
12-
runs-on: ubuntu-latest
12+
runs-on:
13+
group: Default Larger Runners
14+
labels: ubuntu-latest-m
1315
if: github.event.pull_request.merged && endsWith(github.repository, '-private') != true
1416
outputs:
1517
release: ${{ steps.check.outputs.ready }}
@@ -28,7 +30,9 @@ jobs:
2830
token: ${{ secrets.GH_TOKEN }}
2931
publish:
3032
name: Publish package
31-
runs-on: ubuntu-latest
33+
runs-on:
34+
group: Default Larger Runners
35+
labels: ubuntu-latest-m
3236
needs: check-release
3337
if: needs.check-release.outputs.release == 'true'
3438
steps:

.github/workflows/run-tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ env:
2020
jobs:
2121
tests:
2222
name: Integration and Unit tests
23-
runs-on: ubuntu-latest
23+
runs-on:
24+
group: Default Larger Runners
25+
labels: ubuntu-latest-m
2426
strategy:
2527
fail-fast: true
2628
matrix:
@@ -50,7 +52,9 @@ jobs:
5052
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
5153
acceptance-tests:
5254
name: Acceptance tests
53-
runs-on: ubuntu-latest
55+
runs-on:
56+
group: Default Larger Runners
57+
labels: ubuntu-latest-m
5458
steps:
5559
- name: Checkout project
5660
uses: actions/checkout@v3
@@ -89,7 +93,9 @@ jobs:
8993
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
9094
all-tests:
9195
name: Tests
92-
runs-on: ubuntu-latest
96+
runs-on:
97+
group: Default Larger Runners
98+
labels: ubuntu-latest-m
9399
needs: [tests, acceptance-tests]
94100
steps:
95101
- name: Tests summary

.github/workflows/run-validations.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on: [push]
55
jobs:
66
lint:
77
name: Lint project
8-
runs-on: ubuntu-latest
8+
runs-on:
9+
group: Default Larger Runners
10+
labels: ubuntu-latest-m
911
steps:
1012
- name: Checkout project
1113
uses: actions/checkout@v3
@@ -22,7 +24,9 @@ jobs:
2224
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
2325
pubnub-yml:
2426
name: "Validate .pubnub.yml"
25-
runs-on: ubuntu-latest
27+
runs-on:
28+
group: Default Larger Runners
29+
labels: ubuntu-latest-m
2630
steps:
2731
- name: Checkout project
2832
uses: actions/checkout@v3
@@ -42,7 +46,9 @@ jobs:
4246
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
4347
all-validations:
4448
name: Validations
45-
runs-on: ubuntu-latest
49+
runs-on:
50+
group: Default Larger Runners
51+
labels: ubuntu-latest-m
4652
needs: [pubnub-yml, lint]
4753
steps:
4854
- name: Validations summary

pubnub/endpoints/entities/user/update_user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from pubnub.endpoints.entities.endpoint import EntitiesEndpoint, UserEndpoint,\
1+
from pubnub.endpoints.entities.endpoint import EntitiesEndpoint, UserEndpoint, \
22
IncludeCustomEndpoint, CustomAwareEndpoint
33
from pubnub.enums import PNOperationType
44
from pubnub.enums import HttpMethod

pubnub/request_handlers/requests_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from pubnub import utils
1111
from pubnub.enums import PNStatusCategory
12-
from pubnub.errors import PNERR_CLIENT_ERROR, PNERR_UNKNOWN_ERROR, PNERR_TOO_MANY_REDIRECTS_ERROR,\
12+
from pubnub.errors import PNERR_CLIENT_ERROR, PNERR_UNKNOWN_ERROR, PNERR_TOO_MANY_REDIRECTS_ERROR, \
1313
PNERR_CLIENT_TIMEOUT, PNERR_HTTP_ERROR, PNERR_CONNECTION_ERROR
1414
from pubnub.errors import PNERR_SERVER_ERROR
1515
from pubnub.exceptions import PubNubException

0 commit comments

Comments
 (0)