nixosTests.nextflow: migrate to runTestOn

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-16 13:47:54 +02:00
parent d3f5b059bb
commit 1cfcbd9a94
No known key found for this signature in database
GPG Key ID: EC0DE1CB9D5258B4
2 changed files with 55 additions and 57 deletions

View File

@ -885,7 +885,7 @@ in
# TODO: put in networking.nix after the test becomes more complete # TODO: put in networking.nix after the test becomes more complete
networkingProxy = handleTest ./networking-proxy.nix { }; networkingProxy = handleTest ./networking-proxy.nix { };
nextcloud = handleTest ./nextcloud { }; nextcloud = handleTest ./nextcloud { };
nextflow = handleTestOn [ "x86_64-linux" ] ./nextflow.nix { }; nextflow = runTestOn [ "x86_64-linux" ] ./nextflow.nix;
nextjs-ollama-llm-ui = runTest ./web-apps/nextjs-ollama-llm-ui.nix; nextjs-ollama-llm-ui = runTest ./web-apps/nextjs-ollama-llm-ui.nix;
nexus = handleTest ./nexus.nix { }; nexus = handleTest ./nexus.nix { };
# TODO: Test nfsv3 + Kerberos # TODO: Test nfsv3 + Kerberos

View File

@ -1,6 +1,5 @@
import ./make-test-python.nix ( { pkgs, ... }:
{ pkgs, ... }: let
let
bash = pkgs.dockerTools.pullImage { bash = pkgs.dockerTools.pullImage {
imageName = "quay.io/nextflow/bash"; imageName = "quay.io/nextflow/bash";
imageDigest = "sha256:bea0e244b7c5367b2b0de687e7d28f692013aa18970941c7dd184450125163ac"; imageDigest = "sha256:bea0e244b7c5367b2b0de687e7d28f692013aa18970941c7dd184450125163ac";
@ -32,8 +31,8 @@ import ./make-test-python.nix (
done done
''; '';
}; };
in in
{ {
name = "nextflow"; name = "nextflow";
nodes.machine = nodes.machine =
@ -56,5 +55,4 @@ import ./make-test-python.nix (
machine.succeed("docker load < ${bash}") machine.succeed("docker load < ${bash}")
machine.succeed("run-nextflow-pipeline >&2") machine.succeed("run-nextflow-pipeline >&2")
''; '';
} }
)