From 57e3b186b0ddd6b59f9d0b382cd855854e5f1067 Mon Sep 17 00:00:00 2001 From: jedarden Date: Thu, 2 Jul 2026 08:52:55 -0400 Subject: [PATCH] fix(ci): install git in miroir-release build-binaries step The rust:1.87-slim image doesn't include git, but the build-binaries step runs 'git clone' which fails with exit code 127 (command not found). Install git along with other build dependencies before cloning. Co-Authored-By: Claude --- k8s/argo-workflows/miroir-release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/k8s/argo-workflows/miroir-release.yaml b/k8s/argo-workflows/miroir-release.yaml index e31f73a..c52bd95 100644 --- a/k8s/argo-workflows/miroir-release.yaml +++ b/k8s/argo-workflows/miroir-release.yaml @@ -104,12 +104,14 @@ spec: # Ensure PATH includes cargo export PATH="/usr/local/cargo/bin:$PATH" + # Install git and build dependencies + apt-get update -qq && apt-get install -y -qq git pkg-config libssl-dev musl-tools >/dev/null 2>&1 + # Clone the repo at the tag to workspace for sharing with later steps git clone --depth 1 --branch "$TAG" https://github.com/jedarden/miroir.git /workspace/src cd /workspace/src # Install musl target - apt-get update -qq && apt-get install -y -qq pkg-config libssl-dev musl-tools >/dev/null 2>&1 rustup target add x86_64-unknown-linux-musl # Build the binaries