#47 Added config option
Merged by dcavalca. Opened by oidoming.
conf  into  main

Download 47.patch

PR for https://pagure.io/centos-sig-hyperscale/sig/issue/122

Added config.json to make MQTT, pagure and cbs values configurable

  • MQTT:
    • The MQTT broker, port, and topic.
  • Pagure:
    • repo_url: Your desired Pagure repo URL, here is where the package updates tickets are going to be created.
    • api_repo_url: Pagure repo API endpoint for repo_url.
  • Cbs:
    • tags: Koji CBS tags. Add cbs tag ids if you want to get package updates from a specific list of cbs tags.
    • tags_keyword. If this is specified, you will get package updates from all cbs tags that contains this keyword.

Config.json example

{
    "mqtt": {
        "broker": "mqtt.git.centos.org",
        "port": 8883,
        "topic": "git.centos.org/git.tag.creation"
    },
    "pagure": {
        "repo_url": "https://pagure.io/centos-sig-hyperscale/package-updates/",
        "api_repo_url": "https://pagure.io/api/0/centos-sig-hyperscale/package-updates/"
    },
    "cbs": {
        "tags" : [],
        "tags_keyword": "hyperscale"
    }
}

Pull-Request has been merged by dcavalca

Metadata