Skip to content

agrare/manageiq-providers-openstack

 
 

Repository files navigation

manageiq-providers-openstack

Gem Version Build Status Code Climate Test Coverage Dependency Status Security

Chat Translate

ManageIQ plugin for the Openstack provider.

Development

See the section on pluggable providers in the ManageIQ Developer Setup

For quick local setup run bin/setup, which will clone the core ManageIQ repository under the spec directory and setup necessary config files. If you have already cloned it, you can run bin/update to bring the core ManageIQ code up to date.

VCR cassettes re-recording

You will need testing OpenStack environment(s) and openstack_environments.yml file with credentials in format like:

---
- test_env_1:
    ip: 11.22.33.44
    password: long_password_1
    user: admin_1
- test_env_2:
    ip: 11.22.33.55
    password: long_password_2
    user: admin_2

Then you can run bundle exec rake vcr:rerecord and following will happen:

  • Current VCR cassettes files will be deleted
  • Credentials from openstack_environments.yml file will be injected into spec files
  • Specs needed for re-recording of VCR cassettes will be run. During this step manageiq will call OpenStack APIs at specified endpoints
  • Credentials present in spec files and VCR cassettes will be changed to dummy data so tests can run from VCR cassettes

License

The gem is available as open source under the terms of the Apache License 2.0.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

ManageIQ plugin for the OpenStack provider

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%