From 759bf29b8b2ea0cf3c14c490e8c411b88f793ccb Mon Sep 17 00:00:00 2001 From: tuutti Date: Thu, 18 Jan 2024 10:42:26 +0200 Subject: [PATCH] UHF-8762: Static sleep for now --- .github/workflows/visual.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/visual.yml b/.github/workflows/visual.yml index efc96abff..d2ada5046 100644 --- a/.github/workflows/visual.yml +++ b/.github/workflows/visual.yml @@ -47,22 +47,7 @@ jobs: - name: Start project working-directory: ${{ env.DRUPAL_ROOT }} - run: docker compose up -d --wait - - - name: Wait for project to start - working-directory: ${{ env.DRUPAL_ROOT }} - run: | - counter=0 - until [ $counter -gt 5 ] - do - docker compose exec app bash -c "\$(drush sql:connect) -e '\q'" 2> /dev/null - if [ $? -eq 0 ]; then - break - fi - echo "Database is not up yet ..." - ((counter++)) - sleep 2 - done + run: docker compose up -d --wait && sleep 5 - name: Setup Drupal working-directory: ${{ env.DRUPAL_ROOT }}