Sha256: cf21087739ea3ad571bb2bade1a784635950abe0d400ac85987d1d96061e2541
Contents?: true
Size: 1.1 KB
Versions: 6
Compression:
Stored size: 1.1 KB
Contents
require 'rake_factory' require_relative '../tasks/get_pipeline' require_relative '../tasks/set_pipeline' require_relative '../tasks/unpause_pipeline' module RakeFly module TaskSets class Pipeline < RakeFactory::TaskSet parameter :argument_names, default: [] parameter :target, :required => true parameter :pipeline, :required => true parameter :config, :required => true parameter :vars parameter :var_files parameter :non_interactive parameter :get_pipeline_task_name, :default => :get_pipeline parameter :set_pipeline_task_name, :default => :set_pipeline parameter :unpause_pipeline_task_name, :default => :unpause_pipeline parameter :push_pipeline_task_name, :default => :push_pipeline task Tasks::GetPipeline, name: ->(ts) { ts.get_pipeline_task_name } task Tasks::SetPipeline, name: ->(ts) { ts.set_pipeline_task_name } task Tasks::UnpausePipeline, name: ->(ts) { ts.unpause_pipeline_task_name } task Tasks::PushPipeline, name: ->(ts) { ts.push_pipeline_task_name } end end end
Version data entries
6 entries across 6 versions & 1 rubygems