File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212## Tests
1313
1414- How to verify:
15- - [ ] ` cd backends /monolith && ./bin/dj test `
15+ - [ ] ` cd apps/backend /monolith && ./bin/dj test `
1616- Added/updated tests:
1717 -
1818
3939- [ ] Migrations created (if needed) and rationale explained
4040- [ ] Tests added/updated and passing locally
4141- [ ] Docs updated (README/DEVELOPER/MIGRATION_GUIDE as applicable)
42-
Original file line number Diff line number Diff line change @@ -34,17 +34,17 @@ jobs:
3434 with :
3535 python-version : ' 3.12'
3636 cache : ' pip'
37- cache-dependency-path : backends /monolith/requirements.txt
37+ cache-dependency-path : apps/backend /monolith/requirements.txt
3838
3939 - name : Install dependencies
40- working-directory : backends /monolith
40+ working-directory : apps/backend /monolith
4141 run : |
4242 python -m pip install --upgrade pip
4343 python -m pip install -r requirements.txt
4444
4545
4646 - name : Migrate and run tests
47- working-directory : backends /monolith
47+ working-directory : apps/backend /monolith
4848 env :
4949 RBS_SECRET_KEY : ci-secret-key
5050 DEBUG : ' True'
Original file line number Diff line number Diff line change 2020 - name : Build and push Docker frontend image
2121 uses : docker/build-push-action@v5.0.0
2222 with :
23- context : ./frontends/web
24- file : ./frontends/web /docker/Dockerfile
23+ context : ./apps/frontend
24+ file : ./apps/frontend /docker/Dockerfile
2525 push : true
2626 tags : |
2727 ldamasio/rbs-frontend-prod:0.0.${{github.run_number}}
3030 - name : Build and push Docker monolith backend image
3131 uses : docker/build-push-action@v5.0.0
3232 with :
33- context : ./backends /monolith
34- file : ./backends /monolith/docker/Dockerfile_django
33+ context : ./apps/backend /monolith
34+ file : ./apps/backend /monolith/docker/Dockerfile_django
3535 push : true
3636 tags : |
3737 ldamasio/rbs-backend-monolith-prod:1.0.${{github.run_number}}
4040 - name : Build and push Docker monolith backend nginx image
4141 uses : docker/build-push-action@v5.0.0
4242 with :
43- context : ./backends /monolith
44- file : ./backends /monolith/docker/Dockerfile_nginx
43+ context : ./apps/backend /monolith
44+ file : ./apps/backend /monolith/docker/Dockerfile_nginx
4545 push : true
4646 tags : |
4747 ldamasio/rbs-backend-nginx-prod:1.0.${{github.run_number}}
4848 ldamasio/rbs-backend-nginx-prod:latest
49-
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ Steps
2424 - [x] Move ` backends/cronjob ` → ` apps/backend/cronjob `
2525 - [x] Move ` backends/nginx_monolith ` → ` apps/backend/nginx_monolith `
26263 ) Update tooling and compose
27- - [x] Update ` docker-compose.yml ` paths
28- - [x] Update ` Makefile ` dev paths
29- - [x] Fix env var placeholders in ` docker-compose.yml `
30- - [ ] Verify any CI workflows referencing old paths
27+ - [x] Update ` docker-compose.yml ` paths
28+ - [x] Update ` Makefile ` dev paths
29+ - [x] Fix env var placeholders in ` docker-compose.yml `
30+ - [x ] Verify and update CI workflows referencing old paths ( ` .github/workflows/* ` )
31314 ) Hexagonal refactor (incremental)
3232 - [x] Identify domain entities/services → move to ` core/domain ` (Symbol, Order)
3333 - [x] Bootstrap ` core/application/ports.py ` with initial contracts
You can’t perform that action at this time.
0 commit comments