nixbld: publish msys2 repos on web

This commit is contained in:
Sebastien Bourdeauducq 2022-04-05 11:14:17 +08:00
parent 7a14264be4
commit 61c008ff43
1 changed files with 12 additions and 1 deletions

View File

@ -382,6 +382,11 @@ in
command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/artiq-conda-channel-archives/$(jq -r '.build' < $HYDRA_JSON) command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/artiq-conda-channel-archives/$(jq -r '.build' < $HYDRA_JSON)
</runcommand> </runcommand>
<runcommand>
job = artiq:artiq-nac3:msys2-repos
command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/msys2
</runcommand>
<githubstatus> <githubstatus>
jobs = artiq:fast.*:extended-tests jobs = artiq:fast.*:extended-tests
@ -608,13 +613,19 @@ in
"m-labs.hk" = mainWebsite; "m-labs.hk" = mainWebsite;
"www.m-labs.hk" = mainWebsite; "www.m-labs.hk" = mainWebsite;
"lab.m-labs.hk" = { "lab.m-labs.hk" = {
addSSL = true; forceSSL = true;
useACMEHost = "nixbld.m-labs.hk"; useACMEHost = "nixbld.m-labs.hk";
locations."/munin/".alias = "/var/www/munin/"; locations."/munin/".alias = "/var/www/munin/";
locations."/munin".extraConfig = '' locations."/munin".extraConfig = ''
auth_basic "Munin"; auth_basic "Munin";
auth_basic_user_file /etc/nixos/secret/muninpasswd; auth_basic_user_file /etc/nixos/secret/muninpasswd;
''; '';
locations."/msys2/" = {
alias = "${hydraWwwOutputs}/msys2/";
extraConfig = ''
autoindex on;
'';
};
}; };
"nixbld.m-labs.hk" = { "nixbld.m-labs.hk" = {
forceSSL = true; forceSSL = true;