aboutsummaryrefslogtreecommitdiff
path: root/genenetwork
diff options
context:
space:
mode:
authorArun Isaac2022-07-06 02:21:02 +0530
committerArun Isaac2022-07-06 02:50:11 +0530
commit43ab5745d9c0a7a257ab2d1ffcfe18ead3b557b5 (patch)
tree67abf59d1ff139265b76f84fdce0a83abb0949ed /genenetwork
parentf43e156273cbe8d9b14ae05afcf2a0179ed3e23e (diff)
downloadgn-machines-43ab5745d9c0a7a257ab2d1ffcfe18ead3b557b5.tar.gz
Switch to tissue service from guix-forge.
* genenetwork-development-deploy.sh: Share tissue state directory with container. * genenetwork-development.scm: Do not import tissue from (gn packages gemini). Import (forge tissue). (<tissue-configuration>, <tissue-host>): Delete types. (%tissue-accounts, tissue-service-type): Delete variables. (gn-gemtext-threads-website, gn-gemtext-threads-index, tissue-conf-gexp, tissue-shepherd-service): Delete functions. (gn-gemtext-threads-project)[ci-jobs]: Use tissue pull in gn-gemtext-threads job. (tissue-reverse-proxy-server-block): Use default tissue state directory and unix socket paths. Do not accept them as arguments. (operating-system)[services]: Use new tissue-service-type parameters. Update invocation of tissue-reverse-proxy-server-block. * genenetwork/development-helper.scm (tissue-website-gexp, tissue-index-gexp): Delete functions.
Diffstat (limited to 'genenetwork')
-rw-r--r--genenetwork/development-helper.scm24
1 files changed, 0 insertions, 24 deletions
diff --git a/genenetwork/development-helper.scm b/genenetwork/development-helper.scm
index 87d820a..9e846f4 100644
--- a/genenetwork/development-helper.scm
+++ b/genenetwork/development-helper.scm
@@ -146,27 +146,3 @@ dependencies."
(invoke "gunicorn"
"-b" (string-append ip ":" port)
"gn3.app:create_app()")))))))
-
-(define (tissue-website-gexp source profile)
- "Return a G-expression that builds a tissue website from
-SOURCE. PROFILE is a profile with necessary dependencies."
- (with-imported-modules '((guix build utils))
- (with-profile profile
- #~(begin
- (use-modules (guix build utils))
-
- (copy-recursively #$source (getcwd))
- (invoke "tissue" "web" #$output)))))
-
-(define (tissue-index-gexp source profile)
- "Return a G-expression that builds a tissue index from
-SOURCE. PROFILE is a profile with necessary dependencies."
- (with-imported-modules '((guix build utils))
- (with-profile profile
- #~(begin
- (use-modules (guix build utils))
-
- (mkdir-p #$output)
- (chdir #$output)
- (copy-recursively #$source #$output)
- (invoke "tissue" "index")))))