Change default timeout for mariadb 11.4 & 11.8

This change sets default timeout from 30s to 120s and push to quay.io

Change-Id: I1046e5113b3d86284d4d06e1d046bff422695648
Signed-off-by: wu.chunyang <wchy1001@gmail.com>
This commit is contained in:
wu.chunyang committed 2025-07-03 14:47:18 +08:00
1 parent 58bc2aee27
commit e92f23471a
3 files changed
+28 -1

No files matched your search

+20 -1
View File
@@ -39,7 +39,6 @@
- { source: "ubuntu", dest: "ubuntu", tag: "24.04" }
- { source: "registry", dest: "registry", tag: "2" }
- { source: "mysql", dest: "mysql", tag: "8.4" }
- { source: "mariadb", dest: "mariadb", tag: "11.4" }
- { source: "postgres", dest: "postgres", tag: "17" }
- name: build and push trove backup images
@@ -60,3 +59,23 @@
- { datastore: "mysql", backup_image: "db-backup-mysql", version: "8.0", os_version: "24.04" }
- { datastore: "mariadb", backup_image: "db-backup-mariadb", version: "10.4", os_version: "24.04" }
- { datastore: "postgresql", backup_image: "db-backup-postgresql", version: "12", os_version: "24.04" }
- name: build and push mariadb 11.4 images
become: true
community.docker.docker_image:
build:
path: "{{ ansible_user_dir }}/src/opendev.org/openstack/trove/playbooks/images/mariadb/11.4"
name: "quay.io/openstack.trove/mariadb"
tag: "11.4"
push: true
source: build
- name: build and push mariadb 11.8 images
become: true
community.docker.docker_image:
build:
path: "{{ ansible_user_dir }}/src/opendev.org/openstack/trove/playbooks/images/mariadb/11.8"
name: "quay.io/openstack.trove/mariadb"
tag: "11.8"
push: true
source: build
+4
View File
@@ -0,0 +1,4 @@
FROM mariadb:11.4
# The default timeout is 30 seconds, which may not be sufficient in lower performance environments.
RUN sed -i 's/sleep 1/sleep 4/' /usr/local/bin/docker-entrypoint.sh
+4
View File
@@ -0,0 +1,4 @@
FROM mariadb:11.8
# The default timeout is 30 seconds, which may not be sufficient in lower performance environments.
RUN sed -i 's/sleep 1/sleep 4/' /usr/local/bin/docker-entrypoint.sh