taskotron-dev: add namespaces.yaml

This commit is contained in:
Martin Krizek 2016-04-20 07:55:03 +00:00
parent 23683f3d59
commit a55b3899de
3 changed files with 16 additions and 0 deletions

View file

@ -49,6 +49,8 @@ client_report_to_bodhi: 'False'
imagesdir: /srv/diskimages
grokmirror_user: grokmirror
############################################################
# testcloud config

View file

@ -36,6 +36,10 @@
- name: generate taskotron.yaml config file
template: src=taskotron.yaml.j2 dest=/etc/taskotron/taskotron.yaml owner=root group=root mode=0644
- name: generate namespaces.yaml config file
template: src=namespaces.yaml.j2 dest=/etc/taskotron/namespaces.yaml owner=root group=root mode=0644
when: deployment_type == 'dev'
- name: generate testcloud config file
when: deployment_type in ['dev', 'stg', 'prod']
template: src=settings.py.testcloud.j2 dest=/etc/testcloud/settings.py owner=root group=root mode=0644

View file

@ -0,0 +1,10 @@
# A list of namespaces that any task is allowed to post a result into
namespaces_safe:
- scratch
# A list of git repos that are allowed to post a result into a particular namespace
namespaces_whitelist:
qa:
- {{ grokmirror_user }}@{{ buildmaster }}:/var/lib/git/mirror/fedoraqa/
pkg:
- git://pkgs.fedoraproject.org/rpms-checks/