From fb87dd7883fe53df63a7bfd54d9a05d8cea9ffa6 Mon Sep 17 00:00:00 2001 From: Finn Bacall Date: Tue, 3 Dec 2024 18:58:40 +0000 Subject: [PATCH] Don't use shorthand flags --- .github/workflows/docker-prod-test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-prod-test.yml b/.github/workflows/docker-prod-test.yml index d393e8ba0..c968bbcdf 100644 --- a/.github/workflows/docker-prod-test.yml +++ b/.github/workflows/docker-prod-test.yml @@ -14,10 +14,10 @@ jobs: cp docker/tess.docker-test.yml config/tess.yml cp config/secrets.example.yml config/secrets.yml - name: Build & run - run: docker compose -f docker-compose-prod.yml up --build --detach --wait --wait-timeout 60 - - name: Docker ps - run: sleep 120 | docker ps -a + run: docker compose --file docker-compose-prod.yml up --build --detach --wait --wait-timeout 60 - name: Setup - run: docker compose -f docker-compose-prod.yml exec app bundle exec rake db:setup DISABLE_DATABASE_ENVIRONMENT_CHECK=1 + run: docker compose --file docker-compose-prod.yml exec app bundle exec rake db:setup DISABLE_DATABASE_ENVIRONMENT_CHECK=1 - name: Test - run: docker compose logs -f app & curl -v http://localhost:3000/ | sleep 6 + run: | + docker compose --file docker-compose-prod.yml logs --follow & + curl --fail http://localhost:3000/