ODCS: Move releng composes from odcs-backend back to odcs-backend-releng.

This commit is contained in:
Jan Kaluza 2020-07-31 08:05:39 +02:00
parent c42f979038
commit 7a821d314f
3 changed files with 5 additions and 7 deletions

View file

@ -60,5 +60,3 @@ csi_relationship: |
nagios_Check_Services:
odcs-celery-backend: true
odcs_celery_queues: ["releng_raw_pungi_composes", "releng_pungi_composes", "cleanup", "eln_raw_pungi_composes", "cccc_raw_pungi_composes", "pungi_composes"]

View file

@ -208,19 +208,19 @@
owner: odcs-server
group: odcs-server
mode: 0640
when: inventory_hostname.startswith('odcs-backend01')
when: inventory_hostname.startswith('odcs-backend-releng')
- name: set releng odcs oidc token
copy:
src: "{{private}}/files/releng/{{env}}/releng-odcs-oidc-token"
dest: /etc/releng-odcs-oidc-token
when: inventory_hostname.startswith('odcs-backend01')
when: inventory_hostname.startswith('odcs-backend-releng')
- name: Set MAILTO cronvar
cronvar:
name: MAILTO
value: releng-cron@lists.fedoraproject.org
when: inventory_hostname.startswith('odcs-backend01')
when: inventory_hostname.startswith('odcs-backend-releng')
- name: Set cronjob to execute ELN periodic compose
@ -228,4 +228,4 @@
name: "ELN periodic compose"
minute: "0"
job: "odcs --token=/etc/releng-odcs-oidc-token create-raw-config --compose-type=production --label=Alpha-0.1 eln eln"
when: inventory_hostname.startswith('odcs-backend01')
when: inventory_hostname.startswith('odcs-backend-releng')

View file

@ -5,7 +5,7 @@ topurl = https://kojipkgs.fedoraproject.org/
authtype = kerberos
krb_rdns = false
{% if inventory_hostname.startswith('odcs-backend01') %}
{% if inventory_hostname.startswith('odcs-backend-releng') %}
principal = releng@FEDORAPROJECT.ORG
keytab = /etc/krb5.releng.keytab
{% endif %}