Date ajout : 12/01/2026 Priorite : MOYENNE Categorie : DEV Statut : A FAIRE Effort estime : L (1-2 jours)
Centraliser le code source sur GitLab et mettre en place CI/CD :
| Element | Statut |
|---|---|
| GitLab CE | Installe (192.168.1.196) |
| SSL | Configure (gitlab.33800.nowhere84.com) |
| Backup | Automatique (6h) |
| Repos | Quelques projets |
| CI/CD Runners | Non configure |
| Projet | Source actuelle | Action |
|---|---|---|
| notif-logger | /stock_8to/33800-stack/projects/ | Push vers GitLab |
| monitoring | /stock_8to/33800-stack/monitoring/ | Push vers GitLab |
| scripts | /stock_8to/33800-stack/scripts/ | Push vers GitLab |
| qwikpress | Local dev | Push vers GitLab |
# Sur prod-portainer ou VM dediee
docker run -d \
--name gitlab-runner \
--restart unless-stopped \
-v /var/run/docker.sock:/var/run/docker.sock \
gitlab/gitlab-runner:latest
# .gitlab-ci.yml
stages:
- build
- test
- deploy
build:
stage: build
script:
- docker build -t $CI_PROJECT_NAME .
deploy_prod:
stage: deploy
only:
- main
script:
- docker compose -f docker-compose.prod.yml up -d
glpat-yaowLwWBJhXfzJEC8UBCGitLab est deja installe mais sous-utilise. Ce backlog vise a centraliser tout le code et automatiser les deployments.