hydra: configure githubstatus plugin #6

Merged
sb10q merged 1 commits from astro/it-infra:hydra-githubstatus into master 2020-09-03 10:40:51 +08:00
1 changed files with 7 additions and 0 deletions

View File

@ -324,6 +324,13 @@ in
job = artiq:full:conda-channel job = artiq:full:conda-channel
command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/artiq-conda-channel command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/artiq-conda-channel
</runcommand> </runcommand>
<githubstatus>
jobs = artiq:fast.*:extended-tests
inputs = artiqSrc
useShortContext = 1
authorization = token ${(import /etc/nixos/secret/github_tokens.nix).artiq}
</githubstatus>
''; '';
}; };
systemd.services.hydra-www-outputs-init = { systemd.services.hydra-www-outputs-init = {