Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(runners): use larger github hosted runners + reduce cron frequency #9002

Merged
merged 3 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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