
There are two different concerns here. One is configuring the gitea and gerrit services. This is independent from the management of projects running inside them. Make a manage-projects playbook which currently runs gitea-git-repos but will also get a gerrit-git-repos role in a bit. Make a service-gitea playbook for deploying gitea itself and update run_all to take all of that into account. This should make our future world of turning these into zuul jobs easier. Add several missing files to the files matchers for run-gitea and run-review. Also - nothing about this has anything to do with puppet. Change-Id: I5eaf75129d76138c61013a3a7ed7c381d567bb8b
19 lines
438 B
YAML
19 lines
438 B
YAML
- hosts: "localhost:!disabled"
|
|
name: "Clone project-config for gitea-git-repos lookup"
|
|
strategy: free
|
|
connection: local
|
|
tasks:
|
|
- name: Clone project-config repo
|
|
git:
|
|
repo: https://opendev.org/openstack/project-config
|
|
dest: /opt/project-config
|
|
force: yes
|
|
|
|
- hosts: "gitea:!disabled"
|
|
name: "Create repos on gitea servers"
|
|
strategy: free
|
|
max_fail_percentage: 1
|
|
roles:
|
|
- gitea-git-repos
|
|
|