Install clouds.yaml on zuul-launcher

And configure it with a connection to rax-flex for testing.

Change-Id: I127ba4a2cf33f7ffcecdf81acfc5c38db565da82
This commit is contained in:
James E. Blair 2024-10-10 07:44:07 -07:00
parent b255615c99
commit 19cc385403
4 changed files with 15 additions and 0 deletions

View File

@ -45,3 +45,13 @@ zuul_connections:
user: 'git-infra-root.openstack.org'
stream_events: 'false'
auth_type: 'basic'
- name: 'raxflex'
driver: 'openstack'
openstacksdk_config_dir: /etc/openstack
openstacksdk_config_owner: root
openstacksdk_config_group: "{{ zuul_group }}"
# This filename is correct: while we have both nodepool and
# zuul-launcher, they share the same clouds.yaml file.
openstacksdk_config_template: clouds/nodepool_clouds.yaml.j2

View File

@ -116,6 +116,9 @@ groups:
nodepool:
- nb[0-9]*.opendev.org
- nl[0-9]*.open*.org
# Add the zuul-launchers so they have access to the clouds.yaml
# related group-vars.
- zl[0-9]*.opendev.org
nodepool-builder:
- nb[0-9]*.opendev.org
nodepool-launcher:

View File

@ -10,6 +10,7 @@ services:
user: zuul
volumes:
- /etc/zuul:/etc/zuul
- /etc/openstack:/etc/openstack
- /home/zuuld:/home/zuul
- /var/lib/zuul:/var/lib/zuul
- /var/log/zuul:/var/log/zuul

View File

@ -18,6 +18,7 @@
- hosts: "zuul-launcher:!disabled"
name: "Configure zuul launcher"
roles:
- configure-openstacksdk
- zuul-launcher
- hosts: "zuul-merger:!disabled"