From ed9746f3f473c6e8456ff98f0e685482aa2872df Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 17 Feb 2021 16:09:20 +0800 Subject: [PATCH] nixbld: set up artiq-legacy --- nixbld-etc-nixos/configuration.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index c963e4bb..4e49e316 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -324,6 +324,20 @@ in command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/artiq-conda-channel + + job = artiq:full-legacy:artiq-manual-html + command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/artiq-manual-html-legacy + + + job = artiq:full-legacy:artiq-manual-latexpdf + command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/artiq-manual-latexpdf-legacy + + + job = artiq:full-legacy:conda-channel + command = [ $(jq '.buildStatus' < $HYDRA_JSON) = 0 ] && ln -sfn $(jq -r '.outputs[0].path' < $HYDRA_JSON) ${hydraWwwOutputs}/artiq-conda-channel-legacy + + + jobs = artiq:fast.*:extended-tests inputs = artiqSrc @@ -521,6 +535,12 @@ in locations."=/artiq/manual.pdf" = { alias = "${hydraWwwOutputs}/artiq-manual-latexpdf/share/doc/artiq-manual/ARTIQ.pdf"; }; + locations."/artiq/manual-legacy/" = { + alias = "${hydraWwwOutputs}/artiq-manual-html-legacy/share/doc/artiq-manual/html/"; + }; + locations."=/artiq/manual-legacy.pdf" = { + alias = "${hydraWwwOutputs}/artiq-manual-latexpdf-legacy/share/doc/artiq-manual/ARTIQ.pdf"; + }; # legacy content locations."/migen/manual/" = { @@ -570,6 +590,13 @@ in index bogus_index_file; ''; }; + locations."/artiq-legacy/" = { + alias = "${hydraWwwOutputs}/artiq-conda-channel-legacy/"; + extraConfig = '' + autoindex on; + index bogus_index_file; + ''; + }; }; "git.m-labs.hk" = { forceSSL = true;