mirror of
https://github.com/containers/podman.git
synced 2025-06-14 04:18:06 +08:00
Merge pull request #16503 from cevich/reuse_workflows
[skip-ci] Reuse workflows
This commit is contained in:
20
.github/workflows/check_cirrus_cron.yml
vendored
20
.github/workflows/check_cirrus_cron.yml
vendored
@ -14,11 +14,22 @@ on:
|
|||||||
- cron: '59 23 * * 1-5'
|
- cron: '59 23 * * 1-5'
|
||||||
# Debug: Allow triggering job manually in github-actions WebUI
|
# Debug: Allow triggering job manually in github-actions WebUI
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
# Allow re-use of this workflow by other repositories
|
||||||
|
# Ref: https://docs.github.com/en/actions/using-workflows/reusing-workflows
|
||||||
|
workflow_call:
|
||||||
|
secrets:
|
||||||
|
SECRET_CIRRUS_API_KEY:
|
||||||
|
required : true
|
||||||
|
ACTION_MAIL_SERVER:
|
||||||
|
required: true
|
||||||
|
ACTION_MAIL_USERNAME:
|
||||||
|
required: true
|
||||||
|
ACTION_MAIL_PASSWORD:
|
||||||
|
required: true
|
||||||
|
ACTION_MAIL_SENDER:
|
||||||
|
required: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Debug-mode can reveal secrets, only enable by a secret value.
|
|
||||||
# Ref: https://help.github.com/en/actions/configuring-and-managing-workflows/managing-a-workflow-run#enabling-step-debug-logging
|
|
||||||
ACTIONS_STEP_DEBUG: '${{ secrets.ACTIONS_STEP_DEBUG }}'
|
|
||||||
# CSV listing of e-mail addresses for delivery failure or error notices
|
# CSV listing of e-mail addresses for delivery failure or error notices
|
||||||
RCPTCSV: rh.container.bot@gmail.com,podman-monitor@lists.podman.io
|
RCPTCSV: rh.container.bot@gmail.com,podman-monitor@lists.podman.io
|
||||||
# Filename for table of cron-name to build-id data
|
# Filename for table of cron-name to build-id data
|
||||||
@ -32,8 +43,11 @@ jobs:
|
|||||||
cron_failures:
|
cron_failures:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
# This is where the scripts live
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
repository: containers/podman
|
||||||
|
ref: 'main'
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Get failed cron names and Build IDs
|
- name: Get failed cron names and Build IDs
|
||||||
|
18
.github/workflows/rerun_cirrus_cron.yml
vendored
18
.github/workflows/rerun_cirrus_cron.yml
vendored
@ -13,12 +13,22 @@ on:
|
|||||||
- cron: '05 22 * * 1-5'
|
- cron: '05 22 * * 1-5'
|
||||||
# Debug: Allow triggering job manually in github-actions WebUI
|
# Debug: Allow triggering job manually in github-actions WebUI
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
# Allow re-use of this workflow by other repositories
|
||||||
|
# Ref: https://docs.github.com/en/actions/using-workflows/reusing-workflows
|
||||||
|
workflow_call:
|
||||||
|
secrets:
|
||||||
|
SECRET_CIRRUS_API_KEY:
|
||||||
|
required : true
|
||||||
|
ACTION_MAIL_SERVER:
|
||||||
|
required: true
|
||||||
|
ACTION_MAIL_USERNAME:
|
||||||
|
required: true
|
||||||
|
ACTION_MAIL_PASSWORD:
|
||||||
|
required: true
|
||||||
|
ACTION_MAIL_SENDER:
|
||||||
|
required: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Debug-mode can reveal secrets, only enable by a secret value.
|
|
||||||
# Ref: https://help.github.com/en/actions/configuring-and-managing-workflows/managing-a-workflow-run#enabling-step-debug-logging
|
|
||||||
ACTIONS_STEP_DEBUG: '${{ secrets.ACTIONS_STEP_DEBUG }}'
|
|
||||||
# CSV listing of e-mail addresses for delivery failure or error notices
|
# CSV listing of e-mail addresses for delivery failure or error notices
|
||||||
RCPTCSV: rh.container.bot@gmail.com,podman-monitor@lists.podman.io
|
RCPTCSV: rh.container.bot@gmail.com,podman-monitor@lists.podman.io
|
||||||
# Filename for table of cron-name to build-id data
|
# Filename for table of cron-name to build-id data
|
||||||
|
Reference in New Issue
Block a user