BlueGit

timfa bluegit

feat: noem de ingebouwde runner Steve

runner.name in config.yml bepaalt de naam, standaard Steve. De jobpagina,
de pipelinedetails en de kop van het joblog tonen die naam.

Co-authored-by: tim <tim@timfalken.com>

timfa project_87923614_bot_3aff574f6f98414b945a8799374f9092 · pushed by timfa

Authored 2026-10-22 · 3 weeks ago

Hash
f32ad8a5e0c5b80d04400d970554e41424a49c8c
Parent
5fec96f0
Pipeline
Failed
9 files changed +68 −13
docs/CI.md +1 −1
@@ -80,7 +80,7 @@ Een merge-request-pipeline start bij het openen van de merge request, bij elke p
80 80
81 81 ## Bewust niet
82 82
83 `pages`, `spec`, een include van een ander project of van een URL, trigger- en child-pipelines, `coverage`, `id_tokens`, `inherit` en `hooks`. Die sleutels geven een waarschuwing in de editor en houden de rest van het bestand niet tegen. Er is één runner, in het BlueGit-proces, die Docker op dezelfde host aanroept. `tags` kiezen die runner niet. `services` delen één netwerk met de job; er is geen healthcheck verder dan een gestarte container.
83 `pages`, `spec`, een include van een ander project of van een URL, trigger- en child-pipelines, `coverage`, `id_tokens`, `inherit` en `hooks`. Die sleutels geven een waarschuwing in de editor en houden de rest van het bestand niet tegen. Er is één runner, in het BlueGit-proces, die Docker op dezelfde host aanroept. Zijn naam is `runner.name` in de configuratie, standaard Steve. Die naam staat bij de runner op de jobpagina, op de pipelinedetails en boven het joblog. `tags` kiezen die runner niet. `services` delen één netwerk met de job; er is geen healthcheck verder dan een gestarte container.
84 84
85 85 ## Editor
86 86
@@ -80,7 +80,7 @@ Een merge-request-pipeline start bij het openen van de merge request, bij elke p
80
80
81## Bewust niet
81## Bewust niet
82
82
83`pages`, `spec`, een include van een ander project of van een URL, trigger- en child-pipelines, `coverage`, `id_tokens`, `inherit` en `hooks`. Die sleutels geven een waarschuwing in de editor en houden de rest van het bestand niet tegen. Er is één runner, in het BlueGit-proces, die Docker op dezelfde host aanroept. `tags` kiezen die runner niet. `services` delen één netwerk met de job; er is geen healthcheck verder dan een gestarte container.
83`pages`, `spec`, een include van een ander project of van een URL, trigger- en child-pipelines, `coverage`, `id_tokens`, `inherit` en `hooks`. Die sleutels geven een waarschuwing in de editor en houden de rest van het bestand niet tegen. Er is één runner, in het BlueGit-proces, die Docker op dezelfde host aanroept. Zijn naam is `runner.name` in de configuratie, standaard Steve. Die naam staat bij de runner op de jobpagina, op de pipelinedetails en boven het joblog. `tags` kiezen die runner niet. `services` delen één netwerk met de job; er is geen healthcheck verder dan een gestarte container.
84
84
85## Editor
85## Editor
86
86
internal/config/config.go +19 −5
@@ -26,11 +26,12 @@ type Config struct {
26 26 TrustedProxies []string `yaml:"trusted_proxies"`
27 27 // BehindProxy is het oude veld. Het wordt geweigerd: één boolean
28 28 // vertrouwt ofwel iedereen, ofwel niemand. De lijst hierboven beslist.
29 BehindProxy bool `yaml:"behind_proxy"`
30 Auth Auth `yaml:"auth"`
31 Git Git `yaml:"git"`
32 SSH SSH `yaml:"ssh"`
33 CI CI `yaml:"ci"`
29 BehindProxy bool `yaml:"behind_proxy"`
30 Auth Auth `yaml:"auth"`
31 Git Git `yaml:"git"`
32 SSH SSH `yaml:"ssh"`
33 Runner Runner `yaml:"runner"`
34 CI CI `yaml:"ci"`
34 35
35 36 proxies *realip.Set
36 37 }
@@ -65,6 +66,11 @@ type SSH struct {
65 66 PublicPort int `yaml:"public_port"`
66 67 }
67 68
69 // Runner is de ingebouwde Docker-runner.
70 type Runner struct {
71 Name string `yaml:"name"`
72 }
73
68 74 // CI stuurt de Docker-runner.
69 75 type CI struct {
70 76 Enabled bool `yaml:"enabled"`
@@ -156,6 +162,11 @@ func (c *Config) applyDefaults() {
156 162 if c.CI.TimeoutSec <= 0 {
157 163 c.CI.TimeoutSec = 1800
158 164 }
165 if strings.TrimSpace(c.Runner.Name) == "" {
166 c.Runner.Name = "Steve"
167 } else {
168 c.Runner.Name = strings.TrimSpace(c.Runner.Name)
169 }
159 170 c.Auth.BaseURL = strings.TrimRight(c.Auth.BaseURL, "/")
160 171 c.BaseURL = strings.TrimRight(c.BaseURL, "/")
161 172 }
@@ -301,6 +312,9 @@ ssh:
301 312 public_host: git.timfalken.com
302 313 public_port: 22
303 314
315 runner:
316 name: Steve
317
304 318 ci:
305 319 enabled: true
306 320 docker_binary: docker
@@ -26,11 +26,12 @@ type Config struct {
26 TrustedProxies []string `yaml:"trusted_proxies"`
26 TrustedProxies []string `yaml:"trusted_proxies"`
27 // BehindProxy is het oude veld. Het wordt geweigerd: één boolean
27 // BehindProxy is het oude veld. Het wordt geweigerd: één boolean
28 // vertrouwt ofwel iedereen, ofwel niemand. De lijst hierboven beslist.
28 // vertrouwt ofwel iedereen, ofwel niemand. De lijst hierboven beslist.
29 BehindProxy bool `yaml:"behind_proxy"`
29 BehindProxy bool `yaml:"behind_proxy"`
30 Auth Auth `yaml:"auth"`
30 Auth Auth `yaml:"auth"`
31 Git Git `yaml:"git"`
31 Git Git `yaml:"git"`
32 SSH SSH `yaml:"ssh"`
32 SSH SSH `yaml:"ssh"`
33 CI CI `yaml:"ci"`
33 Runner Runner `yaml:"runner"`
34 CI CI `yaml:"ci"`
34
35
35 proxies *realip.Set
36 proxies *realip.Set
36}
37}
@@ -65,6 +66,11 @@ type SSH struct {
65 PublicPort int `yaml:"public_port"`
66 PublicPort int `yaml:"public_port"`
66}
67}
67
68
69// Runner is de ingebouwde Docker-runner.
70type Runner struct {
71 Name string `yaml:"name"`
72}
73
68// CI stuurt de Docker-runner.
74// CI stuurt de Docker-runner.
69type CI struct {
75type CI struct {
70 Enabled bool `yaml:"enabled"`
76 Enabled bool `yaml:"enabled"`
@@ -156,6 +162,11 @@ func (c *Config) applyDefaults() {
156 if c.CI.TimeoutSec <= 0 {
162 if c.CI.TimeoutSec <= 0 {
157 c.CI.TimeoutSec = 1800
163 c.CI.TimeoutSec = 1800
158 }
164 }
165 if strings.TrimSpace(c.Runner.Name) == "" {
166 c.Runner.Name = "Steve"
167 } else {
168 c.Runner.Name = strings.TrimSpace(c.Runner.Name)
169 }
159 c.Auth.BaseURL = strings.TrimRight(c.Auth.BaseURL, "/")
170 c.Auth.BaseURL = strings.TrimRight(c.Auth.BaseURL, "/")
160 c.BaseURL = strings.TrimRight(c.BaseURL, "/")
171 c.BaseURL = strings.TrimRight(c.BaseURL, "/")
161}
172}
@@ -301,6 +312,9 @@ ssh:
301 public_host: git.timfalken.com
312 public_host: git.timfalken.com
302 public_port: 22
313 public_port: 22
303
314
315runner:
316 name: Steve
317
304ci:
318ci:
305 enabled: true
319 enabled: true
306 docker_binary: docker
320 docker_binary: docker
internal/config/config_test.go +28 −0
@@ -7,6 +7,34 @@ import (
7 7 "testing"
8 8 )
9 9
10 func TestRunnerName(t *testing.T) {
11 dir := t.TempDir()
12 path := filepath.Join(dir, "config.yml")
13 body := []byte("base_url: https://git.example.test\nauth:\n mode: oauth\n client_id: git.example.test\n")
14 if err := os.WriteFile(path, body, 0o600); err != nil {
15 t.Fatal(err)
16 }
17 t.Setenv("BLUEGIT_AUTH_CLIENT_SECRET", "geheim")
18 cfg, err := Load(path)
19 if err != nil {
20 t.Fatal(err)
21 }
22 if cfg.Runner.Name != "Steve" {
23 t.Fatalf("standaard %q", cfg.Runner.Name)
24 }
25 body = []byte("base_url: https://git.example.test\nrunner:\n name: \" Ada \"\nauth:\n mode: oauth\n client_id: git.example.test\n")
26 if err := os.WriteFile(path, body, 0o600); err != nil {
27 t.Fatal(err)
28 }
29 cfg, err = Load(path)
30 if err != nil {
31 t.Fatal(err)
32 }
33 if cfg.Runner.Name != "Ada" {
34 t.Fatalf("naam %q", cfg.Runner.Name)
35 }
36 }
37
10 38 func TestStoragePathOptional(t *testing.T) {
11 39 dir := t.TempDir()
12 40 path := filepath.Join(dir, "config.yml")
@@ -7,6 +7,34 @@ import (
7 "testing"
7 "testing"
8)
8)
9
9
10func TestRunnerName(t *testing.T) {
11 dir := t.TempDir()
12 path := filepath.Join(dir, "config.yml")
13 body := []byte("base_url: https://git.example.test\nauth:\n mode: oauth\n client_id: git.example.test\n")
14 if err := os.WriteFile(path, body, 0o600); err != nil {
15 t.Fatal(err)
16 }
17 t.Setenv("BLUEGIT_AUTH_CLIENT_SECRET", "geheim")
18 cfg, err := Load(path)
19 if err != nil {
20 t.Fatal(err)
21 }
22 if cfg.Runner.Name != "Steve" {
23 t.Fatalf("standaard %q", cfg.Runner.Name)
24 }
25 body = []byte("base_url: https://git.example.test\nrunner:\n name: \" Ada \"\nauth:\n mode: oauth\n client_id: git.example.test\n")
26 if err := os.WriteFile(path, body, 0o600); err != nil {
27 t.Fatal(err)
28 }
29 cfg, err = Load(path)
30 if err != nil {
31 t.Fatal(err)
32 }
33 if cfg.Runner.Name != "Ada" {
34 t.Fatalf("naam %q", cfg.Runner.Name)
35 }
36}
37
10func TestStoragePathOptional(t *testing.T) {
38func TestStoragePathOptional(t *testing.T) {
11 dir := t.TempDir()
39 dir := t.TempDir()
12 path := filepath.Join(dir, "config.yml")
40 path := filepath.Join(dir, "config.yml")
internal/i18n/catalog.go +1 −1
@@ -216,7 +216,7 @@ var en = map[string]string{
216 216 "pipe.timeout": "Timeout",
217 217 "pipe.environment": "Environment",
218 218 "pipe.runner": "Runner",
219 "pipe.runnerHere": "bluegit #1",
219 "pipe.runningOn": "Running on %s",
220 220 "pipe.source": "Source",
221 221 "pipe.commit": "Commit",
222 222 "pipe.for": "for",
@@ -216,7 +216,7 @@ var en = map[string]string{
216 "pipe.timeout": "Timeout",
216 "pipe.timeout": "Timeout",
217 "pipe.environment": "Environment",
217 "pipe.environment": "Environment",
218 "pipe.runner": "Runner",
218 "pipe.runner": "Runner",
219 "pipe.runnerHere": "bluegit #1",
219 "pipe.runningOn": "Running on %s",
220 "pipe.source": "Source",
220 "pipe.source": "Source",
221 "pipe.commit": "Commit",
221 "pipe.commit": "Commit",
222 "pipe.for": "for",
222 "pipe.for": "for",
internal/i18n/catalog_lang.go +3 −3
@@ -223,7 +223,7 @@ var nl = map[string]string{
223 223 "pipe.timeout": "Timeout",
224 224 "pipe.environment": "Omgeving",
225 225 "pipe.runner": "Runner",
226 "pipe.runnerHere": "bluegit #1",
226 "pipe.runningOn": "Draait op %s",
227 227 "pipe.source": "Bron",
228 228 "pipe.commit": "Commit",
229 229 "pipe.for": "voor",
@@ -797,7 +797,7 @@ var de = map[string]string{
797 797 "pipe.timeout": "Timeout",
798 798 "pipe.environment": "Umgebung",
799 799 "pipe.runner": "Runner",
800 "pipe.runnerHere": "bluegit #1",
800 "pipe.runningOn": "Läuft auf %s",
801 801 "pipe.source": "Quelle",
802 802 "pipe.commit": "Commit",
803 803 "pipe.for": "für",
@@ -1371,7 +1371,7 @@ var fr = map[string]string{
1371 1371 "pipe.timeout": "Délai",
1372 1372 "pipe.environment": "Environnement",
1373 1373 "pipe.runner": "Runner",
1374 "pipe.runnerHere": "bluegit #1",
1374 "pipe.runningOn": "S'exécute sur %s",
1375 1375 "pipe.source": "Source",
1376 1376 "pipe.commit": "Commit",
1377 1377 "pipe.for": "pour",
@@ -223,7 +223,7 @@ var nl = map[string]string{
223 "pipe.timeout": "Timeout",
223 "pipe.timeout": "Timeout",
224 "pipe.environment": "Omgeving",
224 "pipe.environment": "Omgeving",
225 "pipe.runner": "Runner",
225 "pipe.runner": "Runner",
226 "pipe.runnerHere": "bluegit #1",
226 "pipe.runningOn": "Draait op %s",
227 "pipe.source": "Bron",
227 "pipe.source": "Bron",
228 "pipe.commit": "Commit",
228 "pipe.commit": "Commit",
229 "pipe.for": "voor",
229 "pipe.for": "voor",
@@ -797,7 +797,7 @@ var de = map[string]string{
797 "pipe.timeout": "Timeout",
797 "pipe.timeout": "Timeout",
798 "pipe.environment": "Umgebung",
798 "pipe.environment": "Umgebung",
799 "pipe.runner": "Runner",
799 "pipe.runner": "Runner",
800 "pipe.runnerHere": "bluegit #1",
800 "pipe.runningOn": "Läuft auf %s",
801 "pipe.source": "Quelle",
801 "pipe.source": "Quelle",
802 "pipe.commit": "Commit",
802 "pipe.commit": "Commit",
803 "pipe.for": "für",
803 "pipe.for": "für",
@@ -1371,7 +1371,7 @@ var fr = map[string]string{
1371 "pipe.timeout": "Délai",
1371 "pipe.timeout": "Délai",
1372 "pipe.environment": "Environnement",
1372 "pipe.environment": "Environnement",
1373 "pipe.runner": "Runner",
1373 "pipe.runner": "Runner",
1374 "pipe.runnerHere": "bluegit #1",
1374 "pipe.runningOn": "S'exécute sur %s",
1375 "pipe.source": "Source",
1375 "pipe.source": "Source",
1376 "pipe.commit": "Commit",
1376 "pipe.commit": "Commit",
1377 "pipe.for": "pour",
1377 "pipe.for": "pour",
internal/server/pipeline_page_test.go +4 −1
@@ -165,6 +165,9 @@ func TestPipelinePages(t *testing.T) {
165 165 if !strings.HasSuffix(res.Request.URL.Path, "/pipelines/"+strconv.FormatInt(failID, 10)) {
166 166 t.Fatalf("show-id ging naar %s", res.Request.URL.Path)
167 167 }
168 if detail := read(t, res); !strings.Contains(detail, "Running on Steve") {
169 t.Fatalf("pipelinedetails:\n%s", detail)
170 }
168 171
169 172 jobURL := ts.URL + "/tim/demo/-/pipelines/" + strconv.FormatInt(failID, 10) + "/jobs/" + strconv.FormatInt(buildID, 10)
170 173 res, err = client.Get(jobURL)
@@ -174,7 +177,7 @@ func TestPipelinePages(t *testing.T) {
174 177 jobPage := read(t, res)
175 178 for _, want := range []string{
176 179 "Running script", "hello from the job", "00:08",
177 "Log timestamps in UTC.", "Related jobs", "bluegit #1", "Push",
180 "Running on Steve", "Log timestamps in UTC.", "Related jobs", ">Steve<", "Push",
178 181 `data-stage="deploy" hidden`, `value="test" selected`,
179 182 "for", "v0.0.26",
180 183 } {
@@ -165,6 +165,9 @@ func TestPipelinePages(t *testing.T) {
165 if !strings.HasSuffix(res.Request.URL.Path, "/pipelines/"+strconv.FormatInt(failID, 10)) {
165 if !strings.HasSuffix(res.Request.URL.Path, "/pipelines/"+strconv.FormatInt(failID, 10)) {
166 t.Fatalf("show-id ging naar %s", res.Request.URL.Path)
166 t.Fatalf("show-id ging naar %s", res.Request.URL.Path)
167 }
167 }
168 if detail := read(t, res); !strings.Contains(detail, "Running on Steve") {
169 t.Fatalf("pipelinedetails:\n%s", detail)
170 }
168
171
169 jobURL := ts.URL + "/tim/demo/-/pipelines/" + strconv.FormatInt(failID, 10) + "/jobs/" + strconv.FormatInt(buildID, 10)
172 jobURL := ts.URL + "/tim/demo/-/pipelines/" + strconv.FormatInt(failID, 10) + "/jobs/" + strconv.FormatInt(buildID, 10)
170 res, err = client.Get(jobURL)
173 res, err = client.Get(jobURL)
@@ -174,7 +177,7 @@ func TestPipelinePages(t *testing.T) {
174 jobPage := read(t, res)
177 jobPage := read(t, res)
175 for _, want := range []string{
178 for _, want := range []string{
176 "Running script", "hello from the job", "00:08",
179 "Running script", "hello from the job", "00:08",
177 "Log timestamps in UTC.", "Related jobs", "bluegit #1", "Push",
180 "Running on Steve", "Log timestamps in UTC.", "Related jobs", ">Steve<", "Push",
178 `data-stage="deploy" hidden`, `value="test" selected`,
181 `data-stage="deploy" hidden`, `value="test" selected`,
179 "for", "v0.0.26",
182 "for", "v0.0.26",
180 } {
183 } {
internal/server/server.go +6 −1
@@ -369,8 +369,12 @@ func (s *Server) view(w http.ResponseWriter, r *http.Request, title string) View
369 369 if strings.HasPrefix(title, "title.") {
370 370 title = i18n.T(lang, title)
371 371 }
372 name := strings.TrimSpace(s.Cfg.Runner.Name)
373 if name == "" {
374 name = "Steve"
375 }
372 376 v := View{
373 Title: title, BaseURL: s.Cfg.BaseURL, Notice: notice, Err: problem,
377 Title: title, BaseURL: s.Cfg.BaseURL, RunnerName: name, Notice: notice, Err: problem,
374 378 StorageUnset: s.StoragePath() == "", Lang: string(lang), HTMLLang: htmlLang(lang),
375 379 Cunei: lang == i18n.Cuneiform,
376 380 }
@@ -421,6 +425,7 @@ func randomState() (string, error) {
421 425 type View struct {
422 426 Title string
423 427 BaseURL string
428 RunnerName string
424 429 User *store.User
425 430 CSRF string
426 431 Notice string
@@ -369,8 +369,12 @@ func (s *Server) view(w http.ResponseWriter, r *http.Request, title string) View
369 if strings.HasPrefix(title, "title.") {
369 if strings.HasPrefix(title, "title.") {
370 title = i18n.T(lang, title)
370 title = i18n.T(lang, title)
371 }
371 }
372 name := strings.TrimSpace(s.Cfg.Runner.Name)
373 if name == "" {
374 name = "Steve"
375 }
372 v := View{
376 v := View{
373 Title: title, BaseURL: s.Cfg.BaseURL, Notice: notice, Err: problem,
377 Title: title, BaseURL: s.Cfg.BaseURL, RunnerName: name, Notice: notice, Err: problem,
374 StorageUnset: s.StoragePath() == "", Lang: string(lang), HTMLLang: htmlLang(lang),
378 StorageUnset: s.StoragePath() == "", Lang: string(lang), HTMLLang: htmlLang(lang),
375 Cunei: lang == i18n.Cuneiform,
379 Cunei: lang == i18n.Cuneiform,
376 }
380 }
@@ -421,6 +425,7 @@ func randomState() (string, error) {
421type View struct {
425type View struct {
422 Title string
426 Title string
423 BaseURL string
427 BaseURL string
428 RunnerName string
424 User *store.User
429 User *store.User
425 CSRF string
430 CSRF string
426 Notice string
431 Notice string
internal/server/templates/collab.html +3 −1
@@ -239,6 +239,7 @@
239 239 {{template "repotabs" .}}
240 240 {{template "pipenav" .}}
241 241 <p><span class="pill">{{.Pipe.Status}}</span> {{.Pipe.Ref}} <a href="/{{.Repo.FullPath}}/-/commit/{{.Pipe.CommitSHA}}"><code>{{.Pipe.CommitSHA}}</code></a></p>
242 <p class="muted">{{t "pipe.runningOn" .RunnerName}}</p>
242 243 <ul class="clean">
243 244 {{range .Jobs}}<li><a href="/{{$.Repo.FullPath}}/-/pipelines/{{$.Pipe.ID}}/jobs/{{.ID}}">{{.Name}}</a> <span class="pill">{{.Status}}</span> <span class="muted">{{.Stage}}</span></li>{{end}}
244 245 </ul>
@@ -273,6 +274,7 @@
273 274 </div>
274 275 </div>
275 276 <div class="console" data-log>
277 <p class="lognote">{{t "pipe.runningOn" $.RunnerName}}</p>
276 278 <p class="lognote">{{t "pipe.utc"}}</p>
277 279 {{range .Blocks}}{{if .Section}}
278 280 <section class="logsec{{if .Open}} open{{end}}">
@@ -292,7 +294,7 @@
292 294 <dt>{{t "pipe.queued"}}</dt><dd>{{if .Queued}}{{.Queued}}{{else}}—{{end}}</dd>
293 295 <dt>{{t "pipe.timeout"}}</dt><dd>{{.Timeout}}</dd>
294 296 {{if .Environment}}<dt>{{t "pipe.environment"}}</dt><dd>{{.Environment}}{{if .EnvironmentLink}} <a href="{{.EnvironmentLink}}">{{.EnvironmentURL}}</a>{{else if .EnvironmentURL}} {{.EnvironmentURL}}{{end}}</dd>{{end}}
295 <dt>{{t "pipe.runner"}}</dt><dd>{{t "pipe.runnerHere"}}</dd>
297 <dt>{{t "pipe.runner"}}</dt><dd>{{$.RunnerName}}</dd>
296 298 <dt>{{t "pipe.source"}}</dt><dd>{{.Source}}</dd>
297 299 <dt>{{t "pipe.commit"}}</dt><dd><code>{{.Short}}</code> <button type="button" class="iconbtn" data-copy="{{.Pipe.CommitSHA}}" aria-label="{{t "action.copy"}}">{{t "action.copy"}}</button>{{if .Title}}<div>{{.Title}}</div>{{end}}</dd>
298 300 <dt>{{t "pipe.one"}}</dt><dd><a href="/{{$.Repo.FullPath}}/-/pipelines/{{.Pipe.ID}}">#{{.Pipe.ID}}</a> <span class="status {{.PipeStatus}}"><span class="mark"></span>{{.PipeLabel}}</span> <span class="muted">{{t "pipe.for"}} {{.Ref}}</span></dd>
@@ -239,6 +239,7 @@
239{{template "repotabs" .}}
239{{template "repotabs" .}}
240{{template "pipenav" .}}
240{{template "pipenav" .}}
241<p><span class="pill">{{.Pipe.Status}}</span> {{.Pipe.Ref}} <a href="/{{.Repo.FullPath}}/-/commit/{{.Pipe.CommitSHA}}"><code>{{.Pipe.CommitSHA}}</code></a></p>
241<p><span class="pill">{{.Pipe.Status}}</span> {{.Pipe.Ref}} <a href="/{{.Repo.FullPath}}/-/commit/{{.Pipe.CommitSHA}}"><code>{{.Pipe.CommitSHA}}</code></a></p>
242<p class="muted">{{t "pipe.runningOn" .RunnerName}}</p>
242<ul class="clean">
243<ul class="clean">
243{{range .Jobs}}<li><a href="/{{$.Repo.FullPath}}/-/pipelines/{{$.Pipe.ID}}/jobs/{{.ID}}">{{.Name}}</a> <span class="pill">{{.Status}}</span> <span class="muted">{{.Stage}}</span></li>{{end}}
244{{range .Jobs}}<li><a href="/{{$.Repo.FullPath}}/-/pipelines/{{$.Pipe.ID}}/jobs/{{.ID}}">{{.Name}}</a> <span class="pill">{{.Status}}</span> <span class="muted">{{.Stage}}</span></li>{{end}}
244</ul>
245</ul>
@@ -273,6 +274,7 @@
273 </div>
274 </div>
274 </div>
275 </div>
275 <div class="console" data-log>
276 <div class="console" data-log>
277 <p class="lognote">{{t "pipe.runningOn" $.RunnerName}}</p>
276 <p class="lognote">{{t "pipe.utc"}}</p>
278 <p class="lognote">{{t "pipe.utc"}}</p>
277 {{range .Blocks}}{{if .Section}}
279 {{range .Blocks}}{{if .Section}}
278 <section class="logsec{{if .Open}} open{{end}}">
280 <section class="logsec{{if .Open}} open{{end}}">
@@ -292,7 +294,7 @@
292 <dt>{{t "pipe.queued"}}</dt><dd>{{if .Queued}}{{.Queued}}{{else}}—{{end}}</dd>
294 <dt>{{t "pipe.queued"}}</dt><dd>{{if .Queued}}{{.Queued}}{{else}}—{{end}}</dd>
293 <dt>{{t "pipe.timeout"}}</dt><dd>{{.Timeout}}</dd>
295 <dt>{{t "pipe.timeout"}}</dt><dd>{{.Timeout}}</dd>
294 {{if .Environment}}<dt>{{t "pipe.environment"}}</dt><dd>{{.Environment}}{{if .EnvironmentLink}} <a href="{{.EnvironmentLink}}">{{.EnvironmentURL}}</a>{{else if .EnvironmentURL}} {{.EnvironmentURL}}{{end}}</dd>{{end}}
296 {{if .Environment}}<dt>{{t "pipe.environment"}}</dt><dd>{{.Environment}}{{if .EnvironmentLink}} <a href="{{.EnvironmentLink}}">{{.EnvironmentURL}}</a>{{else if .EnvironmentURL}} {{.EnvironmentURL}}{{end}}</dd>{{end}}
295 <dt>{{t "pipe.runner"}}</dt><dd>{{t "pipe.runnerHere"}}</dd>
297 <dt>{{t "pipe.runner"}}</dt><dd>{{$.RunnerName}}</dd>
296 <dt>{{t "pipe.source"}}</dt><dd>{{.Source}}</dd>
298 <dt>{{t "pipe.source"}}</dt><dd>{{.Source}}</dd>
297 <dt>{{t "pipe.commit"}}</dt><dd><code>{{.Short}}</code> <button type="button" class="iconbtn" data-copy="{{.Pipe.CommitSHA}}" aria-label="{{t "action.copy"}}">{{t "action.copy"}}</button>{{if .Title}}<div>{{.Title}}</div>{{end}}</dd>
299 <dt>{{t "pipe.commit"}}</dt><dd><code>{{.Short}}</code> <button type="button" class="iconbtn" data-copy="{{.Pipe.CommitSHA}}" aria-label="{{t "action.copy"}}">{{t "action.copy"}}</button>{{if .Title}}<div>{{.Title}}</div>{{end}}</dd>
298 <dt>{{t "pipe.one"}}</dt><dd><a href="/{{$.Repo.FullPath}}/-/pipelines/{{.Pipe.ID}}">#{{.Pipe.ID}}</a> <span class="status {{.PipeStatus}}"><span class="mark"></span>{{.PipeLabel}}</span> <span class="muted">{{t "pipe.for"}} {{.Ref}}</span></dd>
300 <dt>{{t "pipe.one"}}</dt><dd><a href="/{{$.Repo.FullPath}}/-/pipelines/{{.Pipe.ID}}">#{{.Pipe.ID}}</a> <span class="status {{.PipeStatus}}"><span class="mark"></span>{{.PipeLabel}}</span> <span class="muted">{{t "pipe.for"}} {{.Ref}}</span></dd>
packaging/bluegit.yml +3 −0
@@ -33,6 +33,9 @@ ssh:
33 33 public_host: git.timfalken.com
34 34 public_port: 22
35 35
36 runner:
37 name: Steve
38
36 39 ci:
37 40 enabled: true
38 41 docker_binary: docker
@@ -33,6 +33,9 @@ ssh:
33 public_host: git.timfalken.com
33 public_host: git.timfalken.com
34 public_port: 22
34 public_port: 22
35
35
36runner:
37 name: Steve
38
36ci:
39ci:
37 enabled: true
40 enabled: true
38 docker_binary: docker
41 docker_binary: docker