Age | Commit message (Collapse) | Author |
|
Constructing INI files from S-expressions instead of using string
substitutions is a little nicer.
* genenetwork-development.scm (gn-auth-migrations-yoyo-ini-gexp): New
function.
(gn-auth-migrations): Use gn-auth-migrations-yoyo-ini-gexp.
|
|
The guix-bioinformatics repository is now on tux02. There is no
webhook to listen for. So, use it directly as a local repository.
*
genenetwork-development.scm (guix-bioinformatics-project)[repository]:
Use local repository on tux02.
|
|
* genenetwork-development.scm: Import gn-auth from (gn packages
genenetwork) instead of from (gn-auth) or elsewhere.
|
|
* genenetwork-development.scm: Import python-mypy from (gnu packages
python) instead of (gn packages python).
|
|
switch-symlinks was recently moved from (guix utils) to (guix build
utils). It can now be safely used in build-side code.
* genenetwork-development.scm (install-laminar-template-gexp): Use
switch-symlinks from (guix build utils).
|
|
* genenetwork-development.scm: Replace python-mypy-0.981 import with
upstream version.
(genenetwork3-mypy, genenetwork-projects): Replace python-mypy-0.981
with upstream version.
Acked-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
This reverts commit 416bf833737b23e86756b68e0cb162529bbd2665.
|
|
This reverts commit 5ec4b45702cba430b8da47949f37317527cf05a6.
|
|
This reverts commit d12e7e45883df361ab4f78055c8112ded2e896ca.
|
|
|
|
|
|
|
|
We need to pass in secrets to the running applications. This commit
does it for GeneNetwork2.
|
|
|
|
|
|
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* genenetwork-development.scm: Import (forge cgit).
(operating-system)[services]: Add cgit service.
* genenetwork-development-deploy.sh: Expose cgit repository directory.
|
|
* genenetwork-development.scm: Import only nginx-server-configuration
and nginx-location-configuration from (gnu services
web). Import (forge acme) and (forge nginx).
(development-server-reverse-proxy-server-block,
laminar-reverse-proxy-server-block,
tissue-reverse-proxy-server-block): Remove listen argument.
(operating-system)[sudoers-file]: Permit the acme user to restart
nginx.
[services]: Replace nginx service with a forge-nginx service. Add ACME
service.
* genenetwork-development-deploy.sh: Share /var/lib/acme.
|
|
The libgit2 patch is now in guix-forge. So, we don't have to repeat it
here.
* genenetwork-development.scm (libgit2-1.3, guile-git-for-tissue,
tissue): Delete variables.
(operating-system)[services]: Do not specify package for tissue
service.
|
|
* genenetwork-development.scm (guix-bioinformatics-project): Disable
verbose build logs.
|
|
* genenetwork-development.scm (genenetwork-projects): Use
guix-channel-job-gexp for genenetwork3 tests.
|
|
* genenetwork-development.scm (guix-channel-job-gexp): New function.
(guix-bioinformatics-project): New variable.
(operating-system)[services]: Add guix-bioinformatics-project to
forge-service-type.
|
|
This reverts commit 37fa3c11908d7aada419be296ebef67415de3bc9.
|
|
This reverts commit ecd97bc513323459898b34db45fda6c9edd7ca22.
|
|
|
|
Rob is giving a demo, so disable tests and fix them later.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
* genenetwork-development.scm,
public-sparql.scm (operating-system)[services]<virtuoso-service>: Set
number-of-buffers and maximum-dirty-buffers.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
* genenetwork-development.scm (genenetwork-shepherd-services): Share
auth-db-path with genenetwork3-pola-wrapper.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
genenetwork3 expects AUTH_DB, not AUTH_DB_PATH.
* genenetwork-development.scm (genenetwork3-cd-gexp): Set AUTH_DB, not
AUTH_DB_PATH.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
* genenetwork-development.scm (build-xapian-index-gexp): Do not create
xapian build directory.
|
|
A relative GN_SERVER_URL sometimes leads to issues when code (in
libraries e.g. requests and the like) cannot expand the URI since it
does not have context about the running server.
* genenetwork-development.scm (genenetwork2-cd-gexp): Use an absolute
GN_SERVER_URL.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
Without the trailing slash, the urllib.parse.urljoin function produces
the wrong endpoint.
* genenetwork-development.scm (genenetwork2-cd-gexp): Add trailing
slash to GN_SERVER_URL.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
Add a CI job that applies the auth database migrations. This job is
run after the genenetwork3 tests have passed but before genenetwork3
is restarted.
* genenetwork-development-deploy.sh: Share
/export/data/genenetwork-sqlite.
* genenetwork-development.scm: Import yoyo-migrations from (gnu
packages databases).
(<genenetwork-configuration>)[auth-db-path]: New field.
(genenetwork3-auth-migrations-genenetwork,
genenetwork3-auth-migrations-laminar, genenetwork-activation): New
functions.
(genenetwork-projects): Add genenetwork3-auth-migrations CI
job. Trigger this job after genenetwork3 tests.
(genenetwork3-cd-gexp): Configure AUTH_DB_PATH in gn3.conf.
(genenetwork-service-type): Extend activation-service-type with
genenetwork-activation.
(operating-system)[sudoers-file]: Permit the laminar user to run auth
database migrations as the genenetwork user.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
tissue fails to clean up its Unix socket when deployed with
shepherd. So, when tissue crashes, it fails to restart. Until this
issue is resolved, run tissue on an IP socket.
* genenetwork-development.scm (%tissue-port): New variable.
(tissue-reverse-proxy-server-block): Forward tissue requests to IP
socket.
(operating-system)[services]: Run tissue on an IP socket.
|
|
* genenetwork-development.scm: Import guile-git from (gnu packages
guile), libgit2-1.3 from (gnu packages version-control), and (guix
utils). Prefix tissue import from (gnu packages web) with guix:.
(libgit2-1.3, guile-git-for-tissue, tissue): New variables.
(operating-system)[services]: Use local variant of tissue package.
|
|
The tissue package is now in Guix upstream and longer in the
guix-forge channel.
* genenetwork-development.scm: Import tissue from (gnu packages web).
|
|
* genenetwork-development.scm (build-xapian-index-gexp): Provide MySQL
URI to the xapian indexing script.
|
|
We ought to share the mysqld socket directory into the container, not
the socket itself. If we only shared the socket, when the mysql server
is restarted and a new socket is created, the bind mounting into the
container would break and the container would need to be restarted.
* genenetwork-development-deploy.sh: Share /var/run/mysqld, not
/var/run/mysqld/mysqld.sock.
* genenetwork-development.scm (genenetwork-shepherd-services): Share
/run/mysqld, not /run/mysqld/mysqld.sock.
|
|
*
genenetwork-development.scm (<genenetwork-configuration>)[data-directory]:
New field.
(genenetwork3-cd-gexp): Set DATA_DIR in settings file.
(genenetwork-shepherd-services): Map data directory into container.
(operating-system)[services]: Set data-directory of genenetwork
service to /export/data/genenetwork.
* genenetwork-development-deploy.sh: Expose entire data directory
/export/data/genenetwork instead of the contained genotype files
directory.
|
|
* genenetwork-development.scm (%xapian-directory): Move from
/export/data/genenetwork/xapian to /export/data/genenetwork-xapian.
* genenetwork-development-deploy.sh (container_script): Share
/export/data/genenetwork-xapian instead of
/export/data/genenetwork/xapian.
|
|
* genenetwork-development.scm (build-xapian-index-gexp): Clean up
xapian build directory if previous build failed to.
|
|
This 502 error page is more informative than a generic "Bad Gateway"
error message. It tells the user that the CD is down but not the
entire container itself.
* genenetwork-development.scm: Import guile-lib from (gnu packages
guile-xyz).
(%ci-domain): New variable.
(cd-error-pages-gexp): New function.
(development-server-reverse-proxy-server-block):
Use (cd-error-pages-gexp) to construct error pages.
(laminar-reverse-proxy-server-block): Use %ci-domain.
|