GitLab : la plateforme DevOps complete
GitLab est une plateforme DevOps tout-en-un qui couvre le cycle de vie complet du logiciel : du code source au deploiement en production.
Comparaison GitLab vs GitHub
| Fonctionnalite | GitLab | GitHub |
|---|---|---|
| CI/CD integre | Oui, natif | GitHub Actions (ajoute en 2019) |
| Auto-hebergement | GitLab CE gratuit | GitHub Enterprise (payant) |
| Container Registry | Integre | GitHub Packages |
| Gestion de projet | Issues, Boards, Epics | Issues, Projects |
| Pages statiques | GitLab Pages | GitHub Pages |
Avantages de GitLab
- CI/CD integre nativement : pas besoin d'outil externe
- Self-hosted gratuit : GitLab Community Edition peut etre installe sur vos serveurs
- DevSecOps : analyse de securite integree (SAST, DAST, dependency scanning)
- Tout-en-un : code, CI/CD, registre Docker, monitoring
# Cloner un projet GitLab
git clone https://gitlab.com/username/mon-projet.git
# Cloner via SSH
git clone git@gitlab.com:username/mon-projet.git
Astuce : GitLab.com offre un tier gratuit genereux avec CI/CD illimite sur des runners partages.