mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
146 lines
4.6 KiB
YAML
146 lines
4.6 KiB
YAML
---
|
|
#
|
|
# Toddlers
|
|
#
|
|
# List of running toddlers. Each has its own pod.
|
|
# The format is a list of dicts, with each dict having the following schema:
|
|
# name: toddler name, needs to be unique
|
|
# callback: python path to the toddler class
|
|
# topics: list of topics to subscribe to, wildcards allowed.
|
|
# replicas: number of pods (optional, defaults to 1)
|
|
#
|
|
poddlers_toddlers:
|
|
- name: check-commit-rights
|
|
callback: check_commit_rights:CheckCommitRights
|
|
topics:
|
|
- "org.fedoraproject.*.toddlers.trigger.check_commit_rights"
|
|
|
|
- name: check-email-overrides
|
|
callback: check_email_overrides:CheckEmailOverrides
|
|
topics:
|
|
- "org.fedoraproject.*.toddlers.trigger.check_email_overrides"
|
|
|
|
- name: clean-retired-packages
|
|
callback: clean_retired_packages:CleanRetiredPackages
|
|
topics:
|
|
- "org.fedoraproject.*.toddlers.trigger.clean_retired_packages"
|
|
|
|
- name: cleaning-packager-groups
|
|
callback: cleaning_packager_groups:CleanPackagerGroups
|
|
topics:
|
|
- "org.fedoraproject.*.ipa.group_remove_member.v1"
|
|
- "org.fedoraproject.*.toddlers.trigger.clean_packagers_groups"
|
|
|
|
- name: distgit-bugzilla-sync
|
|
callback: distgit_bugzilla_sync:DistgitBugzillaSync
|
|
topics:
|
|
- "org.fedoraproject.*.toddlers.trigger.distgit_bugzilla_sync"
|
|
|
|
- name: distgit-commit-processor
|
|
callback: distgit_commit_processor:DistGitCommitProcessor
|
|
topics:
|
|
- "org.fedoraproject.*.git.receive"
|
|
replicas: 0
|
|
|
|
- name: flag-ci-pr
|
|
callback: flag_ci_pr:FlagCIPR
|
|
topics:
|
|
- "org.centos.*.ci.dist-git-pr.test.error"
|
|
- "org.centos.*.ci.dist-git-pr.test.complete"
|
|
- "org.centos.*.ci.dist-git-pr.test.running"
|
|
|
|
- name: flag-commit-build
|
|
callback: flag_commit_build:FlagCommitBuild
|
|
topics:
|
|
- "org.fedoraproject.*.buildsys.build.state.change"
|
|
|
|
- name: koji-block-retired
|
|
callback: koji_block_retired:KojiBlockRetired
|
|
topics:
|
|
- "org.fedoraproject.*.git.receive"
|
|
- "org.fedoraproject.*.toddlers.trigger.koji_block_retired"
|
|
|
|
- name: packager-bugzilla-sync
|
|
callback: packager_bugzilla_sync:PackagerBugzillaSync
|
|
topics:
|
|
- "org.fedoraproject.*.toddlers.trigger.packager_bugzilla_sync"
|
|
|
|
- name: packagers-without-bugzilla
|
|
callback: packagers_without_bugzilla:PackagersWithoutBugzilla
|
|
topics:
|
|
- "org.fedoraproject.*.toddlers.trigger.packagers_without_bugzilla"
|
|
|
|
- name: pagure-fas-groups-sync
|
|
callback: pagure_fas_groups_sync:PagureFASGroupsSync
|
|
topics:
|
|
- "org.fedoraproject.*.ipa.group_add_member.v1"
|
|
- "org.fedoraproject.*.toddlers.trigger.pagure_fas_groups_sync"
|
|
|
|
- name: unretire-packages
|
|
callback: unretire_packages:UnretirePackages
|
|
topics:
|
|
- "io.pagure.*.pagure.issue.new"
|
|
|
|
# - name: pdc-import-compose
|
|
# callback: pdc_import_compose:PDCImportCompose
|
|
# topics:
|
|
# - "org.fedoraproject.*.toddlers.trigger.pdc_import_compose"
|
|
# - "org.fedoraproject.*.pungi.compose.status.change"
|
|
|
|
# - name: pdc-update-critpath
|
|
# callback: pdc_update_critpath:PDCUpdateCritpath
|
|
# topics:
|
|
# - "org.fedoraproject.*.toddlers.trigger.pdc_update_critpath"
|
|
|
|
- name: scm-request-processor
|
|
callback: scm_request_processor:SCMRequestProcessor
|
|
topics:
|
|
- "io.pagure.*.pagure.issue.new"
|
|
- "io.pagure.*.pagure.issue.edit"
|
|
- "io.pagure.*.pagure.issue.comment.added"
|
|
|
|
|
|
#
|
|
# Cronjobs
|
|
#
|
|
# List of cronjobs. It's a list of dicts in which each dict has the following schema:
|
|
# name: cronjob name, needs to be unique
|
|
# schedule: cron-like schedule
|
|
# only_env: only run this cronjob in the specified environment ("production" or "staging")
|
|
# command: the command to run
|
|
#
|
|
poddlers_cronjobs:
|
|
- name: packager-bugzilla-sync
|
|
schedule: "0 */6 * * *"
|
|
only_env: production
|
|
command: packager_bugzilla_sync
|
|
- name: check-email-overrides
|
|
schedule: "0 6 * * *"
|
|
only_env: production
|
|
command: check_email_overrides
|
|
- name: clean-retired-packages
|
|
schedule: "0 8 1 * *"
|
|
command: clean_retired_packages
|
|
- name: packagers-without-bugzilla
|
|
schedule: "0 7 * * *"
|
|
only_env: production
|
|
command: packagers_without_bugzilla
|
|
- name: distgit-bugzilla-sync
|
|
schedule: "0 */12 * * *"
|
|
only_env: production
|
|
command: distgit_bugzilla_sync
|
|
- name: check-commit-rights
|
|
schedule: "0 8 */2 * *"
|
|
only_env: staging
|
|
command: check-commit-rights
|
|
- name: pagure-fas-groups-sync
|
|
schedule: "0 4 * * *"
|
|
command: pagure_fas_groups_sync
|
|
- name: koji-block-retired
|
|
schedule: "30 5 * * *"
|
|
only_env: production
|
|
command: koji_block_retired
|
|
- name: cleaning-packager-groups
|
|
schedule: "30 5 * * 2"
|
|
command: clean_packagers_groups
|