Skip to content

Commit

Permalink
Merge pull request #2082 from cevich/add_cirrus_cron_retry_and_notifi…
Browse files Browse the repository at this point in the history
…cations

[CI:DOCS] Add cirrus-cron retry/monitor jobs
  • Loading branch information
cevich authored Aug 7, 2023
2 parents af30818 + 7884e7b commit c950225
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/check_cirrus_cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---

# See also:
# https://github.com/containers/podman/blob/main/.github/workflows/check_cirrus_cron.yml

on:
# Note: This only applies to the default branch.
schedule:
# N/B: This should correspond to a period slightly after
# the last job finishes running. See job defs. at:
# https://cirrus-ci.com/settings/repository/6429752730058752
- cron: '03 03 * * 1-5'
# Debug: Allow triggering job manually in github-actions WebUI
workflow_dispatch: {}

jobs:
# Ref: https://docs.github.com/en/actions/using-workflows/reusing-workflows
call_cron_failures:
uses: containers/podman/.github/workflows/check_cirrus_cron.yml@main
secrets: inherit
19 changes: 19 additions & 0 deletions .github/workflows/rerun_cirrus_cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---

# See also: https://github.com/containers/podman/blob/main/.github/workflows/rerun_cirrus_cron.yml

on:
# Note: This only applies to the default branch.
schedule:
# N/B: This should correspond to a period slightly after
# the last job finishes running. See job defs. at:
# https://cirrus-ci.com/settings/repository/6429752730058752
- cron: '01 01 * * 1-5'
# Debug: Allow triggering job manually in github-actions WebUI
workflow_dispatch: {}

jobs:
# Ref: https://docs.github.com/en/actions/using-workflows/reusing-workflows
call_cron_rerun:
uses: containers/podman/.github/workflows/rerun_cirrus_cron.yml@main
secrets: inherit

0 comments on commit c950225

Please sign in to comment.