#1610 Allow distrobuildsync-eln to send to rebuilder.eln
Opened 7 months ago by abompard. Modified 3 months ago
fedora-infra/ abompard/ansible ticket-11585  into  main

@@ -60,9 +60,9 @@ 

    include_role:

      name: rabbit/queue

    vars:

-      username: fedora-build-checks{{ env_suffix }}

-      queue_name: fedora-build-checks{{ env_suffix }}

-      routing_keys:

+     username: fedora-build-checks{{ env_suffix }}

+     queue_name: fedora-build-checks{{ env_suffix }}

+     routing_keys:

        - "org.centos.ci.#"

  

  - name: copr
@@ -86,7 +86,7 @@ 

        # This routing key is for testing purposes only

        - "org.centos.stream.#"

      thresholds:

-       warning:  1000

+       warning: 1000

        critical: 10000

  

  # CENTOS GITLAB BEGIN
@@ -160,31 +160,39 @@ 

      name: rabbit/queue

    vars:

      username: distrobuildsync-eln

-     sent_topics: ^$

+     sent_topics: ^org\.fedoraproject\.{{ env_short }}\.rebuilder\.eln\..*

      queue_name: distrobuildsync-eln

      # TTL: 10 days (in miliseconds)

      message_ttl: 864000000

      routing_keys:

+       - "#.buildsys.repo.init"

        - "#.buildsys.repo.done"

        - "#.buildsys.tag"

+       - "#.buildsys.task.state.change"

+       - "org.fedoraproject.*.rebuilder.eln.enqueue"

+       - "org.fedoraproject.*.rebuilder.eln.batch.create"

+       - "org.fedoraproject.*.rebuilder.eln.batch.state_change"

+       - "org.fedoraproject.*.rebuilder.eln.attempt.create"

+       - "org.fedoraproject.*.rebuilder.eln.attempt.state_change"

+ 

  

  # ELN END

  

  # ELN CS BEGIN

  #

- #- name: eln cs queue

- #  run_once: true

- #  include_role:

- #    name: rabbit/queue

- #  vars:

- #    username: distrobuildsync-cs

- #    sent_topics: ^$

- #    queue_name: distrobuildsync-cs

- #    # TTL: 10 days (in miliseconds)

- #    message_ttl: 864000000

- #    routing_keys:

- #      - "#.buildsys.repo.init"

- #      - "#.buildsys.repo.done"

- #      - "#.buildsys.tag"

+ # - name: eln cs queue

+ #   run_once: true

+ #   include_role:

+ #     name: rabbit/queue

+ #   vars:

+ #     username: distrobuildsync-cs

+ #     sent_topics: ^$

+ #     queue_name: distrobuildsync-cs

+ #     # TTL: 10 days (in miliseconds)

+ #     message_ttl: 864000000

+ #     routing_keys:

+ #       - "#.buildsys.repo.init"

+ #       - "#.buildsys.repo.done"

+ #       - "#.buildsys.tag"

  #

  # ELN END

1 new commit added

  • Fix spaces for CI
7 months ago

2 new commits added

  • Fix spaces for CI
  • Allow distrobuildsync-eln to send to rebuilder.eln
7 months ago

I thought these were limited by the routing_keys argument in the client's config file. That would explain why we had to add in a hack to get properly notified about buildsys.repo.init and buildsys.task.state.change. I thought adding them to the fedora-messaging config file would be enough.

Could we please get "#.buildsys.repo.init" and "#.buildsys.task.state.change" added here as well?

1 new commit added

  • Add two more subscriptions for distrobuildsync-eln
7 months ago

I assume this is blocked by Infra Freeze right now?

Yes it was.

Are you ready for us to merge this now? I don't want to make things that aren't going to be used yet and cause alerts. ;)

Other priorities have come up and this had to get back-burnered, probably into sometime in January. I'll ping here when we're ready for it.

Any status update here?

Metadata