From da1a2a20bfc1915cdab8a95c029a82b98a5288b2 Mon Sep 17 00:00:00 2001 From: Betty Date: Sun, 31 May 2026 21:30:02 +0200 Subject: [PATCH] post: commit a1b4a76 in bojemoi --- .../commits/2026-05-31-commit-a1b4a76.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 content/posts/commits/2026-05-31-commit-a1b4a76.md diff --git a/content/posts/commits/2026-05-31-commit-a1b4a76.md b/content/posts/commits/2026-05-31-commit-a1b4a76.md new file mode 100644 index 0000000..d8de8d6 --- /dev/null +++ b/content/posts/commits/2026-05-31-commit-a1b4a76.md @@ -0,0 +1,49 @@ +--- +title: "[bojemoi] feat(provisioning): template cloud-init Alpine worker + script deploy" +date: 2026-05-31T21:30:02+02:00 +draft: false +tags: ["commit", "bojemoi", "main"] +categories: ["Git Activity"] +summary: "Commit a1b4a76 par Betty dans bojemoi" +author: "Betty" +--- + +## Commit `a1b4a76` + +| | | +|---|---| +| **Repository** | bojemoi | +| **Branch** | `main` | +| **Author** | Betty | +| **Hash** | `a1b4a76aa867ecdcea638148889da9400a1fb1d4` | + + +### Description + +Ajoute un template Jinja2 complet pour déployer un worker Docker Swarm +Alpine 3.20 (bonding eth0+eth1, NVIDIA optionnel, Suricata optionnel, +labels Swarm) et un script bash pour appeler l'orchestrator. + +- cloud-init/alpine/alpine-worker-full.yaml.j2 : template fidèle à + meta-68 (bond0 balance-rr, packages complets, daemon.json conditionnel + NVIDIA, cron prune + suricata truncate, phone_home :28080) +- scripts/deploy-worker-vm.sh : fetch token Swarm + clé SSH auto, + validation memory≥16384/vcpus≥8, scale orchestrator si 0 replicas, + options --nvidia/--defectdojo/--rsync-slave/--labels/--dry-run + +Co-Authored-By: Claude Sonnet 4.6 (1M context) + +### Files Changed + +``` +A cloud-init/alpine/alpine-worker-full.yaml.j2 +A scripts/deploy-worker-vm.sh +``` + +### Diff Summary + +``` + cloud-init/alpine/alpine-worker-full.yaml.j2 | 312 +++++++++++++++++++++++++++ + scripts/deploy-worker-vm.sh | 228 ++++++++++++++++++++ + 2 files changed, 540 insertions(+) +```