From eb400f47c398be588daff2a27a1ecb243c6e9e93 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 14 Oct 2022 12:44:40 +0530 Subject: Trigger genenetwork2 tests after genenetwork3 tests. Since genenetwork2 depends on genenetwork3, updates to genenetwork3 should trigger the genenetwork2 tests. * genenetwork-development.scm (genenetwork3-project): Trigger genenetwork2 tests after genenetwork3 tests. --- genenetwork-development.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'genenetwork-development.scm') diff --git a/genenetwork-development.scm b/genenetwork-development.scm index c975e70..6148ad6 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -409,7 +409,8 @@ command to be executed." this-forge-laminar-job genenetwork3-unit-tests #:guix-daemon-uri %guix-daemon-uri)) - ;; If unit tests pass, redeploy genenetwork3. + ;; If unit tests pass, redeploy genenetwork3 and + ;; trigger genenetwork2 tests. (after #~(begin (use-modules (guix build utils)) #$(development-server-redeploy config) @@ -421,7 +422,9 @@ command to be executed." ;; Setuid Programs". (invoke "/run/setuid-programs/sudo" #$(file-append shepherd "/bin/herd") - "restart" "genenetwork3"))))) + "restart" "genenetwork3") + (invoke #$(file-append shepherd "/bin/herd") + "queue" "genenetwork2"))))) (forge-laminar-job (name "genenetwork3-pylint") (run (derivation-job-gexp -- cgit v1.2.3