Make demo cleanup runnable in backend container
This commit is contained in:
@@ -30,6 +30,13 @@ python scripts/cleanup_demo_artifacts.py
|
||||
python scripts/cleanup_demo_artifacts.py --keep-latest 3 --apply
|
||||
```
|
||||
|
||||
Against the Docker runtime, run the backend-container entrypoint:
|
||||
|
||||
```bash
|
||||
docker compose exec -T backend python scripts/cleanup_demo_artifacts.py
|
||||
docker compose exec -T backend python scripts/cleanup_demo_artifacts.py --keep-latest 3 --apply
|
||||
```
|
||||
|
||||
The cleanup script is dry-run by default. It only targets the explicit
|
||||
`GeoIntel Demo - Building QA` project unless `--project-name` is provided, keeps
|
||||
the newest exports per matching project, deletes only `exports` rows/files when
|
||||
|
||||
Reference in New Issue
Block a user