Skip to content

Commit bb42723

Browse files
committed
ci: replace weekly_ci with periodic_ci, stagger schedules [citest_skip]
Rename the weekly CI trigger workflow to periodic_ci. The name better reflects that this is for recurring CI, not necessarily weekly. Stagger the scheduled start times so that roles do not all compete for the limited github action job capacity at once. The first role starts Saturday 02:00 UTC, and each subsequent role starts one hour later, with an extra hour after ha_cluster, snapshot, and storage because those tests typically take longer. Periodic CI is disabled by default. Set the repository or organization variable `ENABLED` to `true` to enable it. We don't currently use it. We may enable it in the future. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
1 parent 1674215 commit bb42723

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
# yamllint disable rule:line-length
3-
name: Weekly CI trigger
3+
name: Periodic CI trigger
44
on: # yamllint disable-line rule:truthy
55
workflow_dispatch:
66
schedule:
7-
- cron: 0 12 * * 6
7+
- cron: 0 0 * * 0
88
env:
9-
BRANCH_NAME: weekly-ci
9+
BRANCH_NAME: periodic-ci
1010
COMMIT_MESSAGE: "ci: This PR is to trigger periodic CI testing"
1111
BODY_MESSAGE: >-
1212
This PR is for the purpose of triggering periodic CI testing.
@@ -16,7 +16,9 @@ env:
1616
permissions:
1717
contents: read
1818
jobs:
19-
weekly_ci:
19+
periodic_ci:
20+
# Set repository or organization variable PERIODIC_CI_ENABLED='true' to enable
21+
if: vars.PERIODIC_CI_ENABLED == 'true'
2022
runs-on: ubuntu-latest
2123
permissions:
2224
issues: write

0 commit comments

Comments
 (0)