Skip to content

Commit 6dc93c7

Browse files
ci(runners): use larger github hosted runners + reduce cron frequency (#9002)
* chore(ci): move to github hosted large runners & reduce job frequency
1 parent f208d62 commit 6dc93c7

10 files changed

+14
-33
lines changed

.github/workflows/ci-dgraph-code-coverage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ on:
2424
- 'release/**'
2525
jobs:
2626
dgraph-code-coverage:
27-
runs-on: [self-hosted, x64]
28-
# runs-on: ubuntu-20.04
27+
runs-on: ubuntu-20.04-32gb
2928
steps:
3029
- uses: actions/checkout@v3 # defaults to SHA of event that triggered workflow
3130
- name: Get Go Version

.github/workflows/ci-dgraph-fuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- main
1515
- 'release/**'
1616
schedule:
17-
- cron: "1 */8 * * *" # every 8hrs
17+
- cron: "0 0 * * *" # 1 run per day
1818
jobs:
1919
fuzz-test:
2020
runs-on: ubuntu-20.04

.github/workflows/ci-dgraph-integration2-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- main
1515
- 'release/**'
1616
schedule:
17-
- cron: "1 */4 * * *" # every 4hrs
17+
- cron: "0 0 * * *" # 1 run per day
1818
jobs:
1919
dgraph-integration2-tests:
2020
if: github.event.pull_request.draft == false

.github/workflows/ci-dgraph-ldbc-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
- main
3333
- 'release/**'
3434
schedule:
35-
- cron: "1 0 * * *" # 1-run per day
35+
- cron: "0 0 * * *" # 1-run per day
3636
jobs:
3737
dgraph-ldbc-tests:
3838
if: github.event.pull_request.draft == false

.github/workflows/ci-dgraph-load-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ on:
3232
- main
3333
- 'release/**'
3434
schedule:
35-
- cron: "1 0,6,12,18 * * *"
35+
- cron: "0 0 * * *" # 1 run per day
3636
jobs:
3737
dgraph-load-tests:
3838
if: github.event.pull_request.draft == false
39-
runs-on: [self-hosted, x64]
39+
runs-on: ubuntu-20.04-32gb
4040
steps:
4141
- uses: actions/checkout@v3
4242
- name: Get Go Version

.github/workflows/ci-dgraph-oss-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ on:
3232
- main
3333
- 'release/**'
3434
schedule:
35-
- cron: "1 0,6,12,18 * * *"
35+
- cron: "0 0 * * *" # 1 run per day
3636
jobs:
3737
dgraph-oss-build:
3838
if: github.event.pull_request.draft == false

.github/workflows/ci-dgraph-tests-arm64.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,8 @@ on:
2222
branches:
2323
- main
2424
- 'release/**'
25-
pull_request:
26-
types:
27-
- opened
28-
- reopened
29-
- synchronize
30-
- ready_for_review
31-
branches:
32-
- main
33-
- 'release/**'
3425
schedule:
35-
- cron: "1 0,6,12,18 * * *"
26+
- cron: "0 0 * * *" # 1 run per day
3627
jobs:
3728
dgraph-tests:
3829
if: github.event.pull_request.draft == false

.github/workflows/ci-dgraph-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ on:
3232
- main
3333
- 'release/**'
3434
schedule:
35-
- cron: "1 0,6,12,18 * * *"
35+
- cron: "0 0 * * *" # 1 run per day
3636
jobs:
3737
dgraph-tests:
3838
if: github.event.pull_request.draft == false
39-
runs-on: [self-hosted, x64]
39+
runs-on: ubuntu-20.04-32gb
4040
steps:
4141
- uses: actions/checkout@v3
4242
- name: Get Go Version

.github/workflows/ci-dgraph-upgrade-fixed-versions-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: ci-dgraph-upgrade-fixed-versions-tests
22
on:
33
schedule:
4-
- cron: "1 */12 * * *" # every 12hrs
4+
- cron: "0 3 * *" # 1 run per day
55
jobs:
66
dgraph-upgrade-fixed-versions-tests:
7-
runs-on: [self-hosted, x64]
7+
runs-on: ubuntu-20.04-32gb
88
timeout-minutes: 720
99
steps:
1010
- uses: actions/checkout@v3

.github/workflows/ci-dgraph-upgrade-tests.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,12 @@ on:
44
branches:
55
- main
66
- 'release/**'
7-
pull_request:
8-
types:
9-
- opened
10-
- reopened
11-
- synchronize
12-
- ready_for_review
13-
branches:
14-
- main
15-
- 'release/**'
167
schedule:
17-
- cron: "1 */4 * * *" # every 4hrs
8+
- cron: "0 0 * * *" # 1 run per day
189
jobs:
1910
dgraph-upgrade-tests:
2011
if: github.event.pull_request.draft == false
21-
runs-on: [self-hosted, x64]
12+
runs-on: ubuntu-20.04-32gb
2213
steps:
2314
- uses: actions/checkout@v3
2415
with:

0 commit comments

Comments
 (0)