Sha256: 47ff515fa3892bed8f67947f185518e5fe76646fd92e079c1fd753528ebe2a26

Contents?: true

Size: 713 Bytes

Versions: 78

Compression:

Stored size: 713 Bytes

Contents

# Tasks
namespace :foreman_remote_execution do
  namespace :example do
    desc 'Example Task'
    task task: :environment do
      # Task goes here
    end
  end
end

# Tests
namespace :test do
  desc 'Test ForemanRemoteExecution'
  Rake::TestTask.new(:foreman_remote_execution => ['db:test:prepare']) do |t|
    test_dir = File.join(File.dirname(__FILE__), '../..', 'test')
    t.libs << ['test', test_dir]
    t.pattern = "#{test_dir}/**/*_test.rb"
    t.verbose = true
    t.warning = false
  end
end

Rake::Task[:test].enhance ['test:foreman_remote_execution']

load 'tasks/jenkins.rake'
if Rake::Task.task_defined?(:'jenkins:unit')
  Rake::Task['jenkins:unit'].enhance ['test:foreman_remote_execution']
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
foreman_remote_execution-14.1.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-14.0.2 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-14.0.1 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-13.2.6 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-14.0.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-13.2.5 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-13.2.4 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-13.2.3 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-13.2.2 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-12.0.7 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-13.2.1 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-13.2.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-10.1.3 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-13.0.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-12.0.5 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-12.0.4 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-12.0.1 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-12.0.2 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-11.1.3 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-10.1.2 lib/tasks/foreman_remote_execution_tasks.rake