about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-06-22 09:52:49 -0500
committerFrederick Muriuki Muriithi2026-06-26 10:14:48 -0500
commit39ee80805619ab694637ede7f53a08aa66734c7d (patch)
tree790c5dfc022e747e994d1208cca935ceffaca161
parenta9cd704059be0c9e75cd16776bb54b6c23279050 (diff)
downloadgn-machines-39ee80805619ab694637ede7f53a08aa66734c7d.tar.gz
Add the "gn-auth-auth-flow-tests" laminar job and queue it.
Add the auth-flow tests as a job for laminar and queue it after the smoke
tests are successfully run.
-rw-r--r--genenetwork-development.scm17
1 files changed, 15 insertions, 2 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index 892be9a..85f34fb 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -503,7 +503,13 @@ genenetwork3 source from the latest commit of @var{project}."
                            (run (gn-integration-tests-gexp
                                  config
                                  (list "pytest" "-m" "gn_auth and smoke" "-v")))
-                           (trigger? #f))
+                           (trigger? #f)
+                           (after (with-imported-modules '((guix build utils))
+                                    #~(begin
+                                        (use-modules (guix build utils))
+                                        (when (string=? (getenv "RESULT") "success")
+                                          (invoke #$(file-append laminar "/bin/laminarc")
+                                                  "queue" "gn-auth-auth-flow-tests"))))))
                           (forge-laminar-job
                            (name "gn-auth-all-tests")
                            (run (guix-channel-job-gexp
@@ -514,7 +520,14 @@ genenetwork3 source from the latest commit of @var{project}."
                                  #:variables (list (variable-specification
                                                     (module '(gn-auth))
                                                     (name 'gn-auth-all-tests)))
-                                 #:guix-daemon-uri %guix-daemon-uri)))))
+                                 #:guix-daemon-uri %guix-daemon-uri)))
+                          (forge-laminar-job
+                           (name "gn-auth-auth-flow-tests")
+                           (run (gn-integration-tests-gexp
+                                 config (list "pytest" "-m" "gn_auth and auth_flow" "-v")
+                                 #:setup (list (setup-gn-auth-credentials-gexp))
+                                 #:teardown (list (teardown-gn-auth-credentials-gexp))))
+                           (trigger? #f))))
            (ci-jobs-trigger 'webhook)))))
 
 (define (genenetwork2-cd-gexp config)