Code source wiki de GitLab
Version 5.1 par Kevin FRICK le 2024/11/14 17:24
Afficher les derniers auteurs
| author | version | line-number | content |
|---|---|---|---|
| 1 | == Accès == | ||
| 2 | |||
| 3 | L'URL du GitLab est : [[https:~~/~~/gitlab.atilla.org>>https://gitlab.atilla.org]] | ||
| 4 | |||
| 5 | Il est nécessaire de se connecter avec le [[Portail de connexion Atilla>>Services.LemonLDAP\:\:NG (llng).WebHome]]. | ||
| 6 | |||
| 7 | == CI/CD et runners == | ||
| 8 | |||
| 9 | Pour utiliser les fonctionnalités de CI/CD, il faut créer un fichier .gitlab-ci.yml à la racine du projet. [[Doc GitLab correspondante>>https://docs.gitlab.com/ee/ci/yaml/]] | ||
| 10 | |||
| 11 | == Emplacement == | ||
| 12 | |||
| 13 | Le GitLab se trouve dans la VM gitlab-prod sur [[Odie>>Infrastructure.Serveurs_physiques.Odie.WebHome]]. | ||
| 14 | |||
| 15 | Il y a une deuxième VM qui contient les runners de la CI/CD GitLab : gitlab-runners-prod sur [[Odie>>Infrastructure.Serveurs_physiques.Odie.WebHome]] aussi. | ||
| 16 | |||
| 17 | == Mise à jour == | ||
| 18 | |||
| 19 | Checker les checkpoints versions [[ici>>https://docs.gitlab.com/17.4/ee/update/index.html#upgrade-paths]] | ||
| 20 | |||
| 21 | Sur la VM GitLab : | ||
| 22 | |||
| 23 | {{code language="bash"}} | ||
| 24 | # touch /etc/gitlab/skip-auto-backup | ||
| 25 | apt update | ||
| 26 | apt install gitlab-ce | ||
| 27 | {{/code}} | ||
| 28 | |||
| 29 | Sur la VM Gitlab runners : | ||
| 30 | |||
| 31 | {{code language="bash"}} | ||
| 32 | apt update | ||
| 33 | apt install gitlab-runner | ||
| 34 | {{/code}} |