Skip to content

Commit

Permalink
Merge pull request #16 from cevich/add_monitoring
Browse files Browse the repository at this point in the history
Add GHA Workflows to monitor & retry cirrus-cron
  • Loading branch information
cevich authored Mar 11, 2024
2 parents 8eb1151 + 29e58f7 commit 83ee6dd
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/check_cirrus_cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---

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/5678990556397568
- 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/5678990556397568
- 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 83ee6dd

Please sign in to comment.