diff --git a/content/blog/migration-gitlab-gitea/global_architecture.fr.svg b/content/blog/migration-gitlab-gitea/global_architecture.fr.svg
new file mode 100644
index 0000000..3e2f7af
--- /dev/null
+++ b/content/blog/migration-gitlab-gitea/global_architecture.fr.svg
@@ -0,0 +1,4 @@
+
+
+
\ No newline at end of file
diff --git a/content/blog/migration-gitlab-gitea.fr.md b/content/blog/migration-gitlab-gitea/index.fr.md
similarity index 94%
rename from content/blog/migration-gitlab-gitea.fr.md
rename to content/blog/migration-gitlab-gitea/index.fr.md
index e612367..e70e689 100644
--- a/content/blog/migration-gitlab-gitea.fr.md
+++ b/content/blog/migration-gitlab-gitea/index.fr.md
@@ -11,7 +11,7 @@ tags:
- Network Engineering
---
-Retour d'expérience sur la construction de mon infrastructure personnelle hybride : migration de GitHub vers Gitea auto-hébergé, et déploiement de labs réseau éphémÚres sur Scaleway. Le tout avec Proxmox, Wireguard et beaucoup d'automation.
+Retour d'expérience sur la construction de mon infrastructure personnelle : migration de GitHub vers Gitea auto-hébergé, et déploiement de labs réseau éphémÚres sur Scaleway. Le tout avec Proxmox et Wireguard.
@@ -28,7 +28,7 @@ Mais plusieurs envies ont émergé :
## L'Architecture Globale
-
+
### Stack Technique
@@ -125,25 +125,25 @@ Pour maintenir Gitea à jour et gérer les configurations, j'utilise Ansible.
hosts: gitea
become: yes
tasks:
- - name: Stop Gitea service
+ - name: Update apt cache
+ apt:
+ update_cache: yes
+ cache_valid_time: 3600
+
+ - name: Upgrade Gitea and system packages
+ apt:
+ upgrade: dist
+ autoremove: yes
+ autoclean: yes
+
+ - name: Restart Gitea service
systemd:
name: gitea
- state: stopped
-
- - name: Download latest Gitea binary
- get_url:
- url: https://dl.gitea.com/gitea/latest/gitea-latest-linux-amd64
- dest: /usr/local/bin/gitea
- mode: '0755'
-
- - name: Start Gitea service
- systemd:
- name: gitea
- state: started
+ state: restarted
enabled: yes
- name: Check Gitea version
- command: /usr/local/bin/gitea --version
+ command: gitea --version
register: gitea_version
- debug:
@@ -158,7 +158,8 @@ ansible-playbook -i inventory.ini update-gitea.yml
### Monitoring avec Grafana
-Gitea expose des métriques Prometheus. Configuration :
+Gitea expose des métriques Prometheus (https://docs.gitea.com/administration/config-cheat-sheet#metrics-metrics)
+Configuration :
**Dans Gitea (`app.ini`)** :
@@ -179,7 +180,7 @@ scrape_configs:
- targets: [':3000']
```
-**Dashboard Grafana** :
+**Dashboard Grafana** (https://grafana.com/docs/grafana-cloud/monitor-infrastructure/integrations/integration-reference/integration-gitea/#gitea-integration-for-grafana-cloud) :
- Nombre de repositories, utilisateurs
- RequĂȘtes HTTP (rate, latence)
- Ătat des runners CI/CD
@@ -187,8 +188,7 @@ scrape_configs:
### Migration du Code depuis GitHub
-Simple et rapide :
-
+Simple et rapide :
Utiliser la fonction d'import de Gitea (Settings > New Migration > GitHub) qui migre aussi les issues et releases.
### CI/CD : Déploiement Hugo vers Scaleway Object Storage
@@ -566,7 +566,7 @@ En tant que professionnel du réseau (Arista, BGP/EVPN, automation), self-hoster
- **Haute disponibilité** : Seconde Dedibox pour du failover
- **Backup automatique** : Scripts pour sauvegarder Gitea vers Scaleway Object Storage
- **Plus d'automation** : Terraform pour provisionner toute l'infra Scaleway
-- **MCP Arista** : Développer un serveur MCP pour interagir avec les équipements réseau via Claude
+- **MCP Arista** : Développer un serveur MCP pour interagir avec les équipements réseau via LLM Locaux
- **Intégration Netbox** : Webhook depuis Netbox vers pipeline de validation réseau
## Conclusion
diff --git a/hugo.yaml b/hugo.yaml
index 3b401b9..c9a12d8 100644
--- a/hugo.yaml
+++ b/hugo.yaml
@@ -32,7 +32,7 @@ menu:
params:
theme:
default: light
- displayToggle: false
+ displayToggle: true
# Navbar
navbar:
displayTitle: true
diff --git a/layouts/shortcodes/tech-banner.html b/layouts/shortcodes/tech-banner.html
index 74159b8..42fe799 100644
--- a/layouts/shortcodes/tech-banner.html
+++ b/layouts/shortcodes/tech-banner.html
@@ -76,6 +76,13 @@
onmouseover="this.style.filter='grayscale(0%)'; this.style.opacity='1';"
onmouseout="this.style.filter='grayscale(100%)'; this.style.opacity='0.7';"
/>
+
+
+
+
+
+