lorax/src/pylorax/api
Brian C. Lane 67da4d6971 Add building an image, and the /compose route to start it
This adds the ability to build a tar output image. The /compose and
/compose/types API routes are now available.

To start a build POST a JSON body to /compose, like this:

{"recipe_name":"glusterfs", "compose_type":"tar", "branch":"master"}

This will return a unique build id:

{
  "build_id": "4d13abb6-aa4e-4c80-a671-0b867e6e77f6",
  "status": true
}

which will be used to keep track of the build status (routes for this
do not exist yet).
2018-06-11 16:54:58 -07:00
..
__init__.py lorax-composer initial commit 2018-06-11 16:54:57 -07:00
compose.py Add building an image, and the /compose route to start it 2018-06-11 16:54:58 -07:00
config.py Change config and paths 2018-06-11 16:54:58 -07:00
crossdomain.py lorax-composer initial commit 2018-06-11 16:54:57 -07:00
projects.py Add function to return full NEVRA of a dependency 2018-06-11 16:54:58 -07:00
queue.py Add building an image, and the /compose route to start it 2018-06-11 16:54:58 -07:00
recipes.py Add support for other branches to the routes 2018-06-11 16:54:58 -07:00
server.py Add support for yum to lorax-composer 2018-06-11 16:54:58 -07:00
v0.py Add building an image, and the /compose route to start it 2018-06-11 16:54:58 -07:00
workspace.py Add workspace module and tests 2018-06-11 16:54:57 -07:00
yumbase.py Silence pocketlint bad-preconf-access warnings 2018-06-11 16:54:58 -07:00