From 3cdbe43b70401cf8d8209b9ba04a670adcea37f8 Mon Sep 17 00:00:00 2001
From: Clark Boylan <clark.boylan@gmail.com>
Date: Tue, 14 Jan 2025 07:50:48 -0800
Subject: [PATCH] Switch to quay.io/opendevmirror/mariadb:10.11 for paste

This switches the paste service's mariadb image from docker.io to
quay.io/opendevmirror. Doing so avoids a common location for docker hub
rate limit occurences when running paste ci jobs. It is worth noting
that this will impact production too, but Zuul should keep this image
up to date for us making this safe for production as well.

I haven't updated all of our use of mariadb as paste will serve as the
canary for this transition. We also need to be careful taht we don't
rollback if there are recent mariadb updates. There aren't any new
updates today so should be safe for paste.

Change-Id: I7bab1cfdcbfb55ba591241205cf6424d7d1da511
---
 playbooks/roles/lodgeit/templates/docker-compose.yaml.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/playbooks/roles/lodgeit/templates/docker-compose.yaml.j2 b/playbooks/roles/lodgeit/templates/docker-compose.yaml.j2
index d9def7c806..51033a947e 100644
--- a/playbooks/roles/lodgeit/templates/docker-compose.yaml.j2
+++ b/playbooks/roles/lodgeit/templates/docker-compose.yaml.j2
@@ -2,7 +2,7 @@ version: '2'
 
 services:
   mariadb:
-    image: docker.io/library/mariadb:10.11
+    image: quay.io/opendevmirror/mariadb:10.11
     network_mode: host
     restart: always
     environment: