Skip to content

Commit 2760c7a

Browse files
committed
ci: update GitHub Actions paths to apps/ layout and complete hex wiring for PlaceOrder
1 parent 62929ab commit 2760c7a

4 files changed

Lines changed: 14 additions & 16 deletions

File tree

.github/pull_request_template.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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

@@ -39,4 +39,3 @@
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-

.github/workflows/backend-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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'

.github/workflows/main.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
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}}
@@ -30,8 +30,8 @@ jobs:
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}}
@@ -40,10 +40,9 @@ jobs:
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-

docs/MIGRATION_PLAN.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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`
2626
3) 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/*`)
3131
4) 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

0 commit comments

Comments
 (0)