Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
* qa-gn-deploy.sh: New file.
* qa-gn.scm: New file.
Co-authored-by: Alexander_Kabui <alexanderkabua@gmail.com>
Co-authored-by: John Nduli <rookie101@jnduli.co.ke>
|
|
Co-authored-by: Alexander_Kabui <alexanderkabua@gmail.com>
|
|
Co-authored-by: Alexander_Kabui <alexanderkabua@gmail.com>
|
|
* genenetwork-development.scm (genenetwork-shepherd-services): Mount
llm-db-path into genenetwork3 container.
|
|
genenetwork-development.scm (<genenetwork-configuration>)[llm-db-path]:
New field.
(genenetwork3-cd-gexp): Configure LLM_DB_PATH in gn3.conf.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This commit enables us to change the logging level of the gn-uploader
service within the container: this will help in the instances when we
need to debug events in the application that are unexpected.
|
|
While the share is technically writable from the container, the
service was running as an unprivileged user, and thus could not write
to the data-directory. This commit changes the ownership of the
data-directory to the same user that runs the service.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This commit lets us use the bleeding-edge gn-uploader from the
gn-uploader channel.
|
|
The uploader container is for testing that the gn-uploader package
builds and the application is working correctly. It sets up a service
that allows users to upload data.
It does need the other GeneNetwork services, but does not need the
latest and greatest. This commit uses the default genenetwork2
package (which will mostly be stable): thus there are fewer (if any)
issues getting the other services to run.
|
|
|
|
|
|
|
|
source code for development. See
topics/systems/debug-and-developing-code-with-genenetwork-system-container.gmi
|
|
|
|
* genenetwork/services/genenetwork.scm (<gn-uploader-configuration>):
New type.
(gn-uploader-activation, gn-uploader-gunicorn-app,
gn-uploader-nginx-server-block): New functions.
(gn-uploader-service-type): New variable.
* uploader.scm, uploader-deploy.sh: New files.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
|
|
|
|
|
|
|
|
Not everyone has GUIX_PROFILE set in their environment. Inferring the
profile from the guix executable is more reliable.
* genenetwork-development.scm (channels-scm-gexp): Infer profile from
guix executable used to build container.
|
|
|
|
gn-auth runs as the gunicorn-gn-auth user, not the genenetwork user.
* genenetwork/services/genenetwork.scm (genenetwork-activation): Let
the gunicorn-gn-auth user own the auth database.
Reported-by: Frederick M. Muriithi <fredmanglis@protonmail.com>
|
|
This is useful to enable building URIs with the correct scheme in the
application. These URIs are important when redirection to and from
external services such as the gn-auth service.
|
|
|
|
*
production.scm (operating-system)[services]{genenetwork-service-type}:
Remove auth-db field.
* production-deploy.sh (container_script): Mount /var/genenetwork.
|
|
|
|
* fallback.scm: New file.
|
|
* genenetwork/services/genenetwork.scm (genenetwork-gunicorn-apps):
Set AUTH_SERVER_URL on production genenetwork2.
|
|
*
genenetwork/services/genenetwork.scm (<genenetwork-configuration>)[gn-auth-server-name]:
New field.
*
genenetwork/services/genenetwork.scm (genenetwork-nginx-server-block):
Rename to ...
(genenetwork-nginx-server-blocks): ... this. Return list of reverse
proxy blocks including one for gn-auth.
* genenetwork/services/genenetwork.scm (genenetwork-service-type): Use
genenetwork-nginx-server-blocks instead of
genenetwork-nginx-server-block.
*
production.scm (operating-system)[services]{genenetwork-service-type}:
Add gn-auth-server-name.
|
|
* genenetwork/services/genenetwork.scm (genenetwork-activation): Set
owner-only permissions on secrets files.
|
|
* genenetwork/services/genenetwork.scm (genenetwork-activation): Set
ownership of secrets files.
* production-deploy.sh: Mount secrets files read-write.
|
|
* genenetwork/services/genenetwork.scm: Import gn-auth from (gn
packages genenetwork).
*
genenetwork/services/genenetwork.scm (<genenetwork-configuration>)[gn-auth,
gn-auth-port, gn-auth-secrets]: New fields.
* genenetwork/services/genenetwork.scm (genenetwork-gunicorn-apps):
Add gn-auth gunicorn app.
|
|
* genenetwork-development.scm: Bump copyright year for Fred.
|