-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'ManageIQ/master' into provider_discover
- Loading branch information
Showing
23 changed files
with
886 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
--require spec_helper | ||
--color | ||
--order random | ||
--exclude-pattern "spec/manageiq/**/*_spec.rb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
--color | ||
--order random | ||
--profile 25 | ||
--exclude-pattern "spec/manageiq/**/*_spec.rb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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:lenovo:setup' | ||
end | ||
require 'bundler/gem_tasks' | ||
|
||
desc "Run all Lenovo specs" | ||
task :spec => 'app:test:providers:lenovo' | ||
FileList['lib/tasks_private/**/*.rake'].each { |r| load r } | ||
|
||
task :default => :spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
:ems: | ||
:ems_lenovo: | ||
:blacklisted_event_names: [] | ||
:event_handling: | ||
:event_groups: | ||
:http_proxy: | ||
:lenovo: | ||
:host: | ||
:password: | ||
:port: | ||
:user: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require "manageiq/providers/lenovo/engine" | ||
require "manageiq/providers/lenovo/version" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Tasks (.rake files) in this directory will be available in the main ManageIQ app. | ||
They can be executed in the provider gem via the app: namespace | ||
|
||
bin/rails app:<task> | ||
|
||
Task private to the provider should go into lib/tasks/tasks_private. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#namespace :manageiq do | ||
# namespace :providers do | ||
# namespace :lenovo do | ||
# desc "Explaining what the task does" | ||
# task :your_task do | ||
# # Task goes here | ||
# end | ||
# end | ||
# end | ||
#end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace :spec do | ||
desc "Setup environment specs" | ||
task :setup => ["app:test:vmdb:setup"] | ||
end | ||
|
||
desc "Run all specs" | ||
RSpec::Core::RakeTask.new(:spec => ["app:test:initialize", "app:evm:compile_sti_loader"]) do |t| | ||
spec_dir = File.expand_path("../../spec", __dir__) | ||
EvmTestHelper.init_rspec_task(t, ['--require', File.join(spec_dir, 'spec_helper')]) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.