From 49e179260c2d3e1b3a9fd11252d0e1edab1902b8 Mon Sep 17 00:00:00 2001 From: Ethan Gafford Date: Wed, 29 Jun 2016 16:47:10 -0400 Subject: [PATCH] CLI for Plugin-Declared Image Declaration Introduces a new libfuestfs-driven CLI for packing of Sahara images, using the same recipe definition scheme introduced in the validate-image-spi blueprint. Documentation and plugin image packing configurability can and will be provided in separate patches for ease of review. Partially-implements: blueprint image-generation-cli Change-Id: I6788108e3fb6232045fc56937639a6348768a7bc --- setup.cfg | 1 + tox.ini | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/setup.cfg b/setup.cfg index f999b54..6cc0fc1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,6 +35,7 @@ console_scripts = sahara-rootwrap = oslo_rootwrap.cmd:main _sahara-subprocess = sahara.cli.sahara_subprocess:main sahara-templates = sahara.db.templates.cli:main + sahara-image-pack = sahara.cli.image_pack.cli:main wsgi_scripts = sahara-wsgi-api = sahara.cli.sahara_api:setup_api diff --git a/tox.ini b/tox.ini index 96face0..5cfc064 100644 --- a/tox.ini +++ b/tox.ini @@ -39,6 +39,10 @@ commands = [testenv:venv] commands = {posargs} +[testenv:images] +sitepackages = True +commands = {posargs} + [testenv:docs] commands = rm -rf doc/html doc/build