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

Version Path
hybrid_platforms_conductor-33.0.0 bin/check-node
hybrid_platforms_conductor-32.18.0 bin/check-node
hybrid_platforms_conductor-32.17.1 bin/check-node
hybrid_platforms_conductor-32.17.0 bin/check-node
hybrid_platforms_conductor-32.16.4 bin/check-node
hybrid_platforms_conductor-32.16.3 bin/check-node
hybrid_platforms_conductor-32.16.2 bin/check-node
hybrid_platforms_conductor-32.16.1 bin/check-node
hybrid_platforms_conductor-32.16.0 bin/check-node
hybrid_platforms_conductor-32.15.0 bin/check-node
hybrid_platforms_conductor-32.14.0 bin/check-node
hybrid_platforms_conductor-32.13.4 bin/check-node
hybrid_platforms_conductor-32.13.3 bin/check-node
hybrid_platforms_conductor-32.13.2 bin/check-node
hybrid_platforms_conductor-32.13.1 bin/check-node
hybrid_platforms_conductor-32.13.0 bin/check-node
hybrid_platforms_conductor-32.12.0 bin/check-node
hybrid_platforms_conductor-32.11.2 bin/check-node
hybrid_platforms_conductor-32.11.1 bin/check-node
hybrid_platforms_conductor-32.11.0 bin/check-node