aboutsummaryrefslogtreecommitdiff
path: root/genenetwork
AgeCommit message (Collapse)Author
2024-09-10Define new container for gn2-fred* domains.Frederick Muriuki Muriithi
2024-09-10Run script to make non-human data publicFrederick Muriuki Muriithi
2024-08-13Forward the scheme to the client to generate correct URIs.Frederick Muriuki Muriithi
2024-08-13gn-uploader: Configure link to GN2 server.Frederick Muriuki Muriithi
2024-08-07gn-uploader: Add `AUTH_SERVER_URL` to the configurations.Frederick Muriuki Muriithi
2024-08-07gn-uploader: Update ENVVAR nameFrederick Muriuki Muriithi
2024-08-07gn-uploader: Update configuration variable name.Frederick Muriuki Muriithi
2024-07-22gn-uploader: use `gn-uploader-configuration` as default.Frederick Muriuki Muriithi
2024-07-22gn-uploader: make app user owner of upload directory treeFrederick Muriuki Muriithi
Fix the service activation code to make the gn-uploader data directory, and all its children belong to the app user.
2024-07-12Extend the genenetwork-service-type with the mcron indexer serviceFrederick Muriuki Muriithi
Add the scheduled indexer service to the genenetwork-service-type. This will run the indexer script every hour.
2024-07-12Generalise index-genenetwork cron gexpFrederick Muriuki Muriithi
Pass in the configuration to the gexp building function to make the builder function work across environments.
2024-06-28Make secrets dirs writable by relevant services.Frederick Muriuki Muriithi
2024-06-28Remove duplicated, and wrong settings.Frederick Muriuki Muriithi
2024-06-28Fix permissions: Only files are read-onlyFrederick Muriuki Muriithi
Directories need the execute bit set to actually be accessible to the owner.
2024-06-28Make relevant services available to each service.Frederick Muriuki Muriithi
2024-06-28Set secrets as directories for services with multiple secrets.Frederick Muriuki Muriithi
2024-06-28Add JWT SSL keys configurations.Frederick Muriuki Muriithi
2024-06-12gn-uploader: Setup profile pathFrederick Muriuki Muriithi
The profile path is necessary for use retrieving the included bootstrap content.
2024-05-07gn-uploader: Serve static files via nginx.Frederick Muriuki Muriithi
* genenetwork/services/genenetwork.scm: Import nginx from (gnu packages web), python from (gnu packages python), (guix build python-build-system) and (guix packages). (gn-uploader-nginx-server-block): Serve static files via nginx. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2024-04-12gn-uploader: use installed entry-point.Frederick Muriuki Muriithi
2024-04-12gn-uploader: use defined app in wsgi.py to pick up logging configs.Frederick Muriuki Muriithi
2024-04-12Set up log level in gunicornadd-gunicorn-loggingFrederick Muriuki Muriithi
2024-04-10gn-uploader: Enable changing of log-level for container.Frederick Muriuki Muriithi
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.
2024-04-09gn-uploader: Change ownership of data-directoryFrederick Muriuki Muriithi
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.
2024-04-09gn-uploader: Made datadir writable and set up uploads directory.Frederick Muriuki Muriithi
2024-04-05Document configuration settingsPjotr Prins
2024-04-03Set up SQL_URI for gn-auth.Frederick Muriuki Muriithi
2024-04-03gendev: special machine for PjotrPjotr Prins
2024-04-01Share TMPDIR between GN2 and GN3Pjotr Prins
2024-04-01fallback: have gn2 and gn3 share a source directory so we can update/debug ↵Pjotr Prins
source code for development. See topics/systems/debug-and-developing-code-with-genenetwork-system-container.gmi
2024-03-28gn-uploader: Increment maximum size of uploadable files.Frederick Muriuki Muriithi
2024-03-25Add gn-uploader service.Frederick Muriuki Muriithi
* 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>
2024-03-21Add timeout for proxiesPjotr Prins
2024-03-05Let the gunicorn-gn-auth user own the auth database.Arun Isaac
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>
2024-03-05Pass on the request scheme to GN2 appFrederick Muriuki Muriithi
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.
2024-03-01Set AUTH_SERVER_URL on production genenetwork2.Arun Isaac
* genenetwork/services/genenetwork.scm (genenetwork-gunicorn-apps): Set AUTH_SERVER_URL on production genenetwork2.
2024-03-01Reverse proxy gn-auth on production.Arun Isaac
* 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.
2024-03-01Set owner-only permissions on secrets files.Arun Isaac
* genenetwork/services/genenetwork.scm (genenetwork-activation): Set owner-only permissions on secrets files.
2024-03-01Set ownership of secrets files.Arun Isaac
* genenetwork/services/genenetwork.scm (genenetwork-activation): Set ownership of secrets files. * production-deploy.sh: Mount secrets files read-write.
2024-03-01Add gn-auth to production genenetwork service.Arun Isaac
* 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.
2024-01-09genenetwork: Increase gunicorn timeout for genenetwork3.Arun Isaac
* genenetwork/services/genenetwork.scm (genenetwork-gunicorn-apps): Increase gunicorn timeout for genenetwork3 to 1200 seconds.
2024-01-08Increase gunicorn timeout for genenetwork3.Arun Isaac
* genenetwork-development.scm (genenetwork3-cd-gexp): Increase gunicorn timeout to 1200 seconds. * genenetwork/services/genenetwork.scm (genenetwork-gunicorn-apps): Add TODO note to increase gunicorn timeout to 1200 seconds.
2024-01-03Add GeneNetwork service.Arun Isaac
* genenetwork/services/genenetwork.scm: New file.
2023-12-20Use guix-channel-job-gexp for gn-transform-databases CI job.Arun Isaac
* genenetwork-development.scm: Import (guix ci). (transform-genenetwork-database-tests): Delete variable. (%default-guix-channel-with-substitutes): New variable. (transform-genenetwork-database-project): Use guix-channel-job-gexp for transform-genenetwork-database-tests CI job. * genenetwork/development-helper.scm: Delete file.
2023-12-19Delete unused qc-tests variable.Arun Isaac
* genenetwork-development.scm (qc-tests): Delete variable. * genenetwork/development-helper.scm (asdf-test-gexp): Delete function.
2023-12-19Use guix-channel-job-gexp for gn-auth pylint and mypy CI jobs.Arun Isaac
* genenetwork-development.scm (genenetwork3-tests): Delete function. (gn-auth-pylint): Delete variable. (genenetwork-projects): Build only the gn-auth variable in the gn-auth CI job. Combine gn-auth-mypy and gn-auth-pylint CI jobs into a gn-auth-all-tests job that uses guix-channel-job-gexp. * genenetwork/development-helper.scm (genenetwork-lint-gexp): Delete function.
2023-12-19Use guix-channel-job-gexp for genenetwork3 pylint and mypy CI jobs.Arun Isaac
* genenetwork-development.scm (genenetwork3-mypy, genenetwork3-pylint): Delete variables. (genenetwork-projects): Build only genenetwork3 variable in genenetwork3 CI job. Combine genenetwork3-mypy and genenetwork3-pylint CI jobs into a genenetwork3-all-tests job that uses guix-channel-job-gexp. * genenetwork/development-helper.scm (genenetwork3-lint-gexp): Delete function.
2023-09-16Add CI/CD definitions for gn-authFrederick Muriuki Muriithi
2023-09-05Update arguments to pylintMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-01-21GN3: pylint - Check more files and directoriesFrederick Muriuki Muriithi