Move Zuul SQL connection to "database"

The sql connection is no longer supported, we need to use "database"
instead.  The corresponding hostvars change has already been made
on bridge.

Change-Id: Ibcac56568f263bd50b2be43baa26c8c514c5272b
This commit is contained in:
James E. Blair 2022-01-27 16:46:32 -08:00
parent 8f13c74167
commit 535b7162a1
3 changed files with 6 additions and 3 deletions

View File

@ -34,9 +34,6 @@ zuul_connections:
user: 'openstack-zuul'
sshkey: '/var/lib/zuul/ssh/id_rsa'
- name: 'mysql'
driver: 'sql'
- name: 'github'
driver: 'github'
app_key: '/etc/zuul/github.key'

View File

@ -40,6 +40,11 @@ session_timeout=40
password={{ zuul_keystore_password }}
{% endif -%}
[database]
{% if zuul_database_uri is defined -%}
dburi={{ zuul_database_uri }}
{% endif -%}
[statsd]
server=graphite.opendev.org

View File

@ -111,3 +111,4 @@ zuul_ssh_private_key_contents: |
TFg6lZUdaYGinDUAAAAfbW9yZHJlZEBNYWNCb29rLUFpci5sb2NhbGRvbWFpbgECAwQ=
-----END OPENSSH PRIVATE KEY-----
zuul_keystore_password: secretpassword
zuul_database_uri: fakeuri