From b093c5a6b4243f8a9b1725cfda7bcd664882a223 Mon Sep 17 00:00:00 2001 From: darnodo Date: Thu, 20 Nov 2025 17:37:03 +0100 Subject: [PATCH] feat: Add Proxmox and Gitea images to tech banner --- .../global_architecture.fr.svg | 4 ++ .../index.fr.md} | 42 +++++++++---------- hugo.yaml | 2 +- layouts/shortcodes/tech-banner.html | 14 +++++++ static/images/tech-banner/proxmox-color.svg | 27 ++++++++++++ 5 files changed, 67 insertions(+), 22 deletions(-) create mode 100644 content/blog/migration-gitlab-gitea/global_architecture.fr.svg rename content/blog/{migration-gitlab-gitea.fr.md => migration-gitlab-gitea/index.fr.md} (94%) create mode 100644 static/images/tech-banner/proxmox-color.svg 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 @@ + + +🏠 HomelabProxmox VELXC: GiteaLXC: RunnerLXC: Grafana/AnsibleScaleway DediboxNginx Proxy Manager☁ InternetHTTPSWireguard VPNWireguard VPN \ 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 - +![Architecture](global_architecture.fr.svg) ### 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';" /> + Proxmox Scaleway + Proxmox Scaleway + + + + + + + + +