From b76c7a109ba78a5d29b5737c4a2ba0c40fc3cf33 Mon Sep 17 00:00:00 2001 From: Ian Wienand <iwienand@redhat.com> Date: Mon, 12 Jul 2021 11:15:15 +1000 Subject: [PATCH] gerrit: fix docker-compose template The services: tag was accidentally put inside the mariadb section with Iec981ef3c2e38889f91e9759e66295dbfb499c2e. This works in the gate because it uses this path, but fails on current production. Move it outside. Change-Id: I8b6009da6271f451f123831a16801a9f0bd5374f --- playbooks/roles/gerrit/templates/docker-compose.yaml.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/playbooks/roles/gerrit/templates/docker-compose.yaml.j2 b/playbooks/roles/gerrit/templates/docker-compose.yaml.j2 index 7b8569c975..8c814217fc 100644 --- a/playbooks/roles/gerrit/templates/docker-compose.yaml.j2 +++ b/playbooks/roles/gerrit/templates/docker-compose.yaml.j2 @@ -1,7 +1,6 @@ version: '2' - -{% if gerrit_reviewdb_database_type == 'mariadb_container' %} services: +{% if gerrit_reviewdb_database_type == 'mariadb_container' %} mariadb: image: docker.io/library/mariadb:10.4 network_mode: host