aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-10-14 12:44:40 +0530
committerArun Isaac2022-10-14 12:44:40 +0530
commiteb400f47c398be588daff2a27a1ecb243c6e9e93 (patch)
treec7413f01c55d9b501d6431e8e0807b2745a27f63
parent55b53052a47373c9514493857c0cc3d895c12c7b (diff)
downloadgn-machines-eb400f47c398be588daff2a27a1ecb243c6e9e93.tar.gz
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.
-rw-r--r--genenetwork-development.scm7
1 files changed, 5 insertions, 2 deletions
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