From 9e4b2884f33f4297b2f74cb86069b1f0cff8ede3 Mon Sep 17 00:00:00 2001 From: Sudhish <108091997+skrdgraph@users.noreply.github.com> Date: Sat, 7 Jan 2023 01:15:23 +0000 Subject: [PATCH] fix(ci): adjust cron schedules (#8592) ## 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 --- .github/workflows/ci-dgraph-code-coverage.yml | 2 +- .github/workflows/ci-dgraph-ldbc-tests.yml | 2 +- .github/workflows/ci-dgraph-load-tests.yml | 2 +- .github/workflows/ci-dgraph-tests-arm64.yml | 2 +- .github/workflows/ci-dgraph-tests.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-dgraph-code-coverage.yml b/.github/workflows/ci-dgraph-code-coverage.yml index 965c16a2f32..d1b476d36ec 100644 --- a/.github/workflows/ci-dgraph-code-coverage.yml +++ b/.github/workflows/ci-dgraph-code-coverage.yml @@ -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 diff --git a/.github/workflows/ci-dgraph-ldbc-tests.yml b/.github/workflows/ci-dgraph-ldbc-tests.yml index 901e0330f43..da27e87597a 100644 --- a/.github/workflows/ci-dgraph-ldbc-tests.yml +++ b/.github/workflows/ci-dgraph-ldbc-tests.yml @@ -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 diff --git a/.github/workflows/ci-dgraph-load-tests.yml b/.github/workflows/ci-dgraph-load-tests.yml index 0f371c7e969..70fef9e554c 100644 --- a/.github/workflows/ci-dgraph-load-tests.yml +++ b/.github/workflows/ci-dgraph-load-tests.yml @@ -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 diff --git a/.github/workflows/ci-dgraph-tests-arm64.yml b/.github/workflows/ci-dgraph-tests-arm64.yml index 0801ca5bf88..ac2adc72a48 100644 --- a/.github/workflows/ci-dgraph-tests-arm64.yml +++ b/.github/workflows/ci-dgraph-tests-arm64.yml @@ -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 diff --git a/.github/workflows/ci-dgraph-tests.yml b/.github/workflows/ci-dgraph-tests.yml index 21787dc485a..e3cb92489f4 100644 --- a/.github/workflows/ci-dgraph-tests.yml +++ b/.github/workflows/ci-dgraph-tests.yml @@ -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