Skip to content

Commit

Permalink
fix(ci): adjust cron schedules (#8592)
Browse files Browse the repository at this point in the history
## Problem
Our scheduled runs happen too often. We now have a stable baseline - and
we can limit these runs. We are also adjusting triggering evented runs
when a PR is opened, and when a PR is merged*. Reducing the scheduled
run makes more sense now.

## Solution
changing these runs to happen twice daily
  • Loading branch information
skrdgraph authored Jan 7, 2023
1 parent d09d679 commit 9e4b288
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-dgraph-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches:
- main
schedule:
- cron: "0 0,6,12,18 * * *"
- cron: "0 0 * * *" # 1-run per day
jobs:
dgraph-code-coverage:
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 @@ -12,7 +12,7 @@ on:
branches:
- main
schedule:
- cron: "30 * * * *"
- cron: "0 0 * * *" # 1-run per day
jobs:
dgraph-ldbc-tests:
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-dgraph-load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches:
- main
schedule:
- cron: "0 0,6,12,18 * * *"
- cron: "0 0,12 * * *" # 2-runs per day
jobs:
dgraph-load-tests:
if: github.event.pull_request.draft == false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-dgraph-tests-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches:
- main
schedule:
- cron: "0 0,6,12,18 * * *"
- cron: "0 0,12 * * *" # 2-runs per day
jobs:
dgraph-tests:
if: github.event.pull_request.draft == false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-dgraph-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches:
- main
schedule:
- cron: "0 0,6,12,18 * * *"
- cron: "0 0,12 * * *" # 2-runs per day
jobs:
dgraph-tests:
if: github.event.pull_request.draft == false
Expand Down

0 comments on commit 9e4b288

Please sign in to comment.