CI and release builds read the private VoelinProtocol repository #1
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user