1
0
Fork 0

hydra: configure githubstatus plugin

Part of M-Labs/nix-scripts#32
This commit is contained in:
Astro 2020-09-02 19:53:33 +02:00
parent e3690e50f0
commit 8ad847c7fa
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 = {