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/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

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

Give workflows and jobs a name and description

1cde8b9ea2ba1483beb90f19cde0f58aede2a661 · Keenan Nemetz · 8d ago · parent 30de4a44

Give workflows and jobs a name and description

The workflows page showed the file path and job IDs, so a reader had to
open the YAML comments to learn what a workflow was for. Add optional
top-level and job-level name and description fields, default them to the
file stem and job ID, pin them with a queued run, and show them on the
workflows and run pages.

Also document what the workflow format still cannot express, and state
that CI jobs are independent and unordered: only a local run uses the
declaration order.

Part of: #138

server/web/templates/run.html +4−2

@@ -3,14 +3,16 @@
3 3 {{template "repohead" (nav .Page "runs")}}
4 4 <div class="page-head">
5 5 <div class="page-head-main">
6 <h1>Run · {{.Run.Job}}</h1>
6 <h1>Run · {{.Run.JobTitle}}</h1>
7 7 <p class="page-sub">
8 8 <span class="status {{.Run.Status}}">{{.Run.Status}}</span>
9 · {{.Run.Workflow}}
9 · {{.Run.WorkflowTitle}}
10 10 · {{if .Run.Tag}}tag {{.Run.Tag}}{{else}}{{.Run.Branch}}{{end}}
11 11 at <a class="sha" href="/r/{{.Name}}/commit/{{.Run.SHA}}">{{short .Run.SHA}}</a>
12 12 · attempt {{.Run.Attempts}}
13 13 </p>
14 {{if .Run.JobDescription}}<p class="page-sub">{{.Run.JobDescription}}</p>{{end}}
15 {{if and .Run.WorkflowDescription (ne .Run.WorkflowDescription .Run.JobDescription)}}<p class="page-sub">{{.Run.WorkflowDescription}}</p>{{end}}
14 16 </div>
15 17 {{if or .CanCancel .CanRerun}}
16 18 <div class="page-head-actions">