Create a new python module & package, ambry-builder, with a CLI for creating remote builders on AWS, Docker, and other services.
To create this, copy the structure of the ambry-admin package, which is a similar CLI module. When this module is complete, the some of the docker code will move from ambry-admin.
This package will create two new CLI interfaces:
ambry aws build-ami # Create or Update the builder AMI.
ambry aws build # Build a local bundle on a remote machine
General Model.
When building a bundle, the ambry aws build command will:
Create a new EC2 instance from a pre-packages Ambry Builder AMI, running Ambry and the ambry-ui on an exposed HTTP port.
Checkin the source package of the bundle on the instance. The checkin is to the web interface, ambry-ui/ambry_ui/api.py:317. See the bambry checkin -s command.
Run a build process on the instance, using a new interface to the web ui, /bundles//build.
WIth the --log option, display the running log files.
The loging facility should just cat the files from the bundle's build/.../log directory.
Create a new python module & package, ambry-builder, with a CLI for creating remote builders on AWS, Docker, and other services.
To create this, copy the structure of the ambry-admin package, which is a similar CLI module. When this module is complete, the some of the docker code will move from ambry-admin.
This package will create two new CLI interfaces:
General Model.
When building a bundle, the
ambry aws build
command will:bambry checkin -s
command.The loging facility should just cat the files from the bundle's build/.../log directory.