From fdcd6024633559753279d1f5efb0bb2e20ffeec8 Mon Sep 17 00:00:00 2001 From: Chris Garrity Date: Tue, 16 Jun 2020 15:52:01 -0400 Subject: [PATCH 1/3] Revise Cron job schedule Run the cron jobs in the early morning instead of later in the evening. * 3am should allow enough time for the weekly translations to get merged up to www --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 97fc8076..bd83cd91 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,7 +58,7 @@ jobs: paths: . - slack/status: fail_only: true - failure_message: ":explosion: Pull editor and www translations failed" + failure_message: ":explosion: Pull editor and www translations failed, for help see: https://github.com/LLK/scratch-l10n/wiki/Developer-Guide#weekly-editor-and-website-update" only_for_branches: "master" commit-translations: <<: *defaults @@ -85,7 +85,7 @@ jobs: - run: npm run sync:help - slack/status: fail_only: true - failure_message: ":boom: Scratch Help update failed" + failure_message: ":boom: Scratch Help update failed, for help see: https://github.com/LLK/scratch-l10n/wiki/Developer-Guide#daily-help-update" only_for_branches: "master" workflows: version: 2 @@ -109,8 +109,8 @@ workflows: only: tx-pull-manual weekly-tx-pull: triggers: - - schedule: # weekly on Tuesdays at 8pm - cron: "0 20 * * 2" + - schedule: # weekly on Wednesday at 3am + cron: "0 03 * * 3" filters: branches: only: master @@ -121,8 +121,8 @@ workflows: - pull-translations # don't commit if there were errors daily-help-update: triggers: - - schedule: # daily at 11pm - cron: "0 23 * * *" + - schedule: # daily at 5am + cron: "0 05 * * *" filters: branches: only: master From 23e28e2393ef9847f3ed61e21d327e63415a978b Mon Sep 17 00:00:00 2001 From: chrisgarrity Date: Mon, 22 Jun 2020 07:24:03 -0400 Subject: [PATCH 2/3] Update .circleci/config.yml Co-authored-by: Benjamin Wheeler --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bd83cd91..e1cacfb0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -110,7 +110,7 @@ workflows: weekly-tx-pull: triggers: - schedule: # weekly on Wednesday at 3am - cron: "0 03 * * 3" + cron: "0 3 * * 3" filters: branches: only: master From 72f1e2b1ff33fcbf980b312c5f5efe7db7e53299 Mon Sep 17 00:00:00 2001 From: chrisgarrity Date: Mon, 22 Jun 2020 07:24:13 -0400 Subject: [PATCH 3/3] Update .circleci/config.yml Co-authored-by: Benjamin Wheeler --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e1cacfb0..461c1f82 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -122,7 +122,7 @@ workflows: daily-help-update: triggers: - schedule: # daily at 5am - cron: "0 05 * * *" + cron: "0 5 * * *" filters: branches: only: master