From 284ec873bcf5c4ae399c9414a228bab6936f681b Mon Sep 17 00:00:00 2001 From: ShukeBta <272197458+ShukeBta@users.noreply.github.com> Date: Tue, 16 Jun 2026 01:09:36 +0800 Subject: [PATCH] Use compose deployment smoke in CI --- .github/workflows/ci.yml | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75c9c10..1223a5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,25 +49,14 @@ jobs: run: npm run build smoke: - name: E2E smoke test + name: Deployment smoke test runs-on: ubuntu-latest needs: [backend, frontend] steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 - with: - go-version: '1.25' - cache: true - - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - cache-dependency-path: web/package-lock.json - - name: Install ffmpeg - run: sudo apt-get update && sudo apt-get install -y ffmpeg - - name: Build backend - run: make build-server - - name: Build frontend - run: cd web && npm ci && npm run build - - name: Run smoke test - run: ./scripts/smoke-test.sh + - name: Validate tier 1 compose + run: docker compose -f docker-compose.yml config --quiet + - name: Validate tier 2 compose + run: docker compose -f docker-compose.yml -f docker-compose.standard.yml config --quiet + - name: Validate tier 3 compose + run: docker compose -f docker-compose.yml -f docker-compose.standard.yml -f docker-compose.search.yml config --quiet