launch-node : make into a small package

This turns launch-node into an installable package.  This is not meant
for distribution, we just encapsulate the installation in a virtualenv
on the bastion host.  Small updates to documentation and simple
testing are added (also remove some spaces to make test_bridge.py
consistent).

Change-Id: Ibcb4774114d73600753ca155ed277d775964bc79
This commit is contained in:
Ian Wienand
2022-11-21 16:28:57 +11:00
parent 95c9cf6ec6
commit ed7083ed88
14 changed files with 68 additions and 29 deletions

View File

@@ -0,0 +1,11 @@
- name: Create launcher venv
include_role:
name: create-venv
vars:
create_venv_path: '/usr/launcher-venv'
- name: Install node launcher
pip:
name: 'file:///home/zuul/src/opendev.org/opendev/system-config/launch'
virtualenv: '/usr/launcher-venv'