chore(ci): move CI to Forgejo Actions, drop GitHub/Codecov references
This commit is contained in:
parent
a2930426b4
commit
775d7a8a13
2 changed files with 6 additions and 15 deletions
|
|
@ -6,6 +6,7 @@ on:
|
||||||
tags: ["v*"]
|
tags: ["v*"]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master, main]
|
branches: [master, main]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
@ -58,17 +59,10 @@ jobs:
|
||||||
pip install -e ".[dev]"
|
pip install -e ".[dev]"
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest --cov=infrasynth --cov-report=xml --cov-report=term-missing -v
|
run: pytest --cov=infrasynth --cov-report=term-missing -v
|
||||||
env:
|
env:
|
||||||
DJANGO_SETTINGS_MODULE: config.settings.test
|
DJANGO_SETTINGS_MODULE: config.settings.test
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
|
||||||
uses: codecov/codecov-action@v5
|
|
||||||
with:
|
|
||||||
files: ./coverage.xml
|
|
||||||
flags: unittests
|
|
||||||
if: success() || failure()
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -123,5 +117,3 @@ jobs:
|
||||||
push: false
|
push: false
|
||||||
load: true
|
load: true
|
||||||
tags: infrasynth-base:ci
|
tags: infrasynth-base:ci
|
||||||
cache-from: type=gha
|
|
||||||
cache-to: type=gha,mode=max
|
|
||||||
9
PLAN.md
9
PLAN.md
|
|
@ -1,7 +1,6 @@
|
||||||
# InfraSynth Base — Plan de Arquitectura
|
# InfraSynth Base — Plan de Arquitectura
|
||||||
|
|
||||||
[](https://github.com/anomalyco/infrasynth-base/actions/workflows/ci.yml)
|
[](https://git-ssh.infrasynth.net:2222/moravak/infrasynth-backend-kit)
|
||||||
[](https://codecov.io/gh/anomalyco/infrasynth-base)
|
|
||||||
[](https://www.python.org/downloads/)
|
[](https://www.python.org/downloads/)
|
||||||
[](https://www.djangoproject.com/)
|
[](https://www.djangoproject.com/)
|
||||||
[](https://github.com/astral-sh/ruff)
|
[](https://github.com/astral-sh/ruff)
|
||||||
|
|
@ -134,9 +133,9 @@ InfraSynth Base es un conjunto de Django apps reutilizables que proveen la infra
|
||||||
- [x] ruff check . sin errores
|
- [x] ruff check . sin errores
|
||||||
- [x] mypy infrasynth/ sin errores
|
- [x] mypy infrasynth/ sin errores
|
||||||
- [x] pre-commit hooks configurados
|
- [x] pre-commit hooks configurados
|
||||||
- [x] GitHub Actions: tests + lint + typecheck + docker build
|
- [x] Forgejo Actions: tests + lint + typecheck + docker build
|
||||||
- [x] Dockerfile multi-stage + docker-compose con health checks
|
- [x] Dockerfile multi-stage + docker-compose con health checks
|
||||||
- [x] Badges (CI, coverage, python, django, ruff, mypy) en PLAN.md
|
- [x] Badges (CI, python, django, ruff, mypy) en PLAN.md
|
||||||
- [ ] Docker push (pendiente de registry config)
|
- [ ] Docker push (pendiente de registry config)
|
||||||
|
|
||||||
### Fase 16 — Multi-tenancy ✅ _(2026-09-24)_
|
### Fase 16 — Multi-tenancy ✅ _(2026-09-24)_
|
||||||
|
|
@ -3441,7 +3440,7 @@ volumes:
|
||||||
- **Cache:** Redis (caching + sessions + Celery broker)
|
- **Cache:** Redis (caching + sessions + Celery broker)
|
||||||
- **Monitoring:** Sentry (errors) + Prometheus + Grafana (metrics)
|
- **Monitoring:** Sentry (errors) + Prometheus + Grafana (metrics)
|
||||||
- **Logging:** structlog → JSON stdout → Loki + Grafana
|
- **Logging:** structlog → JSON stdout → Loki + Grafana
|
||||||
- **CI/CD:** GitHub Actions (tests + lint + docker build)
|
- **CI/CD:** Forgejo Actions (tests + lint + typecheck + docker build)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue