Commit Graph

14 Commits

Author SHA1 Message Date
David
2e5dcec05c fix
All checks were successful
CI/CD Pipeline / Backend - Build, Test & Push (push) Successful in 6m17s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Successful in 14m45s
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Deployment Summary (push) Successful in 2s
CI/CD Pipeline / Discord Notification (Failure) (push) Has been skipped
CI/CD Pipeline / Discord Notification (Success) (push) Successful in 2s
2025-11-19 18:27:42 +01:00
David
2505a36b13 fix: simplify Docker image tags to only use branch name
All checks were successful
CI/CD Pipeline / Backend - Build, Test & Push (push) Successful in 2m34s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Successful in 11m30s
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Deployment Summary (push) Successful in 1s
CI/CD Pipeline / Discord Notification (Failure) (push) Has been skipped
CI/CD Pipeline / Discord Notification (Success) (push) Successful in 1s
- Remove SHA-based tags (preprod-<sha>)
- Remove semver and PR tags
- Keep only branch-based tag (preprod)
- Keep latest tag for default branch
- Add Portainer debugging documentation

This ensures Portainer always pulls the stable branch tag
instead of commit-specific tags.
2025-11-18 00:00:06 +01:00
David
4125c9db18 feat: add Discord notifications for CI/CD pipeline status
Some checks failed
CI/CD Pipeline / Integration Tests (push) Blocked by required conditions
CI/CD Pipeline / Deployment Summary (push) Blocked by required conditions
CI/CD Pipeline / Discord Notification (Success) (push) Blocked by required conditions
CI/CD Pipeline / Discord Notification (Failure) (push) Blocked by required conditions
CI/CD Pipeline / Backend - Build, Test & Push (push) Has been cancelled
CI/CD Pipeline / Frontend - Build, Test & Push (push) Has been cancelled
Added two notification jobs that send Discord webhooks:
- notify-success: Sends a green embed when pipeline succeeds
- notify-failure: Sends a red embed when pipeline fails

Notifications include:
- Repository and branch information
- Commit SHA with clickable link
- Docker image names (backend & frontend)
- Link to workflow run for debugging

Requires DISCORD_WEBHOOK_URL secret to be configured in repository settings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 14:42:00 +01:00
David
f25dbd7ab9 fix: remove duplicate :preprod tag and align cache image names
Some checks failed
CI/CD Pipeline / Integration Tests (push) Blocked by required conditions
CI/CD Pipeline / Deployment Summary (push) Blocked by required conditions
CI/CD Pipeline / Frontend - Build, Test & Push (push) Failing after 6m46s
CI/CD Pipeline / Backend - Build, Test & Push (push) Has been cancelled
Fixed invalid Docker tag errors caused by:
1. Duplicate :preprod suffix in image names (xpeditis-backend:preprod:preprod)
2. Mismatched cache image names (backend vs xpeditis-backend)

Changes:
- Backend: images: xpeditis-backend (removed :preprod suffix)
- Frontend: images: xpeditis-frontend (removed :preprod suffix)
- Backend cache: backend:buildcache → xpeditis-backend:buildcache
- Frontend cache: frontend:buildcache → xpeditis-frontend:buildcache

docker/metadata-action automatically adds branch-based tags, so we should
never add :preprod to the base image name.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 12:23:00 +01:00
David
3d871f9813 ci
Some checks failed
CI/CD Pipeline / Backend - Build, Test & Push (push) Failing after 2m16s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Failing after 6m27s
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Deployment Summary (push) Has been skipped
2025-11-17 12:05:29 +01:00
David
70c1c9c285 fix: replace GitHub Actions cache with registry cache for Gitea compatibility
Some checks failed
CI/CD Pipeline / Frontend - Build, Test & Push (push) Failing after 6m43s
CI/CD Pipeline / Backend - Build, Test & Push (push) Successful in 19m10s
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Deployment Summary (push) Has been skipped
GitHub Actions cache (type=gha) is not available in Gitea, causing timeout errors.
Replaced with registry-based cache which works with any container registry.

Changes:
- Backend: cache-from/to type=registry,ref=backend:buildcache
- Frontend: cache-from/to type=registry,ref=frontend:buildcache
- Removed debug step that's no longer needed

This allows Docker layer caching while maintaining Gitea compatibility.
Images are successfully being pushed to rg.fr-par.scw.cloud/weworkstudio

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 11:45:13 +01:00
David
fb54cfbaf2 fix: correct Docker image tags to avoid duplicate tag names
Some checks failed
CI/CD Pipeline / Integration Tests (push) Blocked by required conditions
CI/CD Pipeline / Deployment Summary (push) Blocked by required conditions
CI/CD Pipeline / Backend - Build, Test & Push (push) Failing after 3m20s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Has been cancelled
Fixed invalid Docker tag format errors:
- Removed :preprod suffix from base image names in metadata action
- docker/metadata-action already adds branch-based tags automatically
- Unified registry to rg.fr-par.scw.cloud/weworkstudio for both backend and frontend
- This fixes "invalid reference format" error

Before: backend:preprod:preprod (invalid - duplicate tags)
After: backend:preprod (valid)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 01:53:53 +01:00
David
62cad30fc2 debug: add TypeScript config inspection to CI
Some checks failed
CI/CD Pipeline / Integration Tests (push) Blocked by required conditions
CI/CD Pipeline / Deployment Summary (push) Blocked by required conditions
CI/CD Pipeline / Backend - Build, Test & Push (push) Failing after 1m3s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Has been cancelled
2025-11-17 01:47:43 +01:00
David
87db05398a ci
Some checks failed
CI/CD Pipeline / Integration Tests (push) Blocked by required conditions
CI/CD Pipeline / Deployment Summary (push) Blocked by required conditions
CI/CD Pipeline / Backend - Build, Test & Push (push) Failing after 2m9s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Has been cancelled
2025-11-17 01:26:14 +01:00
David
2a6c30704c ci
Some checks failed
CI/CD Pipeline / Backend - Build, Test & Push (push) Failing after 4m53s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Failing after 6m31s
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Deployment Summary (push) Has been skipped
2025-11-17 01:16:59 +01:00
David
1824e23b53 ci
Some checks failed
CI/CD Pipeline / Backend - Build, Test & Push (push) Failing after 6m16s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Failing after 6m35s
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Deployment Summary (push) Has been skipped
2025-11-17 01:03:42 +01:00
David
dde7d885ae feature fix 2025-10-20 12:30:08 +02:00
David
44d38e3fc2 fix ci
Some checks failed
CI / Lint & Format Check (push) Failing after 5s
CI / Test Backend (push) Failing after 6s
CI / Build Backend (push) Has been skipped
CI / Test Frontend (push) Failing after 6s
CI / Build Frontend (push) Has been skipped
Security Audit / Dependency Review (push) Has been skipped
Security Audit / npm audit (push) Failing after 7s
2025-10-08 21:12:34 +02:00
David-Henri ARNAUD
e863399bb2 first commit
Some checks failed
CI / Lint & Format Check (push) Failing after 1m11s
CI / Test Backend (push) Failing after 1m32s
CI / Build Backend (push) Has been skipped
Security Audit / npm audit (push) Failing after 5s
Security Audit / Dependency Review (push) Has been skipped
CI / Test Frontend (push) Failing after 29s
CI / Build Frontend (push) Has been skipped
2025-10-07 18:39:32 +02:00