Update alloy build instructions: Go 1.25.7 and codesign step

SCP'd binaries from another Mac get com.apple.provenance quarantine
and macOS kills them. Ad-hoc codesign (codesign --sign - --force)
resolves this without GUI approval.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-03-13 16:20:43 -07:00
commit 2585a960b9

View file

@ -13,7 +13,7 @@
# git clone ssh://forgejo@forge.ops.eblu.me:2222/mirrors/alloy.git ~/code/3rd/alloy # git clone ssh://forgejo@forge.ops.eblu.me:2222/mirrors/alloy.git ~/code/3rd/alloy
# #
# 2. Set up build tools via mise: # 2. Set up build tools via mise:
# cd ~/code/3rd/alloy && mise use go@1.25 node yarn # cd ~/code/3rd/alloy && mise use go@1.25.7 node yarn
# #
# 3. Build with CGO enabled (default in Makefile): # 3. Build with CGO enabled (default in Makefile):
# cd ~/code/3rd/alloy && mise x -- make alloy # cd ~/code/3rd/alloy && mise x -- make alloy
@ -21,7 +21,10 @@
# 4. Copy binary to indri: # 4. Copy binary to indri:
# scp ~/code/3rd/alloy/build/alloy indri:~/.local/bin/alloy # scp ~/code/3rd/alloy/build/alloy indri:~/.local/bin/alloy
# #
# 5. Run ansible to deploy config and LaunchAgent # 5. Ad-hoc codesign on indri (SCP'd binaries get quarantined by macOS):
# ssh indri 'codesign --sign - --force ~/.local/bin/alloy'
#
# 6. Run ansible to deploy config and LaunchAgent
# Binary and paths # Binary and paths
alloy_binary: /Users/erichblume/.local/bin/alloy alloy_binary: /Users/erichblume/.local/bin/alloy