Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software:2222/vole.git

A free and open-source forge that lives in your Git repo.

refactor

c5902451905acdaa478f8476844ccd4a510d9ca9 · Keenan Nemetz · 17d ago · parent ec2aba4b

internal/sshserver/attest_test.go → server/ssh/attest_test.go +7−7

@@ -1,4 +1,4 @@
1 package sshserver
1 package ssh
2 2
3 3 // A finished run is recorded because the runner published a signed commit, and the
4 4 // server creates nothing. These tests speak the runner protocol over a real SSH
@@ -13,16 +13,16 @@ import (
13 13 "testing"
14 14 "time"
15 15
16 "github.com/rodent-software/vole/internal/id"
17 "github.com/rodent-software/vole/internal/issues"
18 "github.com/rodent-software/vole/internal/runs"
19 "golang.org/x/crypto/ssh"
16 "github.com/rodent-software/vole/ci/runs"
17 "github.com/rodent-software/vole/core/id"
18 "github.com/rodent-software/vole/metadata"
19 xssh "golang.org/x/crypto/ssh"
20 20 )
21 21
22 22 // runnerConn is the wire, as a runner would see it.
23 23 type runnerConn struct {
24 24 t *testing.T
25 sess *ssh.Session
25 sess *xssh.Session
26 26 enc *json.Encoder
27 27 dec *json.Decoder
28 28 }
@@ -112,7 +112,7 @@ func (h *harness) publishRecord(t *testing.T, job *runnerJob, attempt int, signe
112 112 Job: job.Job, StepsSHA: job.StepsSHA, Exit: 0, Finished: time.Now().UTC(),
113 113 Signer: signer,
114 114 }
115 commit, err := runs.WriteRecord(m.Git(), issues.Ref, rec, "writer", nil)
115 commit, err := runs.WriteRecord(m.Git(), metadata.Ref, rec, "writer", nil)
116 116 if err != nil {
117 117 t.Fatalf("publishing the record: %v", err)
118 118 }