aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-03-06 15:23:53 +0300
committerFrederick Muriuki Muriithi2024-03-06 15:23:53 +0300
commit3287d39906ce5018f6a3b264bf2657986eaded49 (patch)
treee60d58400de7896132369d5c42b38c2d1a6783fb
parent5a7537bf91f066e5a7b59b993bb5cc7038d54564 (diff)
downloadgn-machines-3287d39906ce5018f6a3b264bf2657986eaded49.tar.gz
Move CI/CD configurations from ENVVARS into a file.
-rw-r--r--genenetwork-development.scm25
1 files changed, 17 insertions, 8 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index 8139635..7c34719 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -465,18 +465,27 @@ server described by CONFIG, a <genenetwork-configuration> object."
(setenv "GN2_PROFILE" #$(profile
(content (package->development-manifest genenetwork2))
(allow-collisions? #t)))
- (setenv "GN_PROXY_URL" "http://genenetwork.org/gn3-proxy/")
- (setenv "GN_SERVER_URL" "https://cd.genenetwork.org/api3/")
- (setenv "GN3_LOCAL_URL"
- #$(string-append "http://localhost:"
- (number->string gn3-port)))
+ (setenv "GN_SERVER_URL" "https://cd.genenetwork.org/api3/")
+ (setenv "GN3_LOCAL_URL"
+ #$(string-append "http://localhost:"
+ (number->string gn3-port)))
(setenv "GENENETWORK_FILES" #$genotype-files)
- (setenv "SQL_URI" "mysql://webqtlout:webqtlout@localhost/db_webqtl")
+ (setenv "SQL_URI" "mysql://webqtlout:webqtlout@localhost/db_webqtl")
(setenv "HOME" "/tmp")
(setenv "NO_REDIS" "no-redis")
(setenv "RUST_BACKTRACE" "1")
- (setenv "AUTH_SERVER_URL" "https://auth-cd.genenetwork.org/")
- (setenv "GN2_SECRETS" #$gn2-secrets)
+
+ (setenv
+ "GN2_SETTINGS"
+ #$(mixed-text-file "gn2-staging.conf"
+ "GN2_SECRETS=\"" gn2-secrets "\"\n"
+ "GN3_LOCAL_URL=\""
+ (string-append "http://localhost:"
+ (number->string gn3-port))
+ "\"\n"
+ "GN_SERVER_URL=\"https://cd.genenetwork.org/api3/\"\n"
+ "AUTH_SERVER_URL=\"https://auth-cd.genenetwork.org/\"\n"
+ "SQL_URI=\"mysql://webqtlout:webqtlout@localhost/db_webqtl\"\n"))
;; Start genenetwork2.
(with-directory-excursion "genenetwork2"