Skip to content

Commit

Permalink
ci(runners): use larger github hosted runners + reduce cron frequency (
Browse files Browse the repository at this point in the history
…#9002)

* chore(ci): move to github hosted large runners & reduce job frequency
  • Loading branch information
joshua-goldstein authored Sep 29, 2023
1 parent f208d62 commit 6dc93c7
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 33 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-dgraph-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ on:
- 'release/**'
jobs:
dgraph-code-coverage:
runs-on: [self-hosted, x64]
# runs-on: ubuntu-20.04
runs-on: ubuntu-20.04-32gb
steps:
- uses: actions/checkout@v3 # defaults to SHA of event that triggered workflow
- name: Get Go Version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-dgraph-fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- main
- 'release/**'
schedule:
- cron: "1 */8 * * *" # every 8hrs
- cron: "0 0 * * *" # 1 run per day
jobs:
fuzz-test:
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-dgraph-integration2-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- main
- 'release/**'
schedule:
- cron: "1 */4 * * *" # every 4hrs
- cron: "0 0 * * *" # 1 run per day
jobs:
dgraph-integration2-tests:
if: github.event.pull_request.draft == false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-dgraph-ldbc-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ on:
- main
- 'release/**'
schedule:
- cron: "1 0 * * *" # 1-run per day
- cron: "0 0 * * *" # 1-run per day
jobs:
dgraph-ldbc-tests:
if: github.event.pull_request.draft == false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-dgraph-load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ on:
- main
- 'release/**'
schedule:
- cron: "1 0,6,12,18 * * *"
- cron: "0 0 * * *" # 1 run per day
jobs:
dgraph-load-tests:
if: github.event.pull_request.draft == false
runs-on: [self-hosted, x64]
runs-on: ubuntu-20.04-32gb
steps:
- uses: actions/checkout@v3
- name: Get Go Version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-dgraph-oss-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ on:
- main
- 'release/**'
schedule:
- cron: "1 0,6,12,18 * * *"
- cron: "0 0 * * *" # 1 run per day
jobs:
dgraph-oss-build:
if: github.event.pull_request.draft == false
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/ci-dgraph-tests-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,8 @@ on:
branches:
- main
- 'release/**'
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
- 'release/**'
schedule:
- cron: "1 0,6,12,18 * * *"
- cron: "0 0 * * *" # 1 run per day
jobs:
dgraph-tests:
if: github.event.pull_request.draft == false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-dgraph-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ on:
- main
- 'release/**'
schedule:
- cron: "1 0,6,12,18 * * *"
- cron: "0 0 * * *" # 1 run per day
jobs:
dgraph-tests:
if: github.event.pull_request.draft == false
runs-on: [self-hosted, x64]
runs-on: ubuntu-20.04-32gb
steps:
- uses: actions/checkout@v3
- name: Get Go Version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-dgraph-upgrade-fixed-versions-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: ci-dgraph-upgrade-fixed-versions-tests
on:
schedule:
- cron: "1 */12 * * *" # every 12hrs
- cron: "0 3 * *" # 1 run per day
jobs:
dgraph-upgrade-fixed-versions-tests:
runs-on: [self-hosted, x64]
runs-on: ubuntu-20.04-32gb
timeout-minutes: 720
steps:
- uses: actions/checkout@v3
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/ci-dgraph-upgrade-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,12 @@ on:
branches:
- main
- 'release/**'
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
- 'release/**'
schedule:
- cron: "1 */4 * * *" # every 4hrs
- cron: "0 0 * * *" # 1 run per day
jobs:
dgraph-upgrade-tests:
if: github.event.pull_request.draft == false
runs-on: [self-hosted, x64]
runs-on: ubuntu-20.04-32gb
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 6dc93c7

Please sign in to comment.