Install copr cli config from template
This commit is contained in:
parent
1801a9b821
commit
bf4f92cb4b
2 changed files with 13 additions and 0 deletions
|
@ -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/
|
||||
|
||||
|
|
10
roles/copr/mbs/templates/copr.conf
Normal file
10
roles/copr/mbs/templates/copr.conf
Normal 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 }}
|
Loading…
Add table
Add a link
Reference in a new issue