ansible/roles/openshift-apps/koschei/vars/production.yml
Mikolaj Izdebski a52be17987 Koschei: Temporarily scale up frontend Deployment
Related: fedora-infrastructure#12180
2024-09-13 21:31:15 +02:00

78 lines
3.2 KiB
YAML

appowners:
- mizdebsk
koschei_container_image: quay.io/koschei/koschei:fedora-prod
koschei_topurl: https://koschei.fedoraproject.org
koschei_pgsql_hostname: db01.iad2.fedoraproject.org
koschei_koji_hub: koji.fedoraproject.org
koschei_kojipkgs: kojipkgs.fedoraproject.org
koschei_koji_web: koji.fedoraproject.org
koschei_oidc_provider: id.fedoraproject.org
koschei_bugzilla: bugzilla.redhat.com
koschei_copr_url: https://copr.fedoraproject.org
koschei_copr_username: koschei
koschei_copr_login: ""
koschei_copr_token: ""
koschei_pgsql_username: koscheiuser
koschei_pgsql_password: "{{ koscheiuser_db_password }}"
koschei_pgsql_admin_username: koscheiadmin
koschei_pgsql_admin_password: "{{ koscheiadmin_db_password }}"
koschei_oidc_client_secret: "{{ koschei_oidc_client_secret_prod }}"
koschei_oidc_crypto_secret: "{{ koschei_oidc_crypto_secret_prod }}"
koschei_frontend_replicas: 5
koschei_backend_services:
- { name: polling, cpu: [ 1000, 1500 ], memory: [ 512, 1024 ] }
- { name: scheduler, cpu: [ 200, 500 ], memory: [ 128, 256 ] }
- { name: build-resolver, cpu: [ 1000, 2000 ], memory: [ 1536, 4096 ] }
- { name: repo-resolver, cpu: [ 2000, 8000 ], memory: [ 2048, 4096 ] }
- { name: watcher, cpu: [ 200, 1000 ], memory: [ 128, 512 ] }
koschei_cron_jobs:
- name: db-cleanup
schedule: "0 3 * * *"
command: "koschei-admin cleanup --older-than 6"
- name: refresh-php
schedule: "0 0-23/3 * * *"
command: "koschei-refresh-group php '^php'"
- name: refresh-rust
schedule: "5 0-23/3 * * *"
command: "koschei-refresh-distgit-group rust-sig rust-sig --append"
- name: refresh-go
schedule: "7 0-23/3 * * *"
command: "koschei-refresh-distgit-group go-sig go-sig --append"
- name: refresh-scitech
schedule: "11 0-23/3 * * *"
command: "koschei-refresh-distgit-group scitech_sig scitech_sig"
- name: refresh-neuro
schedule: "13 0-23/3 * * *"
command: "koschei-refresh-distgit-group neuro-sig neuro-sig"
- name: track-rust
schedule: "15 0-23/3 * * *"
command: "koschei-track-group rust-sig"
- name: track-go
schedule: "17 0-23/3 * * *"
command: "koschei-track-group go-sig"
- name: track-scitech
schedule: "21 0-23/3 * * *"
command: "koschei-track-group scitech_sig"
- name: track-neuro
schedule: "23 0-23/3 * * *"
command: "koschei-track-group neuro-sig"
- name: refresh-python
schedule: "25 0-23/3 * * *"
command: "koschei-refresh-distgit-group koschei/auto-group-python-sig python-packagers-sig"
- name: track-python
schedule: "27 0-23/3 * * *"
command: "koschei-admin psql <<<'UPDATE package SET tracked = TRUE WHERE id IN (SELECT p.id FROM package p JOIN package_group_relation pgr ON p.base_id = pgr.base_id WHERE NOT p.tracked AND pgr.group_id = 76)'"
- name: refresh-churchyard
schedule: "29 0-23/3 * * *"
command: "koschei-refresh-user-group koschei/auto-group-churchyard churchyard"
- name: track-churchyard
schedule: "31 0-23/3 * * *"
command: "koschei-admin psql <<<'UPDATE package SET tracked = TRUE WHERE id IN (SELECT p.id FROM package p JOIN package_group_relation pgr ON p.base_id = pgr.base_id WHERE NOT p.tracked AND pgr.group_id = 79)'"