Create compose koji profile

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-12-14 13:07:12 +00:00
parent 1db5d40fd8
commit 68a0cfe803
3 changed files with 8 additions and 2 deletions

View file

@ -122,8 +122,12 @@
- name: copy over our mash.conf
template: src=mash.conf dest=/etc/mash/mash.conf
- name: Custom compose-koji
template: src=compose-koji.j2 dest=/usr/bin/compose-koji
mode=0755
- name: /etc/koji.conf
template: src=koji.conf.j2 dest=/etc/koji.conf
template: src=koji.conf.j2 dest=/etc/koji.conf.d/compose.conf
# mock configs
- name: put extra special mock configs in

View file

@ -0,0 +1,2 @@
#! /bin/sh
koji --principal="compose/koji{{env_suffix}}.fedoraproject.org" --keytab="/etc/krb5.compose_koji{{env_suffix}}.fedoraproject.org.keytab" "$@"

View file

@ -1,4 +1,4 @@
[koji]
[compose]
server = https://koji.fedoraproject.org/kojihub
weburl = https://koji.fedoraproject.org/koji
topurl = https://kojipkgs.fedoraproject.org/