From 1af1d9c2610a62a66976dae3d9d9ad7219c9d723 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Tue, 15 Nov 2022 14:40:38 -0500 Subject: [PATCH] GHA: Add cirrus-cron auto-rerun job Also update the cirrus-cron monitoring job to reuse the podman workflow instead of buildah. Signed-off-by: Chris Evich --- .github/workflows/check_cirrus_cron.yml | 5 ++++- .github/workflows/rerun_cirrus_cron.yml | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/rerun_cirrus_cron.yml diff --git a/.github/workflows/check_cirrus_cron.yml b/.github/workflows/check_cirrus_cron.yml index a9e7c84c..33ef3ac2 100644 --- a/.github/workflows/check_cirrus_cron.yml +++ b/.github/workflows/check_cirrus_cron.yml @@ -1,5 +1,8 @@ --- +# 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: @@ -13,5 +16,5 @@ on: jobs: # Ref: https://docs.github.com/en/actions/using-workflows/reusing-workflows call_cron_failures: - uses: containers/buildah/.github/workflows/check_cirrus_cron.yml@main + uses: containers/podman/.github/workflows/check_cirrus_cron.yml@main secrets: inherit diff --git a/.github/workflows/rerun_cirrus_cron.yml b/.github/workflows/rerun_cirrus_cron.yml new file mode 100644 index 00000000..4746b191 --- /dev/null +++ b/.github/workflows/rerun_cirrus_cron.yml @@ -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/6706677464432640 + - cron: '05 22 * * 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