CI and release builds read the private VoelinProtocol repository #1

Merged
faumaray merged 7 commits from phase0/ci-private-dependency into main 2026-10-24 11:46:50 +00:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit e5956e40e9 - Show all commits

No files matched your search

+5
View File
@@ -20,6 +20,11 @@ on:
env:
CARGO_TERM_COLOR: always
# Cargo fetches the private VoelinProtocol dependency with the system git and
# ssh (docs/ci.md, "VoelinProtocol access"). The checks action exports this
# too; set here as well, it does not depend on the runner handing a composite
# action's GITHUB_ENV on to the later steps.
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
jobs:
linux:
+2 -1
View File
@@ -131,7 +131,8 @@ What is set up:
line to `~/.ssh/known_hosts`, writes a `Host git.faumaray.com` block to
`~/.ssh/config` (`User gitea`, that `IdentityFile`, `IdentitiesOnly yes`,
`StrictHostKeyChecking yes`) and exports `CARGO_NET_GIT_FETCH_WITH_CLI=true`
and `GIT_SSH_COMMAND` for the rest of the job. It prints only the key's
and `GIT_SSH_COMMAND` for the rest of the job (`ci.yml` sets the first one
in its own `env` as well). It prints only the key's
public fingerprint; the key is never echoed. After the system packages a
second step runs `git ls-remote` on VoelinProtocol, so a wrong key or host
key fails there, with the reason, and not inside a cargo command. The key