Install copr cli config from template

This commit is contained in:
Jakub Kadlčík 2017-02-10 00:54:21 +01:00 committed by Miroslav Suchý
parent 1801a9b821
commit bf4f92cb4b
2 changed files with 13 additions and 0 deletions

View file

@ -91,6 +91,9 @@
- name: Copy production config
template: src=config.py dest=/etc/module-build-service/config.py
- name: Copy config for copr-cli
template: src=copr.conf dest=/etc/module-build-service/copr.conf
- name: Install client_secrets.json
template: src=client_secrets.json dest=/etc/module-build-service/

View file

@ -0,0 +1,10 @@
[copr-cli]
# Username belongs to build owner and is provided by MBS on runtime
username =
# API login for copr proxyuser
login = {{ copr_mbs_cli_login }}
token = {{ copr_mbs_cli_token }}
copr_url = https://{{ copr_frontend_public_hostname }}