Browse Source

Switch to windmill for roles

Continue with the change from openstack to opendev for hosting.

Change-Id: I6d3ead6a49c3460484b18f672ead0022e1dc2858
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
changes/51/654051/2
Paul Belanger 3 years ago
parent
commit
a67474e7e1
  1. 2
      README.rst
  2. 10
      playbooks/gear.yaml
  3. 26
      playbooks/nodepool.yaml
  4. 8
      playbooks/statsd.yaml
  5. 4
      playbooks/zookeeper.yaml
  6. 26
      playbooks/zuul.yaml
  7. 22
      tools/requirements.yaml
  8. 2
      tox.ini

2
README.rst

@ -6,7 +6,7 @@ An Ansible deployment to validate ansible roles for Continuous Integration
* License: Apache License, Version 2.0
* Documentation: https://windmill.readthedocs.org
* Source: https://git.openstack.org/cgit/openstack/windmill
* Source: https://opendev.org/windmill/windmill
* Bugs: https://bugs.launchpad.net/windmill
Description

10
playbooks/gear.yaml

@ -12,14 +12,14 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Install gear.
- name: Install gear
hosts: gear:!disabled
tasks:
- name: Setup openstack.gearman role
- name: Setup windmill.gear role
include_role:
name: openstack.gearman
name: windmill.gear
- name: Setup openstack.logrotate role.
- name: Setup windmill.logrotate role
include_role:
name: openstack.logrotate
name: windmill.logrotate

26
playbooks/nodepool.yaml

@ -20,7 +20,7 @@
# directory first.
- name: Create nodepool user directories
include_role:
name: openstack.nodepool
name: windmill.nodepool
vars:
nodepool_task_manager:
- pre
@ -29,17 +29,17 @@
hosts: nodepool-builder:!disabled
tasks:
- name: Setup openstack.sudoers role
- name: Setup windmill.sudoers role
include_role:
name: openstack.sudoers
name: windmill.sudoers
- name: Setup openstack.ssh role
- name: Setup windmill.ssh role
include_role:
name: openstack.ssh
name: windmill.ssh
- name: Setup openstack.diskimage-builder role
- name: Setup windmill.diskimage-builder role
include_role:
name: openstack.diskimage-builder
name: windmill.diskimage-builder
- name: Install nodepool elements directory
become: true
@ -56,14 +56,14 @@
hosts: nodepool:!disabled
tasks:
- name: Setup openstack.openstacksdk role
- name: Setup windmill.openstacksdk role
include_role:
name: openstack.openstacksdk
name: windmill.openstacksdk
- name: Setup openstack.nodepool role
- name: Setup windmill.nodepool role
include_role:
name: openstack.nodepool
name: windmill.nodepool
- name: Setup openstack.logrotate role
- name: Setup windmill.logrotate role
include_role:
name: openstack.logrotate
name: windmill.logrotate

8
playbooks/statsd.yaml

@ -16,10 +16,10 @@
hosts: statsd:!disabled
tasks:
- name: Setup openstack.statsd role.
- name: Setup windmill.statsd role.
include_role:
name: openstack.statsd
name: windmill.statsd
- name: Setup openstack.logrotate role.
- name: Setup windmill.logrotate role.
include_role:
name: openstack.logrotate
name: windmill.logrotate

4
playbooks/zookeeper.yaml

@ -16,6 +16,6 @@
hosts: zookeeper:!disabled
tasks:
- name: Setup openstack.zookeeper role
- name: Setup windmill.zookeeper role
include_role:
name: openstack.zookeeper
name: windmill.zookeeper

26
playbooks/zuul.yaml

@ -20,14 +20,14 @@
# directory first.
- name: Create zuul user directories
include_role:
name: openstack.zuul
name: windmill.zuul
vars:
zuul_task_manager:
- pre
- name: Setup openstack.ssh role
- name: Setup windmill.ssh role
include_role:
name: openstack.ssh
name: windmill.ssh
with_items: "{{ zuul_connections_ssh }}"
vars:
ssh_key_private_content: "{{ item.ssh_key_private_content }}"
@ -42,9 +42,9 @@
hosts: zuul-executor:!disabled
tasks:
- name: Setup openstack.ssh role
- name: Setup windmill.ssh role
include_role:
name: openstack.ssh
name: windmill.ssh
# TODO(pabelanger): I'm thinking we should likely create
# ansible-role-bubblewrap to allow user to better manage this dependency.
@ -54,9 +54,9 @@
name: bubblewrap
state: present
- name: Setup openstack.ansible role
- name: Setup windmill.ansible role
include_role:
name: openstack.ansible
name: windmill.ansible
with_items: "{{ zuul_executor_ansible }}"
vars:
ansible_pip_name: "{{ item.ansible_pip_name }}"
@ -68,18 +68,18 @@
hosts: zuul:!disabled
tasks:
- name: Setup openstack.zuul role
- name: Setup windmill.zuul role
include_role:
name: openstack.zuul
name: windmill.zuul
- name: Setup openstack.logrotate role.
- name: Setup windmill.logrotate role.
include_role:
name: openstack.logrotate
name: windmill.logrotate
- name: Bootstrap zuul-web
hosts: zuul-web:!disabled
tasks:
- name: Setup openstack.nginx role
- name: Setup windmill.nginx role
include_role:
name: openstack.nginx
name: windmill.nginx

22
tools/requirements.yaml

@ -1,33 +1,33 @@
---
- name: openstack.diskimage-builder
- name: windmill.diskimage-builder
src: git+https://opendev.org/windmill/ansible-role-diskimage-builder
- name: openstack.gearman
- name: windmill.gear
src: git+https://opendev.org/windmill/ansible-role-gear
- name: openstack.logrotate
- name: windmill.logrotate
src: git+https://opendev.org/windmill/ansible-role-logrotate
- name: openstack.nginx
- name: windmill.nginx
src: git+https://opendev.org/windmill/ansible-role-nginx
- name: openstack.nodepool
- name: windmill.nodepool
src: git+https://opendev.org/windmill/ansible-role-nodepool
- name: openstack.openstacksdk
- name: windmill.openstacksdk
src: git+https://opendev.org/windmill/ansible-role-openstacksdk
- name: openstack.ssh
- name: windmill.ssh
src: git+https://opendev.org/windmill/ansible-role-ssh
- name: openstack.statsd
- name: windmill.statsd
src: git+https://opendev.org/windmill/ansible-role-statsd
- name: openstack.sudoers
- name: windmill.sudoers
src: git+https://opendev.org/windmill/ansible-role-sudoers
- name: openstack.zookeeper
- name: windmill.zookeeper
src: git+https://opendev.org/windmill/ansible-role-zookeeper
- name: openstack.zuul
- name: windmill.zuul
src: git+https://opendev.org/windmill/ansible-role-zuul

2
tox.ini

@ -47,4 +47,4 @@ setenv =
show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build

Loading…
Cancel
Save