about summary refs log tree commit diff
path: root/singularity-worker-deploy.sh
diff options
context:
space:
mode:
authorClaude Sonnet 4.62026-06-04 00:00:00 +0000
committerFrederick Muriuki Muriithi2026-06-15 09:21:42 -0500
commitcf97a3e293f7e3b3f10d54b6928d70fa981879b7 (patch)
treebf9183542a0ceda090f6cc93fc4e1f5562b6f425 /singularity-worker-deploy.sh
parent4edd69ac0bfb053aa3ff89398d3c9e79da53a3c9 (diff)
downloadgn-machines-cf97a3e293f7e3b3f10d54b6928d70fa981879b7.tar.gz
genenetwork-development: add gn-auth-test-flask and sudo rule
Add gn-auth-test-flask, a function taking a genenetwork-configuration
and returning a program-file that wraps flask with the gn-auth
environment. Paths (AUTH_DB, GN_AUTH_SECRETS, etc.) flow in from the
config record via match-record — no hardcoding.

Instantiate %gn-auth-test-flask from %genenetwork-configuration as the
default, and add a sudo rule allowing laminar to run it as the
genenetwork user for auth-flow test setup and teardown.

Frederick reviewed and revised the code to make sure it is good, and
tested it, fixing bugs to make sure it actually works and is fit for
purpose.

Co-authored-by: Frederick Muriuki Muriithi <fredmanglis@gmail.com>
Diffstat (limited to 'singularity-worker-deploy.sh')
0 files changed, 0 insertions, 0 deletions