hybrid_platforms_conductor 32.17.0 → 33.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/README.md +6 -3
- data/bin/check-node +0 -1
- data/bin/deploy +0 -1
- data/bin/get_impacted_nodes +0 -1
- data/bin/last_deploys +12 -8
- data/bin/nodes_to_deploy +6 -6
- data/bin/setup +6 -6
- data/bin/topograph +1 -1
- data/docs/config_dsl.md +45 -1
- data/docs/executables.md +6 -7
- data/docs/executables/check-node.md +3 -3
- data/docs/executables/deploy.md +3 -3
- data/docs/executables/dump_nodes_json.md +3 -3
- data/docs/executables/test.md +3 -3
- data/docs/executables/topograph.md +3 -3
- data/docs/gen/mermaid/README.md-0.png +0 -0
- data/docs/gen/mermaid/docs/executables/check-node.md-0.png +0 -0
- data/docs/gen/mermaid/docs/executables/deploy.md-0.png +0 -0
- data/docs/gen/mermaid/docs/executables/free_ips.md-0.png +0 -0
- data/docs/gen/mermaid/docs/executables/get_impacted_nodes.md-0.png +0 -0
- data/docs/gen/mermaid/docs/executables/last_deploys.md-0.png +0 -0
- data/docs/gen/mermaid/docs/executables/nodes_to_deploy.md-0.png +0 -0
- data/docs/gen/mermaid/docs/executables/report.md-0.png +0 -0
- data/docs/gen/mermaid/docs/executables/run.md-0.png +0 -0
- data/docs/gen/mermaid/docs/executables/ssh_config.md-0.png +0 -0
- data/docs/gen/mermaid/docs/executables/test.md-0.png +0 -0
- data/docs/plugins.md +46 -0
- data/docs/plugins/connector/ssh.md +1 -1
- data/docs/plugins/log/remote_fs.md +26 -0
- data/docs/plugins/secrets_reader/cli.md +31 -0
- data/docs/plugins/secrets_reader/thycotic.md +46 -0
- data/docs/plugins/test/check_deploy_and_idempotence.md +1 -1
- data/docs/plugins/test/connection.md +1 -0
- data/docs/plugins/test/deploy_removes_root_access.md +1 -1
- data/docs/plugins/test/file_system.md +1 -0
- data/docs/plugins/test/hostname.md +1 -0
- data/docs/plugins/test/ip.md +1 -0
- data/docs/plugins/test/local_users.md +1 -0
- data/docs/plugins/test/mounts.md +1 -0
- data/docs/plugins/test/orphan_files.md +1 -0
- data/docs/plugins/test/ports.md +1 -0
- data/docs/plugins/test/spectre.md +1 -0
- data/docs/plugins/test/vulnerabilities.md +1 -0
- data/lib/hybrid_platforms_conductor/action.rb +4 -4
- data/lib/hybrid_platforms_conductor/actions_executor.rb +45 -43
- data/lib/hybrid_platforms_conductor/bitbucket.rb +5 -4
- data/lib/hybrid_platforms_conductor/cmd_runner.rb +13 -12
- data/lib/hybrid_platforms_conductor/cmdb.rb +2 -2
- data/lib/hybrid_platforms_conductor/common_config_dsl/bitbucket.rb +2 -1
- data/lib/hybrid_platforms_conductor/common_config_dsl/confluence.rb +2 -1
- data/lib/hybrid_platforms_conductor/common_config_dsl/file_system_tests.rb +5 -4
- data/lib/hybrid_platforms_conductor/common_config_dsl/github.rb +4 -3
- data/lib/hybrid_platforms_conductor/common_config_dsl/idempotence_tests.rb +2 -2
- data/lib/hybrid_platforms_conductor/config.rb +8 -4
- data/lib/hybrid_platforms_conductor/confluence.rb +1 -1
- data/lib/hybrid_platforms_conductor/connector.rb +5 -2
- data/lib/hybrid_platforms_conductor/core_extensions/cleanroom/fix_kwargs.rb +116 -0
- data/lib/hybrid_platforms_conductor/core_extensions/symbol/zero.rb +24 -0
- data/lib/hybrid_platforms_conductor/credentials.rb +39 -36
- data/lib/hybrid_platforms_conductor/current_dir_monitor.rb +4 -1
- data/lib/hybrid_platforms_conductor/deployer.rb +275 -224
- data/lib/hybrid_platforms_conductor/executable.rb +20 -15
- data/lib/hybrid_platforms_conductor/hpc_plugins/cmdb/config.rb +10 -7
- data/lib/hybrid_platforms_conductor/hpc_plugins/cmdb/host_ip.rb +1 -1
- data/lib/hybrid_platforms_conductor/hpc_plugins/cmdb/host_keys.rb +2 -2
- data/lib/hybrid_platforms_conductor/hpc_plugins/cmdb/platform_handlers.rb +4 -4
- data/lib/hybrid_platforms_conductor/hpc_plugins/connector/local.rb +2 -0
- data/lib/hybrid_platforms_conductor/hpc_plugins/connector/ssh.rb +45 -49
- data/lib/hybrid_platforms_conductor/hpc_plugins/log/my_log_plugin.rb.sample +100 -0
- data/lib/hybrid_platforms_conductor/hpc_plugins/log/remote_fs.rb +180 -0
- data/lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef.rb +68 -66
- data/lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef/dsl_parser.rb +13 -0
- data/lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef/recipes_tree_builder.rb +39 -38
- data/lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/yaml_inventory.rb +5 -4
- data/lib/hybrid_platforms_conductor/hpc_plugins/provisioner/docker.rb +43 -45
- data/lib/hybrid_platforms_conductor/hpc_plugins/provisioner/podman.rb +18 -20
- data/lib/hybrid_platforms_conductor/hpc_plugins/provisioner/proxmox.rb +118 -117
- data/lib/hybrid_platforms_conductor/hpc_plugins/provisioner/proxmox/proxmox_waiter.rb +39 -43
- data/lib/hybrid_platforms_conductor/hpc_plugins/provisioner/proxmox/reserve_proxmox_container +9 -13
- data/lib/hybrid_platforms_conductor/hpc_plugins/report/confluence.rb +2 -2
- data/lib/hybrid_platforms_conductor/hpc_plugins/report/mediawiki.rb +28 -21
- data/lib/hybrid_platforms_conductor/hpc_plugins/report/stdout.rb +26 -22
- data/lib/hybrid_platforms_conductor/hpc_plugins/secrets_reader/cli.rb +77 -0
- data/lib/hybrid_platforms_conductor/hpc_plugins/secrets_reader/my_secrets_reader_plugin.rb.sample +46 -0
- data/lib/hybrid_platforms_conductor/hpc_plugins/secrets_reader/thycotic.rb +90 -0
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/bitbucket_conf.rb +3 -3
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/check_deploy_and_idempotence.rb +4 -2
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/connection.rb +3 -1
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/deploy_freshness.rb +7 -21
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/deploy_removes_root_access.rb +21 -19
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/divergence.rb +2 -2
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/executables.rb +2 -2
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/file_system.rb +21 -22
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/file_system_hdfs.rb +19 -21
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/github_ci.rb +2 -3
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/hostname.rb +3 -1
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/idempotence.rb +2 -2
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/ip.rb +4 -2
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/jenkins_ci_conf.rb +21 -22
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/jenkins_ci_masters_ok.rb +10 -12
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/linear_strategy.rb +9 -9
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/local_users.rb +5 -3
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/mounts.rb +5 -3
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/orphan_files.rb +13 -10
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/ports.rb +5 -3
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/private_ips.rb +5 -5
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/public_ips.rb +5 -5
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/spectre.rb +7 -7
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/veids.rb +3 -3
- data/lib/hybrid_platforms_conductor/hpc_plugins/test/vulnerabilities.rb +27 -25
- data/lib/hybrid_platforms_conductor/hpc_plugins/test_report/confluence.rb +2 -2
- data/lib/hybrid_platforms_conductor/hpc_plugins/test_report/stdout.rb +8 -6
- data/lib/hybrid_platforms_conductor/io_router.rb +14 -13
- data/lib/hybrid_platforms_conductor/json_dumper.rb +2 -2
- data/lib/hybrid_platforms_conductor/log.rb +31 -0
- data/lib/hybrid_platforms_conductor/logger_helpers.rb +19 -16
- data/lib/hybrid_platforms_conductor/nodes_handler.rb +89 -71
- data/lib/hybrid_platforms_conductor/parallel_threads.rb +7 -11
- data/lib/hybrid_platforms_conductor/platform_handler.rb +7 -7
- data/lib/hybrid_platforms_conductor/platforms_handler.rb +5 -3
- data/lib/hybrid_platforms_conductor/plugin.rb +2 -2
- data/lib/hybrid_platforms_conductor/plugins.rb +14 -8
- data/lib/hybrid_platforms_conductor/provisioner.rb +4 -4
- data/lib/hybrid_platforms_conductor/report.rb +2 -2
- data/lib/hybrid_platforms_conductor/reports_handler.rb +3 -2
- data/lib/hybrid_platforms_conductor/secrets_reader.rb +31 -0
- data/lib/hybrid_platforms_conductor/services_handler.rb +32 -29
- data/lib/hybrid_platforms_conductor/test_only_remote_node.rb +18 -0
- data/lib/hybrid_platforms_conductor/test_report.rb +15 -18
- data/lib/hybrid_platforms_conductor/tests_runner.rb +116 -118
- data/lib/hybrid_platforms_conductor/thycotic.rb +28 -19
- data/lib/hybrid_platforms_conductor/topographer.rb +200 -190
- data/lib/hybrid_platforms_conductor/topographer/plugins/graphviz.rb +8 -8
- data/lib/hybrid_platforms_conductor/topographer/plugins/json.rb +4 -4
- data/lib/hybrid_platforms_conductor/version.rb +1 -1
- data/spec/hybrid_platforms_conductor_test.rb +33 -12
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/actions/bash_spec.rb +18 -11
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/actions/interactive_spec.rb +2 -2
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/actions/remote_bash_spec.rb +32 -21
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/actions/ruby_spec.rb +75 -49
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/actions/scp_spec.rb +27 -15
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/actions_spec.rb +90 -59
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/connection_spec.rb +46 -44
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/connectors/local/connectable_nodes_spec.rb +12 -8
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/connectors/local/remote_actions_spec.rb +4 -7
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/connectors/ssh/cli_options_spec.rb +21 -22
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/connectors/ssh/config_dsl_spec.rb +23 -24
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/connectors/ssh/connectable_nodes_spec.rb +10 -6
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/connectors/ssh/connections_spec.rb +106 -75
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/connectors/ssh/global_helpers_spec.rb +145 -126
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/connectors/ssh/node_helpers_spec.rb +3 -3
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/connectors/ssh/remote_actions_spec.rb +29 -25
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/logging_spec.rb +167 -142
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/parallel_spec.rb +272 -244
- data/spec/hybrid_platforms_conductor_test/api/actions_executor/timeout_spec.rb +16 -16
- data/spec/hybrid_platforms_conductor_test/api/cmd_runner_spec.rb +36 -36
- data/spec/hybrid_platforms_conductor_test/api/config_spec.rb +24 -22
- data/spec/hybrid_platforms_conductor_test/api/deployer/check_spec.rb +4 -2
- data/spec/hybrid_platforms_conductor_test/api/deployer/config_dsl_spec.rb +43 -5
- data/spec/hybrid_platforms_conductor_test/api/deployer/deploy_spec.rb +199 -216
- data/spec/hybrid_platforms_conductor_test/api/deployer/log_plugins/remote_fs_spec.rb +223 -0
- data/spec/hybrid_platforms_conductor_test/api/deployer/parse_deploy_output_spec.rb +55 -59
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioner_spec.rb +36 -62
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/podman_spec.rb +17 -17
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/config_dsl_spec.rb +4 -4
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/create_spec.rb +44 -51
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/destroy_spec.rb +3 -3
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/ip_spec.rb +12 -16
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/reserve_proxmox_container/destroy_vm_spec.rb +31 -19
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/reserve_proxmox_container/expired_containers_spec.rb +324 -266
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/reserve_proxmox_container/ips_assignment_spec.rb +89 -61
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/reserve_proxmox_container/other_lxc_containers_resources_spec.rb +117 -93
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/reserve_proxmox_container/pve_node_resources_spec.rb +71 -54
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/reserve_proxmox_container/retries_spec.rb +10 -8
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/reserve_proxmox_container/vm_ids_assignment_spec.rb +80 -60
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/start_spec.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/state_spec.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/stop_spec.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/api/deployer/secrets_reader_plugins/cli_spec.rb +64 -0
- data/spec/hybrid_platforms_conductor_test/api/deployer/secrets_reader_plugins/thycotic_spec.rb +268 -0
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/cmdbs/config_spec.rb +8 -10
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/cmdbs/host_ip_spec.rb +33 -24
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/cmdbs/host_keys_spec.rb +64 -51
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/cmdbs/platform_handlers_spec.rb +3 -3
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/cmdbs_plugins_api_spec.rb +50 -51
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/common_spec.rb +91 -81
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/config_dsl_spec.rb +14 -16
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/git_diff_impacts_spec.rb +51 -75
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/nodes_selectors_spec.rb +35 -26
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/platform_handlers_plugins_api_spec.rb +24 -16
- data/spec/hybrid_platforms_conductor_test/api/nodes_handler/several_platforms_spec.rb +29 -19
- data/spec/hybrid_platforms_conductor_test/api/platform_handler_spec.rb +4 -4
- data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/config_dsl_spec.rb +2 -2
- data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/deploy_output_parsing_spec.rb +6 -6
- data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/diff_impacts_spec.rb +57 -99
- data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/inventory_spec.rb +4 -4
- data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/packaging_spec.rb +32 -35
- data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/services_deployment_spec.rb +10 -10
- data/spec/hybrid_platforms_conductor_test/api/platforms_handler_spec.rb +38 -27
- data/spec/hybrid_platforms_conductor_test/api/plugins_spec.rb +46 -52
- data/spec/hybrid_platforms_conductor_test/api/reports_handler_spec.rb +2 -2
- data/spec/hybrid_platforms_conductor_test/api/services_handler/actions_to_deploy_spec.rb +90 -58
- data/spec/hybrid_platforms_conductor_test/api/services_handler/deploy_allowed_spec.rb +38 -34
- data/spec/hybrid_platforms_conductor_test/api/services_handler/log_info_spec.rb +11 -9
- data/spec/hybrid_platforms_conductor_test/api/services_handler/package_spec.rb +193 -171
- data/spec/hybrid_platforms_conductor_test/api/services_handler/parse_deploy_output_spec.rb +66 -54
- data/spec/hybrid_platforms_conductor_test/api/services_handler/prepare_for_deploy_spec.rb +147 -133
- data/spec/hybrid_platforms_conductor_test/api/tests_runner/common_spec.rb +69 -49
- data/spec/hybrid_platforms_conductor_test/api/tests_runner/global_spec.rb +5 -4
- data/spec/hybrid_platforms_conductor_test/api/tests_runner/node_check_spec.rb +8 -5
- data/spec/hybrid_platforms_conductor_test/api/tests_runner/node_spec.rb +8 -5
- data/spec/hybrid_platforms_conductor_test/api/tests_runner/node_ssh_spec.rb +30 -27
- data/spec/hybrid_platforms_conductor_test/api/tests_runner/platform_spec.rb +12 -9
- data/spec/hybrid_platforms_conductor_test/api/tests_runner/reports_spec.rb +48 -47
- data/spec/hybrid_platforms_conductor_test/api/tests_runner/test_plugins/bitbucket_conf_spec.rb +5 -5
- data/spec/hybrid_platforms_conductor_test/api/tests_runner/test_plugins/github_ci_spec.rb +5 -5
- data/spec/hybrid_platforms_conductor_test/api/tests_runner/test_reports_plugins/confluence_spec.rb +5 -5
- data/spec/hybrid_platforms_conductor_test/cmdb_plugins/test_cmdb.rb +9 -9
- data/spec/hybrid_platforms_conductor_test/cmdb_plugins/{test_cmdb2.rb → test_cmdb_2.rb} +6 -6
- data/spec/hybrid_platforms_conductor_test/cmdb_plugins/test_cmdb_others.rb +3 -3
- data/spec/hybrid_platforms_conductor_test/cmdb_plugins/{test_cmdb_others2.rb → test_cmdb_others_2.rb} +2 -2
- data/spec/hybrid_platforms_conductor_test/docs_spec.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/executables/{check-node_spec.rb → check_node_spec.rb} +4 -6
- data/spec/hybrid_platforms_conductor_test/executables/deploy_spec.rb +4 -6
- data/spec/hybrid_platforms_conductor_test/executables/get_impacted_nodes_spec.rb +76 -77
- data/spec/hybrid_platforms_conductor_test/executables/last_deploys_spec.rb +159 -113
- data/spec/hybrid_platforms_conductor_test/executables/nodes_to_deploy_spec.rb +299 -160
- data/spec/hybrid_platforms_conductor_test/executables/options/actions_executor_spec.rb +4 -6
- data/spec/hybrid_platforms_conductor_test/executables/options/cmd_runner_spec.rb +3 -5
- data/spec/hybrid_platforms_conductor_test/executables/options/common_spec.rb +8 -8
- data/spec/hybrid_platforms_conductor_test/executables/options/deployer_spec.rb +12 -196
- data/spec/hybrid_platforms_conductor_test/executables/options/nodes_handler_spec.rb +9 -10
- data/spec/hybrid_platforms_conductor_test/executables/options/nodes_selectors_spec.rb +9 -10
- data/spec/hybrid_platforms_conductor_test/executables/options/reports_handler_spec.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/executables/options/tests_runner_spec.rb +22 -22
- data/spec/hybrid_platforms_conductor_test/executables/report_spec.rb +22 -16
- data/spec/hybrid_platforms_conductor_test/executables/run_spec.rb +32 -32
- data/spec/hybrid_platforms_conductor_test/executables/ssh_config_spec.rb +7 -9
- data/spec/hybrid_platforms_conductor_test/executables/test_spec.rb +3 -5
- data/spec/hybrid_platforms_conductor_test/helpers/actions_executor_helpers.rb +2 -2
- data/spec/hybrid_platforms_conductor_test/helpers/cmd_runner_helpers.rb +4 -3
- data/spec/hybrid_platforms_conductor_test/helpers/cmdb_helpers.rb +2 -2
- data/spec/hybrid_platforms_conductor_test/helpers/config_helpers.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/helpers/connector_ssh_helpers.rb +12 -13
- data/spec/hybrid_platforms_conductor_test/helpers/deployer_helpers.rb +245 -56
- data/spec/hybrid_platforms_conductor_test/helpers/executables_helpers.rb +11 -11
- data/spec/hybrid_platforms_conductor_test/helpers/nodes_handler_helpers.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/helpers/platforms_handler_helpers.rb +39 -28
- data/spec/hybrid_platforms_conductor_test/helpers/plugins_helpers.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/helpers/provisioner_proxmox_helpers.rb +86 -111
- data/spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/helpers/serverless_chef_helpers.rb +3 -3
- data/spec/hybrid_platforms_conductor_test/helpers/services_handler_helpers.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/helpers/tests_runner_helpers.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem/hpc_plugins/test_plugin_type/{test_plugin_id1.rb → test_plugin_id_1.rb} +0 -0
- data/spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem/hpc_plugins/test_plugin_type/{test_plugin_id2.rb → test_plugin_id_2.rb} +0 -0
- data/spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem2/sub_dir/hpc_plugins/test_plugin_type/{test_plugin_id3.rb → test_plugin_id_3.rb} +0 -0
- data/spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem2/sub_dir/hpc_plugins/{test_plugin_type2/test_plugin_id4.rb → test_plugin_type_2/test_plugin_id_4.rb} +0 -0
- data/spec/hybrid_platforms_conductor_test/platform_handler_plugins/test.rb +1 -1
- data/spec/hybrid_platforms_conductor_test/platform_handler_plugins/{test2.rb → test_2.rb} +0 -0
- data/spec/hybrid_platforms_conductor_test/rubocop_spec.rb +31 -0
- data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/1_node/nodes/node.json +3 -3
- data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/data_bags/nodes/node.json +3 -3
- data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_2/libraries/default.rb +1 -0
- data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/other_cookbooks/test_cookbook_2/libraries/default.rb +1 -0
- data/spec/hybrid_platforms_conductor_test/shared_examples/deployer.rb +952 -0
- data/spec/hybrid_platforms_conductor_test/test_connector.rb +3 -3
- data/spec/hybrid_platforms_conductor_test/test_log_no_read_plugin.rb +84 -0
- data/spec/hybrid_platforms_conductor_test/test_log_plugin.rb +105 -0
- data/spec/hybrid_platforms_conductor_test/test_plugins/global.rb +1 -0
- data/spec/hybrid_platforms_conductor_test/test_plugins/node.rb +1 -0
- data/spec/hybrid_platforms_conductor_test/test_plugins/node_check.rb +1 -0
- data/spec/hybrid_platforms_conductor_test/test_plugins/platform.rb +1 -0
- data/spec/hybrid_platforms_conductor_test/test_plugins/several_checks.rb +2 -2
- data/spec/hybrid_platforms_conductor_test/test_secrets_reader_plugin.rb +45 -0
- data/spec/hybrid_platforms_conductor_test/tests_report_plugin.rb +5 -6
- data/spec/spec_helper.rb +17 -18
- data/tools/check_md +16 -20
- data/tools/generate_mermaid +1 -1
- metadata +195 -144
- data/spec/hybrid_platforms_conductor_test/helpers/deployer_test_helpers.rb +0 -916
data/tools/generate_mermaid
CHANGED
@@ -64,7 +64,7 @@ def gen_mermaid(file)
|
|
64
64
|
markdown << line
|
65
65
|
end
|
66
66
|
end
|
67
|
-
File.write(file, markdown.map { |line| "#{line}\n" }.join) if idx_mermaid
|
67
|
+
File.write(file, markdown.map { |line| "#{line}\n" }.join) if idx_mermaid.positive?
|
68
68
|
end
|
69
69
|
|
70
70
|
Tempfile.create('puppeteer') do |puppeteer_file|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hybrid_platforms_conductor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 33.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Muriel Salvan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: range_operators
|
@@ -290,183 +290,214 @@ dependencies:
|
|
290
290
|
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
292
|
version: '0.0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: rubocop
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - "~>"
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '1.16'
|
300
|
+
type: :development
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - "~>"
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '1.16'
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: rubocop-rspec
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - "~>"
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '2.4'
|
314
|
+
type: :development
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - "~>"
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '2.4'
|
293
321
|
description: Provides a complete toolset to help DevOps maintain, deploy, monitor
|
294
322
|
and test multiple platforms using various technologies
|
295
323
|
email:
|
296
324
|
- muriel@x-aeon.com
|
297
325
|
executables:
|
298
|
-
-
|
299
|
-
-
|
326
|
+
- free_ips
|
327
|
+
- setup
|
300
328
|
- check-node
|
301
|
-
-
|
302
|
-
- ssh_config
|
329
|
+
- deploy
|
303
330
|
- dump_nodes_json
|
331
|
+
- topograph
|
304
332
|
- run
|
305
|
-
- setup
|
306
333
|
- report
|
334
|
+
- free_veids
|
335
|
+
- get_impacted_nodes
|
336
|
+
- ssh_config
|
307
337
|
- last_deploys
|
308
338
|
- nodes_to_deploy
|
309
|
-
-
|
310
|
-
- free_veids
|
311
|
-
- deploy
|
339
|
+
- test
|
312
340
|
extensions: []
|
313
341
|
extra_rdoc_files:
|
314
|
-
- README.md
|
315
342
|
- CHANGELOG.md
|
316
343
|
- LICENSE.md
|
317
|
-
-
|
318
|
-
- docs/tutorial/04_test.md
|
319
|
-
- docs/tutorial/03_scale.md
|
320
|
-
- docs/tutorial/01_installation.md
|
321
|
-
- docs/tutorial/02_first_node.md
|
322
|
-
- docs/tutorial.md
|
344
|
+
- README.md
|
323
345
|
- docs/install.md
|
324
|
-
- docs/
|
325
|
-
- docs/
|
326
|
-
- docs/
|
327
|
-
- docs/plugins.md
|
328
|
-
- docs/
|
329
|
-
- docs/gen/mermaid/docs/executables/check-node.md-0.png
|
330
|
-
- docs/gen/mermaid/docs/executables/ssh_config.md-0.png
|
331
|
-
- docs/gen/mermaid/docs/executables/last_deploys.md-0.png
|
332
|
-
- docs/gen/mermaid/docs/executables/run.md-0.png
|
333
|
-
- docs/gen/mermaid/docs/executables/get_impacted_nodes.md-0.png
|
334
|
-
- docs/gen/mermaid/docs/executables/test.md-0.png
|
335
|
-
- docs/gen/mermaid/docs/executables/free_ips.md-0.png
|
336
|
-
- docs/gen/mermaid/docs/executables/free_veids.md-0.png
|
337
|
-
- docs/gen/mermaid/docs/executables/nodes_to_deploy.md-0.png
|
338
|
-
- docs/gen/mermaid/docs/executables/report.md-0.png
|
339
|
-
- docs/gen/mermaid/docs/executables/deploy.md-0.png
|
340
|
-
- docs/gen/mermaid/docs/executables/setup.md-0.png
|
341
|
-
- docs/executables/test.md
|
342
|
-
- docs/executables/free_ips.md
|
343
|
-
- docs/executables/run.md
|
344
|
-
- docs/executables/get_impacted_nodes.md
|
345
|
-
- docs/executables/last_deploys.md
|
346
|
-
- docs/executables/nodes_to_deploy.md
|
347
|
-
- docs/executables/setup.md
|
348
|
-
- docs/executables/deploy.md
|
349
|
-
- docs/executables/report.md
|
350
|
-
- docs/executables/check-node.md
|
351
|
-
- docs/executables/free_veids.md
|
352
|
-
- docs/executables/ssh_config.md
|
353
|
-
- docs/executables/topograph.md
|
354
|
-
- docs/executables/dump_nodes_json.md
|
355
|
-
- docs/plugins/platform_handler/serverless_chef.md
|
356
|
-
- docs/plugins/platform_handler/yaml_inventory.md
|
357
|
-
- docs/plugins/provisioner/proxmox.md
|
358
|
-
- docs/plugins/provisioner/podman.md
|
346
|
+
- docs/plugins/cmdb/platform_handlers.md
|
347
|
+
- docs/plugins/cmdb/config.md
|
348
|
+
- docs/plugins/cmdb/host_ip.md
|
349
|
+
- docs/plugins/cmdb/host_keys.md
|
350
|
+
- docs/plugins/log/remote_fs.md
|
359
351
|
- docs/plugins/provisioner/docker.md
|
360
|
-
- docs/plugins/
|
361
|
-
- docs/plugins/
|
362
|
-
- docs/plugins/
|
363
|
-
- docs/plugins/
|
364
|
-
- docs/plugins/
|
365
|
-
- docs/plugins/
|
366
|
-
- docs/plugins/
|
352
|
+
- docs/plugins/provisioner/podman.md
|
353
|
+
- docs/plugins/provisioner/proxmox.md
|
354
|
+
- docs/plugins/action/bash.md
|
355
|
+
- docs/plugins/action/scp.md
|
356
|
+
- docs/plugins/action/remote_bash.md
|
357
|
+
- docs/plugins/action/interactive.md
|
358
|
+
- docs/plugins/action/ruby.md
|
359
|
+
- docs/plugins/connector/ssh.md
|
360
|
+
- docs/plugins/connector/local.md
|
361
|
+
- docs/plugins/report/confluence.md
|
362
|
+
- docs/plugins/report/mediawiki.md
|
363
|
+
- docs/plugins/report/stdout.md
|
364
|
+
- docs/plugins/secrets_reader/thycotic.md
|
365
|
+
- docs/plugins/secrets_reader/cli.md
|
366
|
+
- docs/plugins/test/file_system_hdfs.md
|
367
|
+
- docs/plugins/test/mounts.md
|
368
|
+
- docs/plugins/test/idempotence.md
|
367
369
|
- docs/plugins/test/orphan_files.md
|
370
|
+
- docs/plugins/test/github_ci.md
|
368
371
|
- docs/plugins/test/veids.md
|
369
|
-
- docs/plugins/test/
|
370
|
-
- docs/plugins/test/ports.md
|
372
|
+
- docs/plugins/test/check_deploy_and_idempotence.md
|
371
373
|
- docs/plugins/test/hostname.md
|
372
|
-
- docs/plugins/test/
|
373
|
-
- docs/plugins/test/deploy_freshness.md
|
374
|
+
- docs/plugins/test/bitbucket_conf.md
|
374
375
|
- docs/plugins/test/deploy_from_scratch.md
|
375
|
-
- docs/plugins/test/
|
376
|
+
- docs/plugins/test/divergence.md
|
376
377
|
- docs/plugins/test/check_from_scratch.md
|
377
|
-
- docs/plugins/test/
|
378
|
-
- docs/plugins/test/linear_strategy.md
|
379
|
-
- docs/plugins/test/connection.md
|
380
|
-
- docs/plugins/test/check_deploy_and_idempotence.md
|
378
|
+
- docs/plugins/test/deploy_removes_root_access.md
|
381
379
|
- docs/plugins/test/file_system.md
|
382
|
-
- docs/plugins/test/
|
383
|
-
- docs/plugins/test/
|
380
|
+
- docs/plugins/test/spectre.md
|
381
|
+
- docs/plugins/test/vulnerabilities.md
|
382
|
+
- docs/plugins/test/ports.md
|
383
|
+
- docs/plugins/test/linear_strategy.md
|
384
384
|
- docs/plugins/test/jenkins_ci_conf.md
|
385
|
+
- docs/plugins/test/can_be_checked.md
|
386
|
+
- docs/plugins/test/public_ips.md
|
387
|
+
- docs/plugins/test/connection.md
|
385
388
|
- docs/plugins/test/jenkins_ci_masters_ok.md
|
386
|
-
- docs/plugins/test/
|
387
|
-
- docs/plugins/test/
|
388
|
-
- docs/plugins/
|
389
|
-
- docs/plugins/
|
390
|
-
- docs/plugins/
|
391
|
-
- docs/plugins/
|
389
|
+
- docs/plugins/test/deploy_freshness.md
|
390
|
+
- docs/plugins/test/executables.md
|
391
|
+
- docs/plugins/test/private_ips.md
|
392
|
+
- docs/plugins/test/ip.md
|
393
|
+
- docs/plugins/test/local_users.md
|
394
|
+
- docs/plugins/platform_handler/serverless_chef.md
|
395
|
+
- docs/plugins/platform_handler/yaml_inventory.md
|
392
396
|
- docs/plugins/test_report/confluence.md
|
393
|
-
- docs/plugins/
|
394
|
-
- docs/plugins/connector/ssh.md
|
395
|
-
- docs/plugins/action/interactive.md
|
396
|
-
- docs/plugins/action/scp.md
|
397
|
-
- docs/plugins/action/remote_bash.md
|
398
|
-
- docs/plugins/action/ruby.md
|
399
|
-
- docs/plugins/action/bash.md
|
400
|
-
- docs/plugins/cmdb/host_ip.md
|
401
|
-
- docs/plugins/cmdb/config.md
|
402
|
-
- docs/plugins/cmdb/platform_handlers.md
|
403
|
-
- docs/plugins/cmdb/host_keys.md
|
397
|
+
- docs/plugins/test_report/stdout.md
|
404
398
|
- docs/config_dsl.md
|
405
|
-
-
|
406
|
-
-
|
407
|
-
-
|
408
|
-
-
|
409
|
-
-
|
410
|
-
-
|
411
|
-
-
|
399
|
+
- docs/executables/free_veids.md
|
400
|
+
- docs/executables/last_deploys.md
|
401
|
+
- docs/executables/nodes_to_deploy.md
|
402
|
+
- docs/executables/topograph.md
|
403
|
+
- docs/executables/report.md
|
404
|
+
- docs/executables/get_impacted_nodes.md
|
405
|
+
- docs/executables/run.md
|
406
|
+
- docs/executables/deploy.md
|
407
|
+
- docs/executables/dump_nodes_json.md
|
408
|
+
- docs/executables/ssh_config.md
|
409
|
+
- docs/executables/test.md
|
410
|
+
- docs/executables/setup.md
|
411
|
+
- docs/executables/free_ips.md
|
412
|
+
- docs/executables/check-node.md
|
413
|
+
- docs/plugins_create.md
|
414
|
+
- docs/tutorial/01_installation.md
|
415
|
+
- docs/tutorial/04_test.md
|
416
|
+
- docs/tutorial/03_scale.md
|
417
|
+
- docs/tutorial/02_first_node.md
|
418
|
+
- docs/tutorial/05_extend_with_plugins.md
|
419
|
+
- docs/tutorial.md
|
420
|
+
- docs/api.md
|
421
|
+
- docs/executables.md
|
422
|
+
- docs/gen/mermaid/README.md-0.png
|
423
|
+
- docs/gen/mermaid/docs/executables/test.md-0.png
|
424
|
+
- docs/gen/mermaid/docs/executables/last_deploys.md-0.png
|
425
|
+
- docs/gen/mermaid/docs/executables/free_ips.md-0.png
|
426
|
+
- docs/gen/mermaid/docs/executables/deploy.md-0.png
|
427
|
+
- docs/gen/mermaid/docs/executables/check-node.md-0.png
|
428
|
+
- docs/gen/mermaid/docs/executables/get_impacted_nodes.md-0.png
|
429
|
+
- docs/gen/mermaid/docs/executables/setup.md-0.png
|
430
|
+
- docs/gen/mermaid/docs/executables/report.md-0.png
|
431
|
+
- docs/gen/mermaid/docs/executables/free_veids.md-0.png
|
432
|
+
- docs/gen/mermaid/docs/executables/ssh_config.md-0.png
|
433
|
+
- docs/gen/mermaid/docs/executables/nodes_to_deploy.md-0.png
|
434
|
+
- docs/gen/mermaid/docs/executables/run.md-0.png
|
435
|
+
- docs/plugins.md
|
436
|
+
- examples/tutorial/04_test/my-service-conf-repo/service_web-hello.rb
|
437
|
+
- examples/tutorial/04_test/my-service-conf-repo/service_my-service.rb
|
438
|
+
- examples/tutorial/04_test/my-service-conf-repo/my-service.conf.erb
|
439
|
+
- examples/tutorial/04_test/my-service-conf-repo/inventory.yaml
|
440
|
+
- examples/tutorial/04_test/my-platforms/hpc_config.rb
|
441
|
+
- examples/tutorial/04_test/my-platforms/Gemfile
|
442
|
+
- examples/tutorial/04_test/my-platforms/images/debian_10/Dockerfile
|
443
|
+
- examples/tutorial/04_test/my-platforms/my_commands.bash
|
444
|
+
- examples/tutorial/04_test/web_docker_image/hello_world.txt
|
445
|
+
- examples/tutorial/04_test/web_docker_image/test.bash
|
446
|
+
- examples/tutorial/04_test/web_docker_image/hpc_root.key.pub
|
447
|
+
- examples/tutorial/04_test/web_docker_image/Dockerfile
|
448
|
+
- examples/tutorial/04_test/web_docker_image/hpc_root.key
|
449
|
+
- examples/tutorial/04_test/web_docker_image/start.sh
|
450
|
+
- examples/tutorial/04_test/web_docker_image/main.go
|
451
|
+
- examples/tutorial/04_test/node/my-service.conf
|
452
|
+
- examples/tutorial/03_scale/my-service-conf-repo/service_web-hello.rb
|
453
|
+
- examples/tutorial/03_scale/my-service-conf-repo/service_my-service.rb
|
454
|
+
- examples/tutorial/03_scale/my-service-conf-repo/my-service.conf.erb
|
455
|
+
- examples/tutorial/03_scale/my-service-conf-repo/inventory.yaml
|
456
|
+
- examples/tutorial/03_scale/my-platforms/hpc_config.rb
|
457
|
+
- examples/tutorial/03_scale/my-platforms/Gemfile
|
458
|
+
- examples/tutorial/03_scale/my-platforms/my_commands.bash
|
459
|
+
- examples/tutorial/03_scale/web_docker_image/hello_world.txt
|
460
|
+
- examples/tutorial/03_scale/web_docker_image/test.bash
|
461
|
+
- examples/tutorial/03_scale/web_docker_image/hpc_root.key.pub
|
462
|
+
- examples/tutorial/03_scale/web_docker_image/Dockerfile
|
463
|
+
- examples/tutorial/03_scale/web_docker_image/hpc_root.key
|
464
|
+
- examples/tutorial/03_scale/web_docker_image/start.sh
|
465
|
+
- examples/tutorial/03_scale/web_docker_image/main.go
|
466
|
+
- examples/tutorial/03_scale/node/my-service.conf
|
412
467
|
- examples/tutorial/05_extend_with_plugins/my-service-conf-repo/service_web-hello.rb
|
413
|
-
- examples/tutorial/05_extend_with_plugins/my-service-conf-repo/my-service.conf.erb
|
414
468
|
- examples/tutorial/05_extend_with_plugins/my-service-conf-repo/service_my-service.rb
|
469
|
+
- examples/tutorial/05_extend_with_plugins/my-service-conf-repo/my-service.conf.erb
|
415
470
|
- examples/tutorial/05_extend_with_plugins/my-service-conf-repo/inventory.yaml
|
416
471
|
- examples/tutorial/05_extend_with_plugins/my-platforms/hpc_config.rb
|
417
472
|
- examples/tutorial/05_extend_with_plugins/my-platforms/Gemfile
|
418
|
-
- examples/tutorial/05_extend_with_plugins/my-platforms/my_commands.bash
|
419
473
|
- examples/tutorial/05_extend_with_plugins/my-platforms/images/debian_10/Dockerfile
|
474
|
+
- examples/tutorial/05_extend_with_plugins/my-platforms/my_commands.bash
|
420
475
|
- examples/tutorial/05_extend_with_plugins/dev_docker_image/hpc_root.key.pub
|
421
476
|
- examples/tutorial/05_extend_with_plugins/dev_docker_image/Dockerfile
|
422
477
|
- examples/tutorial/05_extend_with_plugins/dev_docker_image/hpc_root.key
|
423
|
-
- examples/tutorial/05_extend_with_plugins/
|
478
|
+
- examples/tutorial/05_extend_with_plugins/web_docker_image/hello_world.txt
|
479
|
+
- examples/tutorial/05_extend_with_plugins/web_docker_image/test.bash
|
424
480
|
- examples/tutorial/05_extend_with_plugins/web_docker_image/hpc_root.key.pub
|
425
|
-
- examples/tutorial/05_extend_with_plugins/web_docker_image/main.go
|
426
|
-
- examples/tutorial/05_extend_with_plugins/web_docker_image/start.sh
|
427
481
|
- examples/tutorial/05_extend_with_plugins/web_docker_image/Dockerfile
|
428
482
|
- examples/tutorial/05_extend_with_plugins/web_docker_image/hpc_root.key
|
429
|
-
- examples/tutorial/05_extend_with_plugins/web_docker_image/
|
430
|
-
- examples/tutorial/05_extend_with_plugins/web_docker_image/
|
431
|
-
- examples/tutorial/
|
483
|
+
- examples/tutorial/05_extend_with_plugins/web_docker_image/start.sh
|
484
|
+
- examples/tutorial/05_extend_with_plugins/web_docker_image/main.go
|
485
|
+
- examples/tutorial/05_extend_with_plugins/dev-servers-conf-repo/hosts.json
|
486
|
+
- examples/tutorial/05_extend_with_plugins/dev-servers-conf-repo/install-gcc.bash
|
487
|
+
- examples/tutorial/05_extend_with_plugins/dev-servers-conf-repo/install-python.bash
|
488
|
+
- examples/tutorial/05_extend_with_plugins/my_hpc_plugins/lib/my_hpc_plugins/hpc_plugins/report/web_report.rb
|
489
|
+
- examples/tutorial/05_extend_with_plugins/my_hpc_plugins/lib/my_hpc_plugins/hpc_plugins/test/root_space.rb
|
490
|
+
- examples/tutorial/05_extend_with_plugins/my_hpc_plugins/lib/my_hpc_plugins/hpc_plugins/platform_handler/json_bash.rb
|
491
|
+
- examples/tutorial/05_extend_with_plugins/my_hpc_plugins/my_hpc_plugins.gemspec
|
492
|
+
- examples/tutorial/05_extend_with_plugins/node/my-service.conf
|
432
493
|
- examples/tutorial/02_first_node/my-service-conf-repo/service_my-service.rb
|
494
|
+
- examples/tutorial/02_first_node/my-service-conf-repo/my-service.conf.erb
|
433
495
|
- examples/tutorial/02_first_node/my-service-conf-repo/inventory.yaml
|
434
496
|
- examples/tutorial/02_first_node/my-platforms/hpc_config.rb
|
435
497
|
- examples/tutorial/02_first_node/my-platforms/Gemfile
|
436
498
|
- examples/tutorial/02_first_node/node/my-service.conf
|
437
499
|
- examples/tutorial/01_installation/my-platforms/hpc_config.rb
|
438
500
|
- examples/tutorial/01_installation/my-platforms/Gemfile
|
439
|
-
- examples/tutorial/04_test/my-service-conf-repo/service_web-hello.rb
|
440
|
-
- examples/tutorial/04_test/my-service-conf-repo/my-service.conf.erb
|
441
|
-
- examples/tutorial/04_test/my-service-conf-repo/service_my-service.rb
|
442
|
-
- examples/tutorial/04_test/my-service-conf-repo/inventory.yaml
|
443
|
-
- examples/tutorial/04_test/my-platforms/hpc_config.rb
|
444
|
-
- examples/tutorial/04_test/my-platforms/Gemfile
|
445
|
-
- examples/tutorial/04_test/my-platforms/my_commands.bash
|
446
|
-
- examples/tutorial/04_test/my-platforms/images/debian_10/Dockerfile
|
447
|
-
- examples/tutorial/04_test/node/my-service.conf
|
448
|
-
- examples/tutorial/04_test/web_docker_image/hpc_root.key.pub
|
449
|
-
- examples/tutorial/04_test/web_docker_image/main.go
|
450
|
-
- examples/tutorial/04_test/web_docker_image/start.sh
|
451
|
-
- examples/tutorial/04_test/web_docker_image/Dockerfile
|
452
|
-
- examples/tutorial/04_test/web_docker_image/hpc_root.key
|
453
|
-
- examples/tutorial/04_test/web_docker_image/test.bash
|
454
|
-
- examples/tutorial/04_test/web_docker_image/hello_world.txt
|
455
|
-
- examples/tutorial/03_scale/my-service-conf-repo/service_web-hello.rb
|
456
|
-
- examples/tutorial/03_scale/my-service-conf-repo/my-service.conf.erb
|
457
|
-
- examples/tutorial/03_scale/my-service-conf-repo/service_my-service.rb
|
458
|
-
- examples/tutorial/03_scale/my-service-conf-repo/inventory.yaml
|
459
|
-
- examples/tutorial/03_scale/my-platforms/hpc_config.rb
|
460
|
-
- examples/tutorial/03_scale/my-platforms/Gemfile
|
461
|
-
- examples/tutorial/03_scale/my-platforms/my_commands.bash
|
462
|
-
- examples/tutorial/03_scale/node/my-service.conf
|
463
|
-
- examples/tutorial/03_scale/web_docker_image/hpc_root.key.pub
|
464
|
-
- examples/tutorial/03_scale/web_docker_image/main.go
|
465
|
-
- examples/tutorial/03_scale/web_docker_image/start.sh
|
466
|
-
- examples/tutorial/03_scale/web_docker_image/Dockerfile
|
467
|
-
- examples/tutorial/03_scale/web_docker_image/hpc_root.key
|
468
|
-
- examples/tutorial/03_scale/web_docker_image/test.bash
|
469
|
-
- examples/tutorial/03_scale/web_docker_image/hello_world.txt
|
470
501
|
- examples/localhost/hpc_config.rb
|
471
502
|
- examples/localhost/Gemfile
|
472
503
|
- examples/localhost/inventory.yaml
|
@@ -533,6 +564,7 @@ files:
|
|
533
564
|
- docs/plugins/cmdb/platform_handlers.md
|
534
565
|
- docs/plugins/connector/local.md
|
535
566
|
- docs/plugins/connector/ssh.md
|
567
|
+
- docs/plugins/log/remote_fs.md
|
536
568
|
- docs/plugins/platform_handler/serverless_chef.md
|
537
569
|
- docs/plugins/platform_handler/yaml_inventory.md
|
538
570
|
- docs/plugins/provisioner/docker.md
|
@@ -541,6 +573,8 @@ files:
|
|
541
573
|
- docs/plugins/report/confluence.md
|
542
574
|
- docs/plugins/report/mediawiki.md
|
543
575
|
- docs/plugins/report/stdout.md
|
576
|
+
- docs/plugins/secrets_reader/cli.md
|
577
|
+
- docs/plugins/secrets_reader/thycotic.md
|
544
578
|
- docs/plugins/test/bitbucket_conf.md
|
545
579
|
- docs/plugins/test/can_be_checked.md
|
546
580
|
- docs/plugins/test/check_deploy_and_idempotence.md
|
@@ -661,6 +695,8 @@ files:
|
|
661
695
|
- lib/hybrid_platforms_conductor/config.rb
|
662
696
|
- lib/hybrid_platforms_conductor/confluence.rb
|
663
697
|
- lib/hybrid_platforms_conductor/connector.rb
|
698
|
+
- lib/hybrid_platforms_conductor/core_extensions/cleanroom/fix_kwargs.rb
|
699
|
+
- lib/hybrid_platforms_conductor/core_extensions/symbol/zero.rb
|
664
700
|
- lib/hybrid_platforms_conductor/credentials.rb
|
665
701
|
- lib/hybrid_platforms_conductor/current_dir_monitor.rb
|
666
702
|
- lib/hybrid_platforms_conductor/deployer.rb
|
@@ -679,6 +715,8 @@ files:
|
|
679
715
|
- lib/hybrid_platforms_conductor/hpc_plugins/connector/local.rb
|
680
716
|
- lib/hybrid_platforms_conductor/hpc_plugins/connector/my_connector.rb.sample
|
681
717
|
- lib/hybrid_platforms_conductor/hpc_plugins/connector/ssh.rb
|
718
|
+
- lib/hybrid_platforms_conductor/hpc_plugins/log/my_log_plugin.rb.sample
|
719
|
+
- lib/hybrid_platforms_conductor/hpc_plugins/log/remote_fs.rb
|
682
720
|
- lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/platform_handler_plugin.rb.sample
|
683
721
|
- lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef.rb
|
684
722
|
- lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef/dsl_parser.rb
|
@@ -695,6 +733,9 @@ files:
|
|
695
733
|
- lib/hybrid_platforms_conductor/hpc_plugins/report/my_report_plugin.rb.sample
|
696
734
|
- lib/hybrid_platforms_conductor/hpc_plugins/report/stdout.rb
|
697
735
|
- lib/hybrid_platforms_conductor/hpc_plugins/report/templates/confluence_inventory.html.erb
|
736
|
+
- lib/hybrid_platforms_conductor/hpc_plugins/secrets_reader/cli.rb
|
737
|
+
- lib/hybrid_platforms_conductor/hpc_plugins/secrets_reader/my_secrets_reader_plugin.rb.sample
|
738
|
+
- lib/hybrid_platforms_conductor/hpc_plugins/secrets_reader/thycotic.rb
|
698
739
|
- lib/hybrid_platforms_conductor/hpc_plugins/test/bitbucket_conf.rb
|
699
740
|
- lib/hybrid_platforms_conductor/hpc_plugins/test/can_be_checked.rb
|
700
741
|
- lib/hybrid_platforms_conductor/hpc_plugins/test/check_deploy_and_idempotence.rb
|
@@ -733,6 +774,7 @@ files:
|
|
733
774
|
- lib/hybrid_platforms_conductor/hpc_plugins/test_report/templates/confluence.html.erb
|
734
775
|
- lib/hybrid_platforms_conductor/io_router.rb
|
735
776
|
- lib/hybrid_platforms_conductor/json_dumper.rb
|
777
|
+
- lib/hybrid_platforms_conductor/log.rb
|
736
778
|
- lib/hybrid_platforms_conductor/logger_helpers.rb
|
737
779
|
- lib/hybrid_platforms_conductor/mutex_dir
|
738
780
|
- lib/hybrid_platforms_conductor/nodes_handler.rb
|
@@ -744,9 +786,11 @@ files:
|
|
744
786
|
- lib/hybrid_platforms_conductor/provisioner.rb
|
745
787
|
- lib/hybrid_platforms_conductor/report.rb
|
746
788
|
- lib/hybrid_platforms_conductor/reports_handler.rb
|
789
|
+
- lib/hybrid_platforms_conductor/secrets_reader.rb
|
747
790
|
- lib/hybrid_platforms_conductor/services_handler.rb
|
748
791
|
- lib/hybrid_platforms_conductor/test.rb
|
749
792
|
- lib/hybrid_platforms_conductor/test_by_service.rb
|
793
|
+
- lib/hybrid_platforms_conductor/test_only_remote_node.rb
|
750
794
|
- lib/hybrid_platforms_conductor/test_report.rb
|
751
795
|
- lib/hybrid_platforms_conductor/tests_runner.rb
|
752
796
|
- lib/hybrid_platforms_conductor/thycotic.rb
|
@@ -782,6 +826,7 @@ files:
|
|
782
826
|
- spec/hybrid_platforms_conductor_test/api/deployer/check_spec.rb
|
783
827
|
- spec/hybrid_platforms_conductor_test/api/deployer/config_dsl_spec.rb
|
784
828
|
- spec/hybrid_platforms_conductor_test/api/deployer/deploy_spec.rb
|
829
|
+
- spec/hybrid_platforms_conductor_test/api/deployer/log_plugins/remote_fs_spec.rb
|
785
830
|
- spec/hybrid_platforms_conductor_test/api/deployer/parse_deploy_output_spec.rb
|
786
831
|
- spec/hybrid_platforms_conductor_test/api/deployer/provisioner_spec.rb
|
787
832
|
- spec/hybrid_platforms_conductor_test/api/deployer/provisioners/docker/Dockerfile
|
@@ -802,6 +847,8 @@ files:
|
|
802
847
|
- spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/start_spec.rb
|
803
848
|
- spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/state_spec.rb
|
804
849
|
- spec/hybrid_platforms_conductor_test/api/deployer/provisioners/proxmox/stop_spec.rb
|
850
|
+
- spec/hybrid_platforms_conductor_test/api/deployer/secrets_reader_plugins/cli_spec.rb
|
851
|
+
- spec/hybrid_platforms_conductor_test/api/deployer/secrets_reader_plugins/thycotic_spec.rb
|
805
852
|
- spec/hybrid_platforms_conductor_test/api/nodes_handler/cmdbs/config_spec.rb
|
806
853
|
- spec/hybrid_platforms_conductor_test/api/nodes_handler/cmdbs/host_ip_spec.rb
|
807
854
|
- spec/hybrid_platforms_conductor_test/api/nodes_handler/cmdbs/host_keys_spec.rb
|
@@ -840,11 +887,11 @@ files:
|
|
840
887
|
- spec/hybrid_platforms_conductor_test/api/tests_runner/test_plugins/github_ci_spec.rb
|
841
888
|
- spec/hybrid_platforms_conductor_test/api/tests_runner/test_reports_plugins/confluence_spec.rb
|
842
889
|
- spec/hybrid_platforms_conductor_test/cmdb_plugins/test_cmdb.rb
|
843
|
-
- spec/hybrid_platforms_conductor_test/cmdb_plugins/
|
890
|
+
- spec/hybrid_platforms_conductor_test/cmdb_plugins/test_cmdb_2.rb
|
844
891
|
- spec/hybrid_platforms_conductor_test/cmdb_plugins/test_cmdb_others.rb
|
845
|
-
- spec/hybrid_platforms_conductor_test/cmdb_plugins/
|
892
|
+
- spec/hybrid_platforms_conductor_test/cmdb_plugins/test_cmdb_others_2.rb
|
846
893
|
- spec/hybrid_platforms_conductor_test/docs_spec.rb
|
847
|
-
- spec/hybrid_platforms_conductor_test/executables/
|
894
|
+
- spec/hybrid_platforms_conductor_test/executables/check_node_spec.rb
|
848
895
|
- spec/hybrid_platforms_conductor_test/executables/deploy_spec.rb
|
849
896
|
- spec/hybrid_platforms_conductor_test/executables/get_impacted_nodes_spec.rb
|
850
897
|
- spec/hybrid_platforms_conductor_test/executables/last_deploys_spec.rb
|
@@ -867,7 +914,6 @@ files:
|
|
867
914
|
- spec/hybrid_platforms_conductor_test/helpers/config_helpers.rb
|
868
915
|
- spec/hybrid_platforms_conductor_test/helpers/connector_ssh_helpers.rb
|
869
916
|
- spec/hybrid_platforms_conductor_test/helpers/deployer_helpers.rb
|
870
|
-
- spec/hybrid_platforms_conductor_test/helpers/deployer_test_helpers.rb
|
871
917
|
- spec/hybrid_platforms_conductor_test/helpers/executables_helpers.rb
|
872
918
|
- spec/hybrid_platforms_conductor_test/helpers/nodes_handler_helpers.rb
|
873
919
|
- spec/hybrid_platforms_conductor_test/helpers/platform_handler_helpers.rb
|
@@ -878,13 +924,14 @@ files:
|
|
878
924
|
- spec/hybrid_platforms_conductor_test/helpers/serverless_chef_helpers.rb
|
879
925
|
- spec/hybrid_platforms_conductor_test/helpers/services_handler_helpers.rb
|
880
926
|
- spec/hybrid_platforms_conductor_test/helpers/tests_runner_helpers.rb
|
881
|
-
- spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem/hpc_plugins/test_plugin_type/
|
882
|
-
- spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem/hpc_plugins/test_plugin_type/
|
883
|
-
- spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem2/sub_dir/hpc_plugins/test_plugin_type/
|
884
|
-
- spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem2/sub_dir/hpc_plugins/
|
927
|
+
- spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem/hpc_plugins/test_plugin_type/test_plugin_id_1.rb
|
928
|
+
- spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem/hpc_plugins/test_plugin_type/test_plugin_id_2.rb
|
929
|
+
- spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem2/sub_dir/hpc_plugins/test_plugin_type/test_plugin_id_3.rb
|
930
|
+
- spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem2/sub_dir/hpc_plugins/test_plugin_type_2/test_plugin_id_4.rb
|
885
931
|
- spec/hybrid_platforms_conductor_test/platform_handler_plugins/test.rb
|
886
|
-
- spec/hybrid_platforms_conductor_test/platform_handler_plugins/
|
932
|
+
- spec/hybrid_platforms_conductor_test/platform_handler_plugins/test_2.rb
|
887
933
|
- spec/hybrid_platforms_conductor_test/report_plugin.rb
|
934
|
+
- spec/hybrid_platforms_conductor_test/rubocop_spec.rb
|
888
935
|
- spec/hybrid_platforms_conductor_test/serverless_chef_repositories/1_node/chef_versions.yml
|
889
936
|
- spec/hybrid_platforms_conductor_test/serverless_chef_repositories/1_node/nodes/node.json
|
890
937
|
- spec/hybrid_platforms_conductor_test/serverless_chef_repositories/1_node/policyfiles/test_policy.rb
|
@@ -922,8 +969,11 @@ files:
|
|
922
969
|
- spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/nodes/node2.json
|
923
970
|
- spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/policyfiles/test_policy_1.rb
|
924
971
|
- spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/policyfiles/test_policy_2.rb
|
972
|
+
- spec/hybrid_platforms_conductor_test/shared_examples/deployer.rb
|
925
973
|
- spec/hybrid_platforms_conductor_test/test_action.rb
|
926
974
|
- spec/hybrid_platforms_conductor_test/test_connector.rb
|
975
|
+
- spec/hybrid_platforms_conductor_test/test_log_no_read_plugin.rb
|
976
|
+
- spec/hybrid_platforms_conductor_test/test_log_plugin.rb
|
927
977
|
- spec/hybrid_platforms_conductor_test/test_plugins/global.rb
|
928
978
|
- spec/hybrid_platforms_conductor_test/test_plugins/node.rb
|
929
979
|
- spec/hybrid_platforms_conductor_test/test_plugins/node_check.rb
|
@@ -931,6 +981,7 @@ files:
|
|
931
981
|
- spec/hybrid_platforms_conductor_test/test_plugins/platform.rb
|
932
982
|
- spec/hybrid_platforms_conductor_test/test_plugins/several_checks.rb
|
933
983
|
- spec/hybrid_platforms_conductor_test/test_provisioner.rb
|
984
|
+
- spec/hybrid_platforms_conductor_test/test_secrets_reader_plugin.rb
|
934
985
|
- spec/hybrid_platforms_conductor_test/tests_report_plugin.rb
|
935
986
|
- spec/spec_helper.rb
|
936
987
|
- tools/check_md
|
@@ -945,9 +996,9 @@ require_paths:
|
|
945
996
|
- lib
|
946
997
|
required_ruby_version: !ruby/object:Gem::Requirement
|
947
998
|
requirements:
|
948
|
-
- - "
|
999
|
+
- - "~>"
|
949
1000
|
- !ruby/object:Gem::Version
|
950
|
-
version: '
|
1001
|
+
version: '2.6'
|
951
1002
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
952
1003
|
requirements:
|
953
1004
|
- - ">="
|