From 803dcbb1f256305dadfd7ebda4753629668fcc75 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Fri, 21 Feb 2025 08:50:37 -0800 Subject: [PATCH] remove env.JOB_CONTAINER_NAME --- .gitea/workflows/tests.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml index 72a14ea..c51a5e1 100644 --- a/.gitea/workflows/tests.yaml +++ b/.gitea/workflows/tests.yaml @@ -19,15 +19,14 @@ jobs: # this causes issues because nektos/act will not be able to find test-db:5432 but act_runner can. # this means we have inconsistent behavior across testing environments, which is bad. # our workaround is to use localhost on local dev, and the dns name on gitea act_runner. - # create_volumes: - # name: Create Docker Volumes - # runs-on: ubuntu-22.04 - # steps: - # - run: | - # docker volume ls | grep -q aquatic || docker volume create aquatic + create_volumes: + name: Create Docker Volumes + runs-on: ubuntu-22.04 + steps: + - run: | + docker volume ls | grep -q aquatic || docker volume create aquatic test_phoenix: - name: Tests & Checks env: SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE }} MIX_ENV: test @@ -47,9 +46,10 @@ jobs: DB_PORT: ${{ vars.DB_PORT }} DB_USER: ${{ vars.DB_USER }} DB_PASS: ${{ secrets.DB_PASS }} + name: Tests & Checks runs-on: ubuntu-22.04 # container: - # image: gitea/runner-images:ubuntu-22.04 + # image: catthehacker/ubuntu:act-22.04 # volumes: # - aquatic:/var/lib/aquatic # - /tmp/aquatic:/tmp/aquatic @@ -78,7 +78,7 @@ jobs: tracker-helper: image: gitea.futureporn.net/futureporn/tracker-helper:latest - options: --volumes-from ${{ env.JOB_CONTAINER_NAME }} + # options: --volumes-from ${{ env.JOB_CONTAINER_NAME }} ports: - 5063:5063 env: