Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
👷 Run docker build smoke test in CI (#2180)
Luke Vella4b8b5682cf0e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 446bfa734..353fe5d5f 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -61,7 +61,22 @@ jobs:- name: Run testsrun: pnpm test:unit- # Label of the container job+ docker-smoke-test:+ name: Docker smoke test+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4++ - name: Start services+ run: |+ SECRET_PASSWORD=test-secret \+ NEXT_PUBLIC_BASE_URL=http://localhost:3000 \+ docker compose up -d --build --wait --wait-timeout 60++ - name: Show logs on failure+ if: failure()+ run: docker compose logs+integration-tests:name: Integration testsruns-on: ubuntu-latestdiff --git a/docker-compose.yml b/docker-compose.ymlindex 6238cf953..be5f62202 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -30,7 +30,8 @@ services:environment:- DATABASE_URL=postgres://postgres:postgres@rallly_db/ralllyenv_file:- - .env+ - path: .env+ required: falsevolumes:db-data: