Skip to content

Commit 72ba100

Browse files
author
Janne Rönkkö
committed
Only show MSSQL logs during E2E setup if the MSSQL did not start
..to avoid errors about mssql container not existing
1 parent db702dc commit 72ba100

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

github-actions/setup-e2e-environment/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ runs:
196196
retries: 50
197197

198198
# on some rare occasions unfortunately this is failing...
199-
- name: Debug on failure
200-
if: ${{ failure() }}
199+
- name: Show MSSQL logs
200+
if: ${{ failure() && steps.verify_mssql_started.outcome == 'failure' }}
201201
run: |
202-
docker logs mssqltestdb || echo "no mssql container"
202+
docker logs mssqltestdb
203203
shell: bash
204204

205205
- name: Verify that hasura is up and running standalone

0 commit comments

Comments
 (0)