From b6ad84a19140d2acdd372d3d8a7a881a213105cc Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Tue, 11 Jul 2023 10:43:21 +0800 Subject: [PATCH] try to debug compose failure --- .gitea/workflows/test.yml | 7 +++---- test/compose.yml | 2 -- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 3f3938b..eabc3a2 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -18,10 +18,9 @@ jobs: with: go-version-file: 'go.mod' check-latest: true - # TODO - nonsensical failure on gitea - # - name: "Run DB container" - # run: docker compose -f test/compose.yml up --wait - - name: "Set up gitea access token" + - name: "Run DB container" + run: docker compose -f test/compose.yml up --wait-timeout 30 --exit-code-from ipld-eth-db + - name: "Set up Gitea access token" env: TOKEN: ${{ secrets.CICD_REPO_TOKEN }} run: | diff --git a/test/compose.yml b/test/compose.yml index ec4a5dc..2d3fc7f 100644 --- a/test/compose.yml +++ b/test/compose.yml @@ -1,5 +1,3 @@ -version: "3.2" - services: migrations: restart: on-failure