Sign in

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

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

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

Self-hosted forge that lives in your Git repo.

Name only the runtime on the environment card

22e290b01911a1b71765c6cb7a7e4812a61f2235 · Keenan Nemetz · 17d ago · parent 86ced8c5

Name only the runtime on the environment card

The environment note repeated the image name, its digest, and the network beside
the platform value. A reader scanning the row wants the container runtime; the
rest buried it. Keep "via podman" and leave the image and network to the run
itself.

server/web/runs_template_test.go +7

@@ -244,6 +244,7 @@ func TestFinishedRunUsesStepAccordion(t *testing.T) {
244 244 ID: "r", Repo: "demo", Job: "verify", JobName: "verify",
245 245 Workflow: "verify.yaml", WorkflowName: "verify", Branch: "main",
246 246 Status: runs.StatusFailed, Attempts: 1, Created: now, Started: now, Finished: now.Add(3 * time.Second),
247 OS: "linux", Arch: "amd64", Image: "verify", Runtime: "podman", Network: "bridge",
247 248 }
248 249 page := map[string]any{
249 250 "Page": Page{RepoName: "demo"}, "Name": "demo",
@@ -259,6 +260,12 @@ func TestFinishedRunUsesStepAccordion(t *testing.T) {
259 260 t.Fatalf("run template: %v", err)
260 261 }
261 262 body := out.String()
263 if !strings.Contains(body, "via podman") {
264 t.Errorf("the environment card does not name the runtime:\n%s", body)
265 }
266 if strings.Contains(body, "network bridge") {
267 t.Errorf("the environment card still names the network:\n%s", body)
268 }
262 269 for _, want := range []string{
263 270 `class="run-log run-step-log"`,
264 271 `hx-target="find pre"`,