gunk-dev/the-valley

mirrors.cue

source9a63506a870fmain's published tip history
833 bytes
1// The host the flake's mirror-e2e check drives. The URLs are relative on
2// purpose: git resolves a relative URL against the pushing repository's
3// directory, so the check can serve one of them from a sibling directory and
4// leave the other pointing at nothing. A dead mirror must never reject the
5// primary push, and this declaration is how that is exercised for real.
6//
7// The race mirror is an ssh URL. The check points the race repository's
8// core.sshCommand at a stand-in that runs the remote git locally, so it can
9// stall a push where git has read its local refs and not yet the mirror's:
10// the window in which two pushers at once can rewind a mirror.
11package valley
12
13projects: {
14 "mirror-pilot": mirrors: ["../mirror.git"]
15 "dead-mirror": mirrors: ["../nope.git"]
16 "race": mirrors: ["race-host:../race-mirror.git"]
17}