Release v1.7.16: CI workflow fix for Gitea Actions, repository cleanup
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# AOC v1.7.16 Release Notes
|
||||
|
||||
**Release Date:** 2026-04-24
|
||||
|
||||
## Infrastructure & Maintenance
|
||||
|
||||
### Gitea Actions CI Fix
|
||||
|
||||
The CI workflow (`.gitea/workflows/ci.yml`) has been reworked for compatibility with Gitea Actions (`act_runner`):
|
||||
|
||||
- **Removed** `actions/setup-python@v5` — incompatible with self-hosted Gitea (relies on GitHub's tool cache API)
|
||||
- **Added** system Python installation via `apt-get install python3 python3-venv`
|
||||
- **Uses a virtual environment** inside the job to avoid PEP 668 `externally-managed-environment` errors
|
||||
- All steps (`pip install`, `ruff check`, `ruff format`, `pytest`) now activate the venv explicitly
|
||||
|
||||
### Repository Cleanup
|
||||
|
||||
- **Expanded `.gitignore`** to cover all venv variants (`.*venv*/`), `.ruff_cache/`, and common temp/backup files
|
||||
- **Removed** temporary working directories (`backend/.venv_ci/`, `__pycache__/`)
|
||||
|
||||
## Files Changed
|
||||
|
||||
| File | Change |
|
||||
|------|--------|
|
||||
| `.gitea/workflows/ci.yml` | Complete rewrite for Gitea Actions compatibility |
|
||||
| `.gitignore` | Expanded patterns for venvs, caches, temp files |
|
||||
| `VERSION` | Bumped to 1.7.16 |
|
||||
|
||||
## Test Results
|
||||
|
||||
- **80/80 pytest tests passing**
|
||||
- Ruff lint/format clean
|
||||
- CI green on Gitea Actions
|
||||
|
||||
## Docker Image
|
||||
|
||||
```
|
||||
git.cqre.net/cqrenet/aoc-backend:v1.7.16
|
||||
```
|
||||
Reference in New Issue
Block a user