commit
7ca1225df7
@ -0,0 +1,32 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "opendev_launch"
|
||||
version = "1.0.0"
|
||||
description = "launch nodes"
|
||||
requires-python = ">=3.6"
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"License :: OSI Approved :: Apache2 License",
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
dependencies = [
|
||||
"paramiko>=2.9.1",
|
||||
# This is a very specific list which is known to work
|
||||
# with RAX storage...
|
||||
"python-openstackclient==4.0.2",
|
||||
"python-cinderclient==9.1.0",
|
||||
"openstacksdk==0.102.0"
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
"Homepage" = "https://opendev.org/"
|
||||
|
||||
[project.scripts]
|
||||
launch-node = "opendev_launch:launch_node.main"
|
||||
show-dns = "opendev_launch:dns.main"
|
||||
|
||||
[tool.setuptools.package-data]
|
||||
opendev_launch = ["*.sh"]
|
@ -0,0 +1 @@
|
||||
Install the launch node script to a venv
|
@ -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'
|
||||
|
Loading…
Reference in new issue