From 43ab5745d9c0a7a257ab2d1ffcfe18ead3b557b5 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 6 Jul 2022 02:21:02 +0530 Subject: 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). (, ): 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. --- genenetwork/development-helper.scm | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'genenetwork/development-helper.scm') 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"))))) -- cgit v1.2.3