Sha256: 14da63da2e6ebb30b64fff5b6710a6aa25adcafcfbc975b91f35d91df1a5b20c
Contents?: true
Size: 784 Bytes
Versions: 36
Compression:
Stored size: 784 Bytes
Contents
#!/usr/bin/env ruby require 'hybrid_platforms_conductor/executable' test_node = nil executable = HybridPlatformsConductor::Executable.new( check_options: false, nodes_selection_options: false, parallel_options: false ) do |opts| opts.on('-n', '--node NODE', 'Run the command on a specific node.') do |node| test_node = node end end nodes_handler = executable.nodes_handler actions_executor = executable.actions_executor deployer = executable.deployer executable.parse_options! raise 'No node selected. Please use --node option to set at least one.' if test_node.nil? || test_node.empty? raise "Unknown node: #{test_node}" unless nodes_handler.known_nodes.include?(test_node) # Make sure we always use why-run deployer.use_why_run = true deployer.deploy_on(test_node)
Version data entries
36 entries across 36 versions & 1 rubygems