Sha256: d55b5fe8bc2ba618876f0f2c6d0470bd7ea11e76fedddfd89e90de8d744f4f5e
Contents?: true
Size: 956 Bytes
Versions: 23
Compression:
Stored size: 956 Bytes
Contents
require 'ruby_fly' require 'rake_factory' module RakeFly module Tasks module Pipeline class Push < RakeFactory::Task default_name :push default_description RakeFactory::DynamicValue.new { |t| pipeline = t.pipeline || '<derived>' target = t.target || '<derived>' "Push pipeline #{pipeline} to target #{target}" } parameter :target, :required => true parameter :pipeline, :required => true parameter :get_task_name, :default => :get parameter :set_task_name, :default => :set parameter :unpause_task_name, :default => :unpause action do |t, args| [ t.application[t.set_task_name, t.scope], t.application[t.get_task_name, t.scope], t.application[t.unpause_task_name, t.scope] ].each do |task| task.invoke(*args) end end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems