From 778dab71a20c5957cc3bb24506914aba607e6775 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Wed, 19 Jan 2022 10:36:54 +0800 Subject: [PATCH] hydra: add thermostat flakes job --- hydra/mcu.json | 13 ++++++++++++- mcu/default.nix | 7 ------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/hydra/mcu.json b/hydra/mcu.json index bc79af7..a140b33 100644 --- a/hydra/mcu.json +++ b/hydra/mcu.json @@ -15,9 +15,20 @@ "mozillaOverlay": { "type": "git", "value": "https://github.com/mozilla/nixpkgs-mozilla.git", "emailresponsible": false }, "nixScripts": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/nix-scripts.git", "emailresponsible": false }, "stabilizerSrc": { "type": "git", "value": "https://github.com/HarryMakes/stabilizer.git pre-mqtt 1", "emailresponsible": false }, - "thermostatSrc": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/thermostat.git", "emailresponsible": false }, "humpbackDdsSrc": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/humpback-dds.git", "emailresponsible": false }, "saymaMmcSrc": { "type": "git", "value": "https://github.com/sinara-hw/openMMC.git sayma-devel", "emailresponsible": false } } + }, + "thermostat": { + "enabled": 1, + "type": 1, + "hidden": false, + "description": "Firmware for the Sinara 8451 Thermostat", + "flake": "git+https://git.m-labs.hk/M-Labs/thermostat.git", + "checkinterval": 300, + "schedulingshares": 10, + "enableemail": false, + "emailoverride": "", + "keepnr": 10 } } diff --git a/mcu/default.nix b/mcu/default.nix index c6e6cbc..ca1c28f 100644 --- a/mcu/default.nix +++ b/mcu/default.nix @@ -77,13 +77,6 @@ in }; } // { - thermostat = buildStm32Firmware { - name = "thermostat"; - src = ; - checkPhase = '' - cargo test --target=${pkgs.rust.toRustTarget pkgs.stdenv.targetPlatform} - ''; - }; humpback-dds = buildStm32Firmware { name = "humpback-dds"; src = ;