From 815655b9d5531308ba41e52bdd7fd1ba46501219 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Tue, 13 Sep 2022 10:16:14 -0400 Subject: Cirrus: Move gitlab test to cirrus-cron "main" There's little need to execute this test for (nearly) every PR. Further, since it always executes the *latest* upstream tests, there's no need to run it on any branch other than `main`. Arrange for it to only execute for the `main` cirrus-cron trigger. Signed-off-by: Chris Evich --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 4d7fbde13..fa7d80d6a 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -872,7 +872,7 @@ rootless_gitlab_test_task: name: *std_name_fmt alias: rootless_gitlab_test # Docs: ./contrib/cirrus/CIModes.md - only_if: *not_tag_branch_build_docs + only_if: &cirrus_cron "${CIRRUS_CRON} == 'main'" # Community-maintained downstream test may fail unexpectedly. # Ref. repository: https://gitlab.com/gitlab-org/gitlab-runner # If necessary, uncomment the next line and file issue(s) with details. -- cgit v1.2.3-54-g00ecf