From d68449d25bb236d8be20550893474ab18dd7e2fa Mon Sep 17 00:00:00 2001 From: ArnabChatterjee20k Date: Fri, 27 Feb 2026 18:34:18 +0530 Subject: [PATCH] reset --- .github/workflows/tests.yml | 2 ++ docker-compose.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3d6df4d21b..0cff6288e2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -232,6 +232,8 @@ jobs: - name: Set DB Adapter environment id: set-db-env run: | + DB_ADAPTER_LOWER=$(echo "${{ matrix.db_adapter }}" | tr 'A-Z' 'a-z') + echo "COMPOSE_PROFILES=${DB_ADAPTER_LOWER}" >> $GITHUB_ENV if [ "${{ matrix.db_adapter }}" = "MARIADB" ]; then echo "_APP_DB_ADAPTER=mariadb" >> $GITHUB_ENV diff --git a/docker-compose.yml b/docker-compose.yml index 1ee7bb8fe9..69ba98a30a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1269,6 +1269,7 @@ services: start_period: 5s mariadb: + profiles: ["mariadb"] image: mariadb:10.11 # fix issues when upgrading using: mysql_upgrade -u root -p container_name: appwrite-mariadb <<: *x-logging @@ -1287,6 +1288,7 @@ services: command: "mysqld --innodb-flush-method=fsync" mongodb: + profiles: ["mongodb"] image: mongo:8.2.5 container_name: appwrite-mongodb <<: *x-logging @@ -1323,6 +1325,7 @@ services: start_period: 30s appwrite-mongo-express: + profiles: ["mongodb"] image: mongo-express container_name: appwrite-mongo-express networks: @@ -1337,6 +1340,7 @@ services: - mongodb postgresql: + profiles: ["postgresql"] build: context: ./tests/resources/postgresql args: