aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-12-23 10:16:35 +0300
committerMunyoki Kilyungi2025-01-06 22:24:58 +0300
commit3586eea2686d192a1ccd0b0455769fde4c490fee (patch)
treef452a268948258fbd33a2e1ea1eb6f13b6874e21
parent1a81133cede0cdf0659116efba3dd4fb584422a2 (diff)
downloadgn-machines-3586eea2686d192a1ccd0b0455769fde4c490fee.tar.gz
Add REQUESTS_CA_BUNDLE to genenetwork2 shepherd service.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--genenetwork-development.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index 81012c9..9225eb3 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -656,7 +656,8 @@ described by CONFIG, a <genenetwork-configuration> object."
(genenetwork2-cd-gexp config))
#:name "genenetwork2-pola-wrapper"
#:preserved-environment-variables
- (append (map first gn2-settings)
+ (append '("REQUESTS_CA_BUNDLE")
+ (map first gn2-settings)
(map search-path-specification-variable
(manifest-search-paths gn2-manifest)))
;; If we mapped only the mysqld.sock
@@ -688,6 +689,8 @@ described by CONFIG, a <genenetwork-configuration> object."
#:group "genenetwork"
#:environment-variables
(append
+ '("REQUESTS_CA_BUNDLE="
+ #$(file-append gn2-profile "/etc/ssl/certs/ca-certificates.crt"))
(map (match-lambda
((spec . value)
(string-append (search-path-specification-variable spec)