Update poddlers with the changes in toddlers

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-07-30 11:01:03 +02:00
parent 7355a9349b
commit 6949a0ca71
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 31 additions and 37 deletions

View file

@ -44,12 +44,13 @@ routing_keys = {{ toddler.topics|tojson }}
# more of them. # more of them.
blocked_toddlers = [ blocked_toddlers = [
"debug", "debug",
# Block pdc_modules toddler MBS is retired. Can be removed once toddler has been updated to a
# version which doesnt come with pdc_modules.
"pdc_modules",
{% if env != "staging" %}
"distgit_commit_processor", "distgit_commit_processor",
{% endif %} "koji_block_retired",
# Block all the PDC related toddlers
"pdc_import_compose",
"pdc_unretire_packages",
"distgit_bugzilla_sync",
"pdc_update_critpath"
] ]
[consumer_config.default] [consumer_config.default]
@ -114,6 +115,9 @@ koji_url = "https://koji{{ env_suffix }}.fedoraproject.org"
# Base URL for the Koji package db # Base URL for the Koji package db
kojipkgs_url = "https://kojipkgs{{ env_suffix }}.fedoraproject.org" kojipkgs_url = "https://kojipkgs{{ env_suffix }}.fedoraproject.org"
# Base URL for Bodhi
bodhi_url = "https://bodhi{{ env_suffix }}.fedoraproject.org"
# Account to use to connect to Pagure-as-dist-git # Account to use to connect to Pagure-as-dist-git
dist_git_url = "https://src{{ env_suffix }}.fedoraproject.org" dist_git_url = "https://src{{ env_suffix }}.fedoraproject.org"
{% if env == "staging" %} {% if env == "staging" %}
@ -206,16 +210,6 @@ versions = []
branch_regex = '^epel\d+$' branch_regex = '^epel\d+$'
versions = ["epel9", "epel8"] versions = ["epel9", "epel8"]
[consumer_config.koji_block_retired]
# Set correct koji profile for corresponding koji ClientSession
{% if env == "staging" %}
profile = "stg"
{% else %}
profile = "koji"
{% endif %}
principal = "{{service}}/{{host}}"
keytab = "/etc/keytabs/service.keytab"
# Configuration section for scm_request_processor # Configuration section for scm_request_processor
[consumer_config.scm_request_processor] [consumer_config.scm_request_processor]
# Monitoring choices for release-monitoring.org # Monitoring choices for release-monitoring.org

View file

@ -15,10 +15,10 @@ poddlers_toddlers:
topics: topics:
- "org.fedoraproject.*.toddlers.trigger.clean_retired_packages" - "org.fedoraproject.*.toddlers.trigger.clean_retired_packages"
- name: distgit-bugzilla-sync # - name: distgit-bugzilla-sync
callback: distgit_bugzilla_sync:DistgitBugzillaSync # callback: distgit_bugzilla_sync:DistgitBugzillaSync
topics: # topics:
- "org.fedoraproject.*.toddlers.trigger.distgit_bugzilla_sync" # - "org.fedoraproject.*.toddlers.trigger.distgit_bugzilla_sync"
- name: distgit-commit-processor - name: distgit-commit-processor
callback: distgit_commit_processor:DistGitCommitProcessor callback: distgit_commit_processor:DistGitCommitProcessor
@ -37,10 +37,10 @@ poddlers_toddlers:
topics: topics:
- "org.fedoraproject.*.buildsys.build.state.change" - "org.fedoraproject.*.buildsys.build.state.change"
- name: koji-block-retired # - name: koji-block-retired
callback: koji_block_retired:KojiBlockRetired # callback: koji_block_retired:KojiBlockRetired
topics: # topics:
- "org.fedoraproject.*.git.receive" # - "org.fedoraproject.*.git.receive"
- name: packager-bugzilla-sync - name: packager-bugzilla-sync
callback: packager_bugzilla_sync:PackagerBugzillaSync callback: packager_bugzilla_sync:PackagerBugzillaSync
@ -52,21 +52,21 @@ poddlers_toddlers:
topics: topics:
- "org.fedoraproject.*.toddlers.trigger.packagers_without_bugzilla" - "org.fedoraproject.*.toddlers.trigger.packagers_without_bugzilla"
- name: pdc-import-compose # - name: pdc-import-compose
callback: pdc_import_compose:PDCImportCompose # callback: pdc_import_compose:PDCImportCompose
topics: # topics:
- "org.fedoraproject.*.toddlers.trigger.pdc_import_compose" # - "org.fedoraproject.*.toddlers.trigger.pdc_import_compose"
- "org.fedoraproject.*.pungi.compose.status.change" # - "org.fedoraproject.*.pungi.compose.status.change"
- name: pdc-unretire-packages # - name: pdc-unretire-packages
callback: pdc_unretire_packages:PDCUnretirePackages # callback: pdc_unretire_packages:PDCUnretirePackages
topics: # topics:
- "io.pagure.*.pagure.issue.new" # - "io.pagure.*.pagure.issue.new"
- name: pdc-update-critpath # - name: pdc-update-critpath
callback: pdc_update_critpath:PDCUpdateCritpath # callback: pdc_update_critpath:PDCUpdateCritpath
topics: # topics:
- "org.fedoraproject.*.toddlers.trigger.pdc_update_critpath" # - "org.fedoraproject.*.toddlers.trigger.pdc_update_critpath"
- name: scm-request-processor - name: scm-request-processor
callback: scm_request_processor:SCMRequestProcessor callback: scm_request_processor:SCMRequestProcessor
@ -92,7 +92,6 @@ poddlers_cronjobs:
command: check_email_overrides command: check_email_overrides
- name: clean-retired-packages - name: clean-retired-packages
schedule: "0 8 1 * *" schedule: "0 8 1 * *"
only_env: production
command: clean_retired_packages command: clean_retired_packages
- name: packagers-without-bugzilla - name: packagers-without-bugzilla
schedule: "0 7 * * *" schedule: "0 7 * * *"
@ -108,4 +107,5 @@ poddlers_cronjobs:
command: check-commit-rights command: check-commit-rights
- name: pagure-fas-groups-sync - name: pagure-fas-groups-sync
schedule: "0 4 * * *" schedule: "0 4 * * *"
only_env: staging
command: pagure_fas_groups_sync command: pagure_fas_groups_sync