Skip to content

Commit 046fb70

Browse files
committed
docs: Add comprehensive CI/CD pipeline documentation
-Include detailed explanation of Continuous Integration (CI) process -Document Continuous Delivery (CD) workflow and Docker image publishing -Add table for CI technical details including trigger, environment, and testing tools -Create table for CD Docker tagging strategy with examples -List automated tasks and their current status
1 parent 1e7ddfd commit 046fb70

File tree

1 file changed

+55
-1
lines changed

1 file changed

+55
-1
lines changed

README.md

+55-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ Tutor: Micael Gallego Carrillo
1616
- [Blog LogArt: Construyendo una Aplicación Full-Stack MERN: Frontend.](https://medium.com/@davidmorenom17/construyendo-una-aplicación-full-stack-mern-frontend-de824052cd30)
1717
- [Blog LogArt: Testeo e2e en LogArt: Asegurando la Calidad con Jest, Supertest y Playwright.](https://medium.com/@davidmorenom17/testeo-e2e-en-logart-asegurando-la-calidad-con-jest-supertest-y-playwright-cde6b2ff2d59)
1818
- [Blog LogArt: Docker y Docker Compose en LogArt: Simplificando el Desarrollo y Despliegue](https://medium.com/@davidmorenom17/docker-y-docker-compose-en-logart-simplificando-el-desarrollo-y-despliegue-577e25f77956)
19+
- [Blog LogArt: Integración continua con Github Actions:](https://medium.com/@davidmorenom17/integración-continua-con-github-actions-a81b5bc91b1d)
20+
- [Blog LogArt: Entrega Continua con GitHub Actions: Simplificando el Despliegue de Docker](https://medium.com/@davidmorenom17/entrega-continua-con-github-actions-simplificando-el-despliegue-de-docker-08b4043787e8)
1921

20-
<br><br>
22+
<br><br>
2123

2224
# **Fase 0**
2325

@@ -712,4 +714,56 @@ docker compose down
712714

713715
[LogArt Demo ](https://youtu.be/jGPRqOFaC10)
714716

717+
<br><br><br><br>
718+
715719
# **Fase 2**
720+
721+
## CI/CD Pipeline 🔁
722+
723+
### Integración Continua (CI)
724+
725+
**Tareas automatizadas:**
726+
727+
- ✅ Ejecución de tests e2e automáticos al hacer un pull request
728+
- ✅ Generación de reportes de cobertura de tests frontend: en caso de fallo, se genera una traza de depuración para descargar si así se desea
729+
- ✅ Verificación de credenciales y configuración SSL
730+
731+
<br>
732+
733+
**Detalles técnicos:**
734+
| Característica | Configuración |
735+
|----------------|----------------|
736+
| Trigger | Al crear un pull-request a `main` |
737+
| Entorno | Ubuntu Latest + Node.js 20.x |
738+
| Pruebas Backend | jest y supertest |
739+
| Pruebas Frontend | Playwright con reporte HTML |
740+
| Artefactos generados | [Playwright Report](https://playwright.dev/docs/running-tests#debugging-tests) |
741+
742+
<br>
743+
744+
### Entrega Continua (CD)
745+
746+
**Flujo automatizado:**
747+
748+
1. 🐳 Construcción de imagen Docker
749+
2. 📦 Publicación en Docker Hub
750+
3. #️⃣ Tagging automático con versión de release y commit
751+
752+
<br>
753+
754+
**Especificaciones:**
755+
| Git Tag | Docker Tags Generados |
756+
|----------------|----------------|
757+
| v2.0.0 | 2.0.0, a158d1c, latest |
758+
| v3.0.0-rc1 | 3.0.0-rc1, a158d1c |
759+
| tags generados en el repositorio de logartapp | [dockerhub](https://hub.docker.com/repository/docker/davidmorenoo/logartapp/) |
760+
761+
<br>
762+
763+
```
764+
docker_image: "davidmorenoo/logartapp"
765+
tags:
766+
- "{{version}}" # Versión del release (ej: 2.0.0)
767+
- "latest" # Última versión estable
768+
- "{{sha}}" # Commit SHA (ej: a158d1c)
769+
```

0 commit comments

Comments
 (0)