Checkpointing work plugging projects through to the home page
This commit is contained in:
parent
f7a3dc3e8d
commit
641c774788
@ -2,8 +2,20 @@
|
||||
agents:
|
||||
'local':
|
||||
url: 'http://localhost:9000'
|
||||
'Duplicate Local':
|
||||
url: 'http://localhost:9000'
|
||||
projects:
|
||||
'janky':
|
||||
description: |
|
||||
Self-hosted Janky project
|
||||
filename: 'ci.janky.yml'
|
||||
scm:
|
||||
github:
|
||||
owner: 'rtyler'
|
||||
repo: 'janky'
|
||||
ref: 'main'
|
||||
'janky with spaces':
|
||||
description: A test configuration with spaces in the name
|
||||
filename: 'ci.janky.yml'
|
||||
scm:
|
||||
github:
|
||||
|
@ -80,9 +80,10 @@ enum Scm {
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
struct Project {
|
||||
description: String,
|
||||
filename: String,
|
||||
#[serde(with = "serde_yaml::with::singleton_map")]
|
||||
scm: Scm,
|
||||
filename: String,
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -49,7 +49,7 @@
|
||||
<a class="text-reset" href="/projects/{{@key}}"><strong>{{@key}}</strong></a>
|
||||
</td>
|
||||
<td>
|
||||
No Description
|
||||
{{this.description}}
|
||||
</td>
|
||||
<td>
|
||||
<form method="POST" action="/api/v1/projects/{{@key}}">
|
||||
|
Loading…
Reference in New Issue
Block a user