Nuevas Épicas (MCH-029 a MCH-033): - Infraestructura SaaS multi-tenant - Auth Social (OAuth2) - Auditoría Empresarial - Feature Flags - Onboarding Wizard Nuevas Integraciones (INT-010 a INT-014): - Email Providers (SendGrid, Mailgun, SES) - Storage Cloud (S3, GCS, Azure) - OAuth Social - Redis Cache - Webhooks Outbound Nuevos ADRs (0004 a 0011): - Notifications Realtime - Feature Flags Strategy - Storage Abstraction - Webhook Retry Strategy - Audit Log Retention - Rate Limiting - OAuth Social Implementation - Email Multi-provider Actualizados: - MASTER_INVENTORY.yml - CONTEXT-MAP.yml - HERENCIA-SIMCO.md - Mapas de documentación Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
82 lines
1.6 KiB
Markdown
82 lines
1.6 KiB
Markdown
# CI/CD Guide - MiChangarrito
|
|
|
|
## Overview
|
|
|
|
Este documento describe la configuracion de CI/CD para michangarrito.
|
|
|
|
## Stack DevOps
|
|
|
|
- **Container Runtime**: Docker
|
|
- **Orchestration**: Docker Compose (desarrollo), Kubernetes (produccion)
|
|
- **CI/CD**: GitHub Actions
|
|
- **Registry**: Docker Hub / GitHub Container Registry
|
|
- **Mobile**: Expo EAS Build
|
|
|
|
## Pipelines
|
|
|
|
### Build Pipeline
|
|
|
|
```yaml
|
|
# .github/workflows/build.yml
|
|
name: Build
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- run: npm test
|
|
```
|
|
|
|
### Mobile Build (Expo EAS)
|
|
|
|
```yaml
|
|
# .github/workflows/mobile.yml
|
|
name: Mobile Build
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: expo/expo-github-action@v8
|
|
with:
|
|
eas-version: latest
|
|
token: ${{ secrets.EXPO_TOKEN }}
|
|
- run: eas build --platform all --non-interactive
|
|
```
|
|
|
|
## Environments
|
|
|
|
| Environment | Branch | URL |
|
|
|-------------|--------|-----|
|
|
| Development | develop | localhost |
|
|
| Staging | staging | TBD |
|
|
| Production | main | TBD |
|
|
|
|
## Apps
|
|
|
|
| App | Tipo | Build |
|
|
|-----|------|-------|
|
|
| backend | NestJS | Docker |
|
|
| web | React | Docker |
|
|
| mobile | Expo | EAS Build |
|
|
| mcp-server | TypeScript | Docker |
|
|
| whatsapp-service | NestJS | Docker |
|
|
|
|
## Docker Setup
|
|
|
|
Ver [DOCKER-SETUP.md](./DOCKER-SETUP.md)
|
|
|
|
---
|
|
|
|
**Ultima actualizacion**: 2026-01-10
|
|
**Estado**: Placeholder - Completar con detalles del proyecto
|