Task: Page Services + GitLab CI/CD
Date : 21/01/2026 22:00
Status : TERMINÉ
Durée : ~30 min
Objectif
Compléter la page services.html du dashboard avec :
- Vue des services actifs (config.json)
- Intégration GitLab CI/CD (pipelines, jobs deploy)
- Registre Smart-Deploy
Travail Réalisé
1. Script collect-gitlab.sh (nouveau)
- [x] Création script de collecte GitLab API
- [x] Récupération projets avec pipelines
- [x] Détection jobs de déploiement
- [x] Stockage dans gitlab-pipelines.json
Stats collectées :
- 33 projets avec CI/CD
- 19 avec jobs de deploy
- 11 pipelines success, 19 failed
- 20 derniers déploiements
2. Réécriture 25-services.sh
- [x] Section 1: Services Actifs (30 services de config.json)
- Groupés par host (prod-portainer, win11, etc.)
- Status live (ping TCP port)
- Lien vers domaine si disponible
- [x] Section 2: GitLab CI/CD Pipelines
- Tableau triée par date
- Status pipeline + deploy
- Liens vers GitLab
- [x] Section 3: Derniers Déploiements
- 15 derniers jobs deploy
- Durée, status, commit
- [x] Section 4: Smart-Deploy Registry
- Section existante conservée
3. Intégration collect.sh
- [x] Ajout appel collect-gitlab.sh avant generate.sh
Résultat
- Page : https://dashboard.nowhere84.com/services.html
- Fichiers créés/modifiés :
- /stock_8to/33800-stack/monitoring/collect-gitlab.sh (nouveau)
- /stock_8to/33800-stack/monitoring/gitlab-pipelines.json (nouveau)
- /stock_8to/33800-stack/monitoring/generate.d/25-services.sh (réécrit)
- /stock_8to/33800-stack/monitoring/collect.sh (modifié)
Prochaine étape
Comme discuté : analyser les projets avec pipelines "failed" un par un pour voir si leur CI/CD a besoin d'être mise à jour avec la nouvelle configuration.
Projets avec pipeline failed (19) :
- mini-site-jerome, needfinder, yolo-api, jellylink-client
- qwikpress, tintech-front, authentificator, qwikjs-lib
- json-editor, notifications, flow-api, user-bucket-m
- user-bucket, ulia-recover, ulias-lib, ulia, ai-front