forked from M-Labs/nix-scripts
nixbld: publish conda channel on WWW
This commit is contained in:
parent
b6b0080649
commit
f51d24ac2e
@ -149,6 +149,10 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
||||
job = artiq:full:artiq-manual-latexpdf
|
||||
command = ln -sf $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/artiq-manual-latexpdf-beta
|
||||
</runcommand>
|
||||
<runcommand>
|
||||
job = artiq:full:conda-channel
|
||||
command = ln -sf $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/conda-channel
|
||||
</runcommand>
|
||||
'';
|
||||
};
|
||||
systemd.services.hydra-www-outputs-init = {
|
||||
@ -267,6 +271,15 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
||||
add_header last-modified "";
|
||||
'';
|
||||
};
|
||||
locations."/artiq/conda" = {
|
||||
alias = "${hydraWwwOutputs}/conda-channel";
|
||||
extraConfig = ''
|
||||
etag off;
|
||||
if_modified_since off;
|
||||
add_header last-modified "";
|
||||
autoindex on;
|
||||
'';
|
||||
};
|
||||
};
|
||||
"www.m-labs.hk" = {
|
||||
addSSL = true;
|
||||
|
Loading…
Reference in New Issue
Block a user