feat: SDLC database separation for CI/testing #35
@@ -40,7 +40,7 @@ jobs:
|
|||||||
id: meta
|
id: meta
|
||||||
run: |
|
run: |
|
||||||
# Get Playwright version from package.json
|
# Get Playwright version from package.json
|
||||||
PLAYWRIGHT_VERSION=$(grep -o '"@playwright/test": "[^"]*"' package.json | cut -d'"' -f4)
|
PLAYWRIGHT_VERSION=$(grep -o '"@playwright/test": "[^"]*"' package.json | cut -d'"' -f4 | sed 's/^\^//')
|
||||||
echo "playwright_version=${PLAYWRIGHT_VERSION}" >> $GITHUB_OUTPUT
|
echo "playwright_version=${PLAYWRIGHT_VERSION}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# Get Bun version (latest)
|
# Get Bun version (latest)
|
||||||
|
|||||||
+24
-8
@@ -24,11 +24,11 @@
|
|||||||
- [x] Write TODO list to repository file
|
- [x] Write TODO list to repository file
|
||||||
- [x] Auto-create tournament when uploading matches without selecting one
|
- [x] Auto-create tournament when uploading matches without selecting one
|
||||||
|
|
||||||
### In Progress 🔄
|
### Completed ✅
|
||||||
- [ ] Update API routes to handle new variant scoring fields
|
- [x] Update API routes to handle new variant scoring fields
|
||||||
- [ ] Update EditTournamentForm to add variant scoring controls
|
- [x] Update EditTournamentForm to add variant scoring controls
|
||||||
- [ ] Update MatchEditor to use tournament-specific target score
|
- [x] Update MatchEditor to use tournament-specific target score
|
||||||
- [ ] Run tests and verify variant scoring implementation
|
- [x] Run tests and verify variant scoring implementation
|
||||||
|
|
||||||
### Recently Completed ✅
|
### Recently Completed ✅
|
||||||
- [x] Update CI/CD workflows to use Bun (PR, release)
|
- [x] Update CI/CD workflows to use Bun (PR, release)
|
||||||
@@ -59,11 +59,27 @@
|
|||||||
- [x] Create migration to add rating system tables (elo_ratings, glicko2_ratings, open_skill_ratings)
|
- [x] Create migration to add rating system tables (elo_ratings, glicko2_ratings, open_skill_ratings)
|
||||||
- [x] Add tabbed rankings page to display Elo, OpenSkill, and Glicko2 ratings
|
- [x] Add tabbed rankings page to display Elo, OpenSkill, and Glicko2 ratings
|
||||||
|
|
||||||
|
### Completed ✅
|
||||||
|
- [x] Add UI controls for variant scoring in tournament creation/edit
|
||||||
|
- [x] Test variant tournament functionality end-to-end (e2e/tournament-edit-allowTies.test.ts)
|
||||||
|
- [x] Add validation for tie scores based on tournament configuration (MatchEditor.tsx)
|
||||||
|
|
||||||
|
### Completed ✅ (CI/DB Infrastructure)
|
||||||
|
- [x] Fix PostgreSQL database ownership — each env owns its own DB
|
||||||
|
- [x] Fix role attributes — euchre_camp_dev gets CREATEDB, euchre_camp_ci loses SUPERUSER
|
||||||
|
- [x] Update .env.development to use euchre_camp_dev user
|
||||||
|
- [x] Update .env.development.local to use euchre_camp_dev user
|
||||||
|
- [x] Update CI docker-compose to use euchre_camp_ci user
|
||||||
|
- [x] Update dev docker-compose to use euchre_camp_dev user
|
||||||
|
- [x] Recreate dev and CI containers with correct credentials
|
||||||
|
- [x] Fix Playwright baseURL for CI (https://euchre-ci.notsosm.art)
|
||||||
|
- [x] Fix Navigation unit tests (RoleSwitcherProvider wrapper)
|
||||||
|
- [x] Fix secrets vs vars in PR workflow (secrets.CI_DATABASE_URL)
|
||||||
|
|
||||||
### Backlog 📋
|
### Backlog 📋
|
||||||
- [ ] Add UI controls for variant scoring in tournament creation/edit
|
|
||||||
- [ ] Test variant tournament functionality end-to-end
|
|
||||||
- [ ] Add validation for tie scores based on tournament configuration
|
|
||||||
- [ ] Document variant tournament features
|
- [ ] Document variant tournament features
|
||||||
|
- [ ] Update Gitea secret CI_DATABASE_URL to use euchre_camp_ci user
|
||||||
|
- [ ] Test isolation improvements for parallel CI execution
|
||||||
|
|
||||||
## Recently Completed (Detailed)
|
## Recently Completed (Detailed)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user