summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-10 13:28:36 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-13 15:14:29 +0000
commit1b45d71854febaa1e85e8cffe465e83d6c29d096 (patch)
treeb23af2eb3ff3ce2a20aa446fa4a45f9148a43445
parent7df5051a335237e5e65bea8b745abed6f0d5a588 (diff)
downloadinfrastructure-1b45d71854febaa1e85e8cffe465e83d6c29d096.tar.gz
gerrit: Create local-config/lorries project
Done as part of the Gerrit access config because it's easier then.
-rw-r--r--baserock_gerrit/gerrit-access-config.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/baserock_gerrit/gerrit-access-config.yml b/baserock_gerrit/gerrit-access-config.yml
index a321e421..513a993e 100644
--- a/baserock_gerrit/gerrit-access-config.yml
+++ b/baserock_gerrit/gerrit-access-config.yml
@@ -108,6 +108,15 @@
- Testers
#ssh_key: xx
+ # It'd make more sense to do this in the mirroring-config.yml file, but
+ # then the admin would need to supply their Gerrit credentials to that
+ # playbook too (which is more tricky, because it doesn't run on
+ # 'localhost').
+ - name: repo to hold Lorry Controller mirroring configuration
+ gerrit_project:
+ name: local-config/lorries
+ description: Configuration for Lorry for mirroring from Trove
+
- name: create 'groups' mapping required by Gerrit
lineinfile:
create: yes
@@ -123,7 +132,6 @@
- "{{ reviewers_group }}"
- "{{ testers_group }}"
-
# it'd be nice if this module existed... but it doesn't right now. You'll have
# to commit the files manually.
#