Skip to content

Commit

Permalink
Subscribe to Anitya messages (#536)
Browse files Browse the repository at this point in the history
Subscribe to Anitya messages

Related to packit/packit-service#2068

Reviewed-by: Laura Barcziová
  • Loading branch information
softwarefactory-project-zuul[bot] committed Oct 17, 2023
2 parents 13d9ee1 + 538a1ea commit ca5df2e
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 14 deletions.
9 changes: 6 additions & 3 deletions secrets/fedora-source-git/prod/fedora.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,12 @@ arguments = {}
[[bindings]]
queue = "{{ vault.fedora_messaging.queue }}"
exchange = "amq.topic"
routing_keys = ["org.fedoraproject.prod.pagure.pull-request.flag.added",
"org.fedoraproject.prod.pagure.pull-request.flag.updated",
"org.fedoraproject.prod.git.receive"]
routing_keys = [
# Fedora dist-git
"org.fedoraproject.prod.pagure.pull-request.flag.added",
"org.fedoraproject.prod.pagure.pull-request.flag.updated",
"org.fedoraproject.prod.git.receive",
]

[log_config]
version = 1
Expand Down
9 changes: 6 additions & 3 deletions secrets/fedora-source-git/stg/fedora.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,12 @@ arguments = {}
[[bindings]]
queue = "{{ vault.fedora_messaging.queue }}"
exchange = "amq.topic"
routing_keys = ["org.fedoraproject.prod.pagure.pull-request.flag.added",
"org.fedoraproject.prod.pagure.pull-request.flag.updated",
"org.fedoraproject.prod.git.receive"]
routing_keys = [
# Fedora dist-git
"org.fedoraproject.prod.pagure.pull-request.flag.added",
"org.fedoraproject.prod.pagure.pull-request.flag.updated",
"org.fedoraproject.prod.git.receive",
]

[log_config]
version = 1
Expand Down
23 changes: 19 additions & 4 deletions secrets/packit/prod/fedora.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,25 @@ arguments = {}
[[bindings]]
queue = "{{ vault.fedora_messaging.queue }}"
exchange = "amq.topic"
routing_keys = ["org.fedoraproject.prod.copr.build.start", "org.fedoraproject.prod.copr.build.end",
"org.fedoraproject.prod.buildsys.task.state.change", "org.fedoraproject.prod.buildsys.build.state.change",
"org.fedoraproject.prod.git.receive", "org.fedoraproject.prod.pagure.pull-request.comment.added",
"org.fedoraproject.prod.hotness.update.bug.file"]
routing_keys = [
# Copr
"org.fedoraproject.prod.copr.build.start",
"org.fedoraproject.prod.copr.build.end",

# Koji
"org.fedoraproject.prod.buildsys.task.state.change",
"org.fedoraproject.prod.buildsys.build.state.change",

# Fedora dist-git
"org.fedoraproject.prod.git.receive",
"org.fedoraproject.prod.pagure.pull-request.comment.added",

# New Hotness
"org.fedoraproject.prod.hotness.update.bug.file",

# Anitya version update
"org.release-monitoring.prod.anitya.project.version.update.v2",
]

[log_config]
version = 1
Expand Down
23 changes: 19 additions & 4 deletions secrets/packit/stg/fedora.toml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,25 @@ arguments = {}
[[bindings]]
queue = "{{ vault.fedora_messaging.queue }}"
exchange = "amq.topic"
routing_keys = ["org.fedoraproject.prod.copr.build.start", "org.fedoraproject.prod.copr.build.end",
"org.fedoraproject.prod.buildsys.task.state.change", "org.fedoraproject.prod.buildsys.build.state.change",
"org.fedoraproject.prod.git.receive", "org.fedoraproject.prod.pagure.pull-request.comment.added",
"org.fedoraproject.prod.hotness.update.bug.file"]
routing_keys = [
# Copr
"org.fedoraproject.prod.copr.build.start",
"org.fedoraproject.prod.copr.build.end",

# Koji
"org.fedoraproject.prod.buildsys.task.state.change",
"org.fedoraproject.prod.buildsys.build.state.change",

# Fedora dist-git
"org.fedoraproject.prod.git.receive",
"org.fedoraproject.prod.pagure.pull-request.comment.added",

# New Hotness
"org.fedoraproject.prod.hotness.update.bug.file",

# Anitya version update
"org.release-monitoring.prod.anitya.project.version.update.v2",
]

[log_config]
version = 1
Expand Down

0 comments on commit ca5df2e

Please sign in to comment.