From 8b6edec355530cc7899c1e1caddec29846be6dc4 Mon Sep 17 00:00:00 2001 From: Edward Hibbert Date: Tue, 3 Dec 2024 15:15:19 +0000 Subject: [PATCH] CircleCI build problems. --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 18f3c5981..c14b95b3f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,6 +37,12 @@ jobs: - MARIADB_PORT_NUMBER=3307 - MARIADB_USER=bn_mediawiki - MARIADB_DATABASE=bitnami_mediawiki + healthcheck: + test: [ "CMD", "healthcheck.sh", "--connect", "--innodb_initialized" ] + start_period: 10s + interval: 10s + timeout: 5s + retries: 3 - image: 'bitnami/mediawiki:1' name: mediawiki labels: @@ -51,7 +57,8 @@ jobs: - MEDIAWIKI_HOST=mediawiki - TZ: "UTC" depends_on: - - mariadb + - mariadb: + condition: service_healthy - image: 'docker.io/bitnami/postgresql:11' name: postgresql # No volumes on CircleCI