Sha256: 4c08aef253b100fa7799f07a529ff56232bb27513ebe7ca1f5a0aab964952e13

Contents?: true

Size: 902 Bytes

Versions: 16

Compression:

Stored size: 902 Bytes

Contents

require 'abt'
require 'time'
require_relative 'test_base'

# Config for abt tests to run on IronWorker
@abt_config = YAML::load_file(File.expand_path(File.join("~", "Dropbox", "configs", "abt", "test", "config.yml")))
IronWorker.configure do |c|
  c.token = @abt_config['iron']['token']
  c.project_id = @abt_config['iron']['project_id']
end

# IronWorker.logger.level = Logger::DEBUG
# Config to run iron_mq_ruby tests
@test_config = TestBase.load_config

worker = Abt::AbtWorker.new
worker.git_url = "git://github.com/iron-io/iron_mq_ruby.git"
worker.test_config = @test_config
worker.add_notifier(:hip_chat_notifier, :config=>@abt_config["hipchat"])
worker.upload # Must upload after adding notifier to ensure it's merged
#worker.run_local
#worker.queue
#status = worker.wait_until_complete
#p status
#puts "LOG:"
#puts worker.get_log
#worker.schedule(:start_at=>Time.now.iso8601, :run_every=>3600)

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
iron_mq-3.0.2 test/schedule_abt.rb
iron_mq-3.0.1 test/schedule_abt.rb
iron_mq-3.0.0 test/schedule_abt.rb
iron-0.0.1 test/schedule_abt.rb
iron_mq-2.1.3 test/schedule_abt.rb
iron_mq-2.1.2 test/schedule_abt.rb
iron_mq-2.1.1 test/schedule_abt.rb
iron_mq-2.1.0 test/schedule_abt.rb
iron_mq-2.0.0 test/schedule_abt.rb
iron_mq-1.9.1 test/schedule_abt.rb
iron_mq-1.9.0 test/schedule_abt.rb
iron_mq-1.8.0 test/schedule_abt.rb
iron_mq-1.7.3 test/schedule_abt.rb
iron_mq-1.7.2 test/schedule_abt.rb
iron_mq-1.7.1 test/schedule_abt.rb
iron_mq-1.7.0 test/schedule_abt.rb