fix(ci): fix sidebar tests + add registry publish + prod compose
Tessera CI/CD / Lint & Type Check (push) Successful in 46s
Tessera CI/CD / Tests (push) Successful in 38s
Tessera CI/CD / Build & Publish Images (push) Failing after 8m32s

- sidebar.test: expand category before asserting on module names
  (categories are collapsed by default since UI-Umbau)
- ci.yml: replace build-deploy with publish job that pushes images
  to git.vicolab.de container registry
- docker-compose.prod.yml: pull-only compose for server deployments
  using registry images

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-29 11:14:34 +02:00
parent fc4c006f30
commit 28d4fa5c82
3 changed files with 101 additions and 7 deletions
+14 -6
View File
@@ -47,15 +47,23 @@ jobs:
- name: Run tests
run: pnpm test
build-deploy:
name: Build & Deploy
publish:
name: Build & Publish Images
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Build Docker images
run: docker compose build web api
- name: Log in to Gitea Container Registry
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.vicolab.de -u ${{ gitea.actor }} --password-stdin
- name: Deploy services
run: docker compose up -d web api
- name: Build web image
run: docker build -t git.vicolab.de/schalli/tessera-ctl/web:latest -f apps/web/Dockerfile .
- name: Build api image
run: docker build -t git.vicolab.de/schalli/tessera-ctl/api:latest -f apps/api/Dockerfile .
- name: Push images
run: |
docker push git.vicolab.de/schalli/tessera-ctl/web:latest
docker push git.vicolab.de/schalli/tessera-ctl/api:latest