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
changes/90/826790/1
James E. Blair 1 year ago
parent 8f13c74167
commit 535b7162a1

@ -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'

@ -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

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

Loading…
Cancel
Save