appowners:
  - mizdebsk

koschei_container_image: quay.io/koschei/koschei:fedora-stage

koschei_topurl: https://koschei.stg.fedoraproject.org
koschei_pgsql_hostname: db01.stg.iad2.fedoraproject.org
koschei_koji_hub: koji.stg.fedoraproject.org
koschei_kojipkgs: koji.stg.fedoraproject.org
koschei_koji_web: koji.stg.fedoraproject.org
koschei_oidc_provider: id.stg.fedoraproject.org
koschei_bugzilla: bugzilla5.redhat.com

koschei_pgsql_username: koscheiuser
koschei_pgsql_password: "{{ koscheiuser_stg_db_password }}"
koschei_pgsql_admin_username: koscheiadmin
koschei_pgsql_admin_password: "{{ koscheiadmin_stg_db_password }}"

koschei_oidc_client_secret: "{{ koschei_oidc_client_secret_stg }}"
koschei_oidc_crypto_secret: "{{ koschei_oidc_crypto_secret_stg }}"

koschei_frontend_replicas: 2

koschei_backend_services:
  - { name: polling,        cpu: [ 1000, 1500 ],  memory: [  512, 1024 ] }
  - { name: scheduler,      cpu: [  200,  500 ],  memory: [   64,  128 ] }
  - { name: build-resolver, cpu: [ 1000, 1500 ],  memory: [ 1024, 4096 ] }
  - { name: repo-resolver,  cpu: [ 2000, 8000 ],  memory: [ 1024, 4096 ] }
  - { name: watcher,        cpu: [ 1000, 1500 ],  memory: [  256,  512 ] }

koschei_cron_jobs:
  - name: db-cleanup
    schedule: "0 3 * * *"
    command: "koschei-admin cleanup --older-than 2"
  - name: track-all
    schedule: "40 * * * *"
    command: "koschei-admin psql <<<'UPDATE package SET tracked = TRUE WHERE NOT tracked'"
