hydra-api: update Project and Jobset examples with the new schema

For future reference, this was generated by sending the request and piping it to
`yq -y` so that it would spit out YAML.
This commit is contained in:
Cole Helbling 2021-04-27 23:06:45 -07:00
parent bcd3bbb680
commit 42ef3b7b72
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C

View file

@ -935,49 +935,72 @@ components:
examples: examples:
projects-success: projects-success:
value: value:
- enabled: 1 - displayname: Foo Bar
name: example-hello description: Foo Bar Baz Qux
hidden: 0 enabled: true
description: hello owner: alice
owner: hydra-user
jobsets: jobsets:
- hello - bar-jobset
displayname: example-hello hidden: false
- displayname: foo homepage: https://example.com/
jobsets: name: foobar
- foobar - jobsets:
owner: hydra-user - test-jobset
name: foo hidden: false
enabled: 1 name: hello
description: foo project homepage: https://example.com/
hidden: 0 description: Hi There
displayname: Hello
enabled: true
owner: alice
project-success: project-success:
value: value:
name: foo
enabled: 1
hidden: 0
description: foo project
displayname: foo
owner: gilligan
jobsets: jobsets:
- foobar - bar-jobset
homepage: https://example.com/
name: foobar
hidden: false
enabled: true
displayname: Foo Bar
description: Foo Bar Baz Qux
owner: alice
jobset-success: jobset-success:
value: value:
nixexprpath: examples/hello.nix triggertime: null
enabled: 1 enableemail: false
jobsetinputs: jobsetinputs:
hydra:
jobsetinputalts:
- 'https://github.com/gilligan/hydra extend-readme'
nixpkgs: nixpkgs:
type: git
name: nixpkgs
emailresponsible: false
jobsetinputalts: jobsetinputalts:
- 'https://github.com/nixos/nixpkgs-channels nixos-20.03' - https://github.com/NixOS/nixpkgs.git
officialRelease:
jobsetinputalts:
- 'false'
emailresponsible: false
name: officialRelease
type: boolean
fetcherrormsg: ''
hidden: false
schedulingshares: 1
emailoverride: '' emailoverride: ''
starttime: null
description: ''
errormsg: '' errormsg: ''
nixexprinput: hydra lastcheckedtime: null
fetcherrormsg: null nixexprinput: nixpkgs
checkinterval: 0
project: foobar
flake: ''
type: 0
enabled: 1
name: bar-jobset
keepnr: 0
nixexprpath: pkgs/top-level/release.nix
errortime: null
evals-success: evals-success:
value: value: