From b2d3f8dc319e032cc46b1606a7525737023543c1 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 15 Nov 2022 13:47:45 -0800 Subject: [PATCH] GitLab CI: Update our schedule rules. Note that we have a "weekly" schedule and add an unused weekly rule stanza. --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 94f31c990f..2e980e802a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,9 @@ variables: SAST_EXCLUDED_ANALYZERS: "brakeman,eslint,security-code-scan,semgrep,spotbugs" # Scheduled builds additionally set SCHEDULE_TYPE, which can be one of: +# - 2x-daily: Twice daily at 07:00 and 19:00 UTC # - daily: Daily at 10:00 UTC +# - weekly: Sunday at 14:00 UTC # - coverity-visual-c++: Monday, Wednesday, & Friday at 12:00 UTC # - coverity-gcc: Sunday, Tuesday, Thursday & Saturday at 12:00 UTC @@ -65,8 +67,11 @@ variables: .if-w-w-only-merge-request: - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_PROJECT_URL =~ /.*gitlab.com\/wireshark\/wireshark/' when: always -# Daily jobs. Care should be taken when changing this since the scheduler +# Scheduled jobs. Care should be taken when changing this since the scheduler # often doesn't report errors. +.if-weekly-schedule: + - if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == "weekly"' + when: always .if-daily-schedule: - if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_TYPE == "daily"' when: always