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/requests.html +4−4

@@ -231,9 +231,9 @@
231 231 <a class="side-run" href="/r/{{$.Name}}/runs/{{.ID}}">
232 232 <span class="side-run-top">
233 233 <span class="status {{.Status}}">{{.Status}}</span>
234 <span class="side-subject">{{.Job}}</span>
234 <span class="side-subject">{{.JobTitle}}</span>
235 235 </span>
236 <span class="side-meta"><span>{{.Workflow}}</span><span>{{if not .Started.IsZero}}{{duration .Duration}}{{else}}{{duration .Wait}} queued{{end}}</span><span>{{since .Created.Unix}}</span></span>
236 <span class="side-meta"><span>{{.WorkflowTitle}}</span><span>{{if not .Started.IsZero}}{{duration .Duration}}{{else}}{{duration .Wait}} queued{{end}}</span><span>{{since .Created.Unix}}</span></span>
237 237 </a>
238 238 {{end}}
239 239 </div>
@@ -262,9 +262,9 @@
262 262 <a class="side-run" href="/r/{{$.Name}}/runs/{{.ID}}">
263 263 <span class="side-run-top">
264 264 <span class="status {{.Status}}">{{.Status}}</span>
265 <span class="side-subject">{{.Job}}</span>
265 <span class="side-subject">{{.JobTitle}}</span>
266 266 </span>
267 <span class="side-meta"><span>{{.Workflow}}</span><span>{{if not .Started.IsZero}}{{duration .Duration}}{{else}}{{duration .Wait}} queued{{end}}</span><span>{{since .Created.Unix}}</span></span>
267 <span class="side-meta"><span>{{.WorkflowTitle}}</span><span>{{if not .Started.IsZero}}{{duration .Duration}}{{else}}{{duration .Wait}} queued{{end}}</span><span>{{since .Created.Unix}}</span></span>
268 268 </a>
269 269 {{end}}
270 270 </div>