From 97900cad8f67c092821dbce2ac0079caf64a1a37 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Wed, 30 Dec 2020 13:50:54 +0100
Subject: [PATCH] gitlab-ci-cd/drupal#1 Testing

---
 test-and-deploy.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-and-deploy.yml b/test-and-deploy.yml
index 8fcdd3d..414221c 100644
--- a/test-and-deploy.yml
+++ b/test-and-deploy.yml
@@ -55,7 +55,7 @@ stages:
   variables:
     GIT_STRATEGY: none
   script: |
-    docker container ls --all -q -f name=^${COMPOSE_PROJECT_NAME}_mariadb_1$
+    docker exec ${COMPOSE_PROJECT_NAME}_mariadb_1 mysql -u drupal --password=drupal -e "show tables;" drupal
     DBREQUIRED="no"
     if [[ "$CI_COMMIT_REF_NAME" == "master" ]]; then
       DBREQUIRED="yes"
-- 
GitLab