From ea2b3fce0ac47a0af01a04754de9b3cf41b32a06 Mon Sep 17 00:00:00 2001 From: Pankaj Koti Date: Fri, 5 Apr 2024 12:26:36 +0530 Subject: [PATCH] Disable schedule astro-deploy job and run the RC test scheduled job only once a day (#2136) Since we have a job to test upstream RCs, and additionally our CI runs integrations tests on every PR, we can disable the scheduled astro deploy job for now to reduce our cloud costs. In the future, in case we need to run this on schedule, we can enable it again by uncommenting the schedule. Additionally, I am changing the RC test scheduled job to run only once a day instead of running it twice. We need to further optimise that job to trigger a deploy only when actual RCs are out. At the moment, we run the deploy and master DAG irrespective of RCs being out. --- .github/workflows/ci-astro-deploy.yml | 7 +++++-- .github/workflows/ci-rc-test.yaml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-astro-deploy.yml b/.github/workflows/ci-astro-deploy.yml index fdc4557e5..1dce2b0ba 100644 --- a/.github/workflows/ci-astro-deploy.yml +++ b/.github/workflows/ci-astro-deploy.yml @@ -1,7 +1,10 @@ name: "Astro Deploy" on: - schedule: - - cron: '0 19 * * *' + # Since we have a job to test upstream RCs, and additionally our CI runs integrations tests on every PR, + # we can disable this scheduled job for now. In the future, in case we need to run this on schedule, we + # can enable it again by uncommenting the below schedule. + # schedule: + # - cron: '0 19 * * *' workflow_dispatch: inputs: git_rev: diff --git a/.github/workflows/ci-rc-test.yaml b/.github/workflows/ci-rc-test.yaml index 2fa5bfbfb..88693b195 100644 --- a/.github/workflows/ci-rc-test.yaml +++ b/.github/workflows/ci-rc-test.yaml @@ -3,7 +3,7 @@ name: Test providers RC releases on: # yamllint disable-line rule:truthy schedule: - - cron: "0 0,12 * * *" + - cron: "0 0 * * *" workflow_dispatch: inputs: rc_testing_branch: