Skip to content

Commit

Permalink
run provider generator to sync changes from core
Browse files Browse the repository at this point in the history
  • Loading branch information
durandom committed Jul 19, 2017
1 parent ed4e981 commit d3f5f58
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions .rspec
Expand Up @@ -2,3 +2,4 @@
--require spec_helper
--color
--order random
--exclude-pattern "spec/manageiq/**/*_spec.rb"
1 change: 1 addition & 0 deletions .rspec_ci
Expand Up @@ -3,3 +3,4 @@
--color
--order random
--profile 25
--exclude-pattern "spec/manageiq/**/*_spec.rb"
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -16,6 +16,8 @@ ManageIQ plugin for the Vmware provider.

See the section on pluggable providers in the [ManageIQ Developer Setup](http://manageiq.org/docs/guides/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.

## License

The gem is available as open source under the terms of the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).
Expand Down
10 changes: 3 additions & 7 deletions Rakefile
@@ -1,20 +1,16 @@
require 'bundler/setup'
require 'bundler/gem_tasks'

begin
require 'rspec/core/rake_task'

APP_RAKEFILE = File.expand_path("../spec/manageiq/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'
load 'rails/tasks/statistics.rake'
rescue LoadError
end

namespace :spec do
desc "Setup environment for specs"
task :setup => 'app:test:providers:vmware:setup'
end
require 'bundler/gem_tasks'

desc "Run all vmware specs"
task :spec => 'app:test:providers:vmware'
FileList['lib/tasks_private/**/*.rake'].each { |r| load r }

task :default => :spec
2 changes: 1 addition & 1 deletion bin/setup
Expand Up @@ -9,4 +9,4 @@ unless gem_root.join("spec/manageiq").exist?
end

require gem_root.join("spec/manageiq/lib/manageiq/environment").to_s
ManageIQ::Environment.manageiq_plugin_setup
ManageIQ::Environment.manageiq_plugin_setup(gem_root)
2 changes: 1 addition & 1 deletion bin/update
Expand Up @@ -11,4 +11,4 @@ else
end

require gem_root.join("spec/manageiq/lib/manageiq/environment").to_s
ManageIQ::Environment.manageiq_plugin_setup
ManageIQ::Environment.manageiq_plugin_update(gem_root)
1 change: 1 addition & 0 deletions config/settings.yml
@@ -1,6 +1,7 @@
---
:ems:
:ems_vmware:
:blacklisted_event_names: []
:event_handling:
:event_groups:
:addition:
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Expand Up @@ -9,3 +9,4 @@
end

Dir[Rails.root.join("spec/shared/**/*.rb")].each { |f| require f }
Dir[ManageIQ::Providers::Vmware::Engine.root.join("spec/support/**/*.rb")].each { |f| require f }

0 comments on commit d3f5f58

Please sign in to comment.