Skip to content

jguiditta/aeolus-image-rubygem

 
 

Repository files navigation

aeolus-image-rubygem

aeolus-image-rubygem is a Ruby library used by Conductor to connect with Image Factory and Image Warehouse.

It provides a gem named aeolus-image, which shouldn't be confused with the aeolus-image command-line tool. (There's talk of renaming these shortly to alleviate this confusion.)

Configuration

aeolus-image-rubygem is meant to be leveraged in code. You might check out config/initializers/aeolus-image.rb in Conductor for an example.

Usage

After configurating Factory and/or Warehouse hosts, you can do things like the following:

Warehouse

   images = Aeolus::Image::Warehouse::Image.all
   
   image1 = images.first
   image1.name # => ""
   image1.image_builds # => an array of ImageBuild objects

Factory

   builds_in_progress = Aeolus::Image::Factory::Builder.all

Start a build with Factory

   img = Aeolus::Image::Factory::Image.new(
    :targets => 'ec2',
    :template => IO.read('/home/mawagner/template.tpl')
   )
   img.save!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%