hybrid_platforms_conductor 32.13.3 → 32.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +60 -0
  3. data/bin/get_impacted_nodes +1 -1
  4. data/bin/setup +6 -1
  5. data/docs/plugins.md +1 -0
  6. data/docs/plugins/platform_handler/serverless_chef.md +111 -0
  7. data/lib/hybrid_platforms_conductor/cmd_runner.rb +13 -1
  8. data/lib/hybrid_platforms_conductor/connector.rb +4 -2
  9. data/lib/hybrid_platforms_conductor/deployer.rb +2 -1
  10. data/lib/hybrid_platforms_conductor/hpc_plugins/connector/local.rb +1 -1
  11. data/lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef.rb +535 -0
  12. data/lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef/dsl_parser.rb +51 -0
  13. data/lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef/recipes_tree_builder.rb +232 -0
  14. data/lib/hybrid_platforms_conductor/hpc_plugins/test/vulnerabilities.rb +1 -0
  15. data/lib/hybrid_platforms_conductor/nodes_handler.rb +9 -5
  16. data/lib/hybrid_platforms_conductor/version.rb +1 -1
  17. data/spec/hybrid_platforms_conductor_test.rb +3 -0
  18. data/spec/hybrid_platforms_conductor_test/api/cmd_runner_spec.rb +7 -0
  19. data/spec/hybrid_platforms_conductor_test/api/deployer/provisioner_spec.rb +23 -0
  20. data/spec/hybrid_platforms_conductor_test/api/nodes_handler/cmdbs_plugins_api_spec.rb +11 -0
  21. data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/config_dsl_spec.rb +17 -0
  22. data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/deploy_output_parsing_spec.rb +94 -0
  23. data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/diff_impacts_spec.rb +317 -0
  24. data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/inventory_spec.rb +65 -0
  25. data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/packaging_spec.rb +292 -0
  26. data/spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/services_deployment_spec.rb +272 -0
  27. data/spec/hybrid_platforms_conductor_test/helpers/cmd_runner_helpers.rb +1 -1
  28. data/spec/hybrid_platforms_conductor_test/helpers/serverless_chef_helpers.rb +53 -0
  29. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/1_node/chef_versions.yml +3 -0
  30. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/1_node/nodes/node.json +14 -0
  31. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/1_node/policyfiles/test_policy.rb +3 -0
  32. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/data_bags/chef_versions.yml +3 -0
  33. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/data_bags/data_bags/my_bag/my_item.json +4 -0
  34. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/data_bags/nodes/node.json +14 -0
  35. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/data_bags/policyfiles/test_policy.rb +3 -0
  36. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/hpc_test/chef_versions.yml +3 -0
  37. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/hpc_test/cookbooks/hpc_test/recipes/after_run.rb +1 -0
  38. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/hpc_test/cookbooks/hpc_test/recipes/before_run.rb +1 -0
  39. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/hpc_test/nodes/node.json +10 -0
  40. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/hpc_test/policyfiles/test_policy.rb +3 -0
  41. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_1/recipes/default.rb +1 -0
  42. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_2/libraries/default.rb +4 -0
  43. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_2/recipes/default.rb +1 -0
  44. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_2/recipes/other_recipe.rb +1 -0
  45. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_2/resources/my_resource.rb +1 -0
  46. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/nodes/node1.json +10 -0
  47. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/nodes/node2.json +10 -0
  48. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/policyfiles/test_policy_1.rb +4 -0
  49. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/policyfiles/test_policy_2.rb +4 -0
  50. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/config.rb +1 -0
  51. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/cookbooks/test_cookbook_1/recipes/default.rb +1 -0
  52. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/nodes/node1.json +10 -0
  53. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/nodes/node2.json +10 -0
  54. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/other_cookbooks/test_cookbook_2/libraries/default.rb +4 -0
  55. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/other_cookbooks/test_cookbook_2/recipes/default.rb +1 -0
  56. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/other_cookbooks/test_cookbook_2/recipes/other_recipe.rb +1 -0
  57. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/other_cookbooks/test_cookbook_2/resources/my_resource.rb +1 -0
  58. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/policyfiles/test_policy_1.rb +4 -0
  59. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/policyfiles/test_policy_2.rb +4 -0
  60. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/chef_versions.yml +3 -0
  61. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/nodes/local.json +10 -0
  62. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/nodes/node1.json +10 -0
  63. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/nodes/node2.json +10 -0
  64. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/policyfiles/test_policy_1.rb +3 -0
  65. data/spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/policyfiles/test_policy_2.rb +3 -0
  66. metadata +192 -143
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "node2",
3
+ "normal": {
4
+ "description": "Node 2",
5
+ "image": "debian_9",
6
+ "private_ips": ["172.16.0.2"]
7
+ },
8
+ "policy_name": "test_policy_2",
9
+ "policy_group": "test_group"
10
+ }
@@ -0,0 +1,4 @@
1
+ name File.basename(__FILE__, '.rb')
2
+ default_source :supermarket
3
+ default_source :chef_repo, '..'
4
+ run_list 'recipe[test_cookbook_1]'
@@ -0,0 +1,4 @@
1
+ name File.basename(__FILE__, '.rb')
2
+ default_source :supermarket
3
+ default_source :chef_repo, '..'
4
+ run_list 'recipe[test_cookbook_2]'
@@ -0,0 +1 @@
1
+ cookbook_path %w[cookbooks] + (ENV['hpc_test_cookbooks_path'] ? ENV['hpc_test_cookbooks_path'].split(':') : [])
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "node1",
3
+ "normal": {
4
+ "description": "Node 1",
5
+ "image": "debian_9",
6
+ "private_ips": ["172.16.0.1"]
7
+ },
8
+ "policy_name": "test_policy_1",
9
+ "policy_group": "test_group"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "node2",
3
+ "normal": {
4
+ "description": "Node 2",
5
+ "image": "debian_9",
6
+ "private_ips": ["172.16.0.2"]
7
+ },
8
+ "policy_name": "test_policy_2",
9
+ "policy_group": "test_group"
10
+ }
@@ -0,0 +1,4 @@
1
+ name File.basename(__FILE__, '.rb')
2
+ default_source :supermarket
3
+ default_source :chef_repo, '..'
4
+ run_list 'recipe[test_cookbook_1]'
@@ -0,0 +1,4 @@
1
+ name File.basename(__FILE__, '.rb')
2
+ default_source :supermarket
3
+ default_source :chef_repo, '..'
4
+ run_list 'recipe[test_cookbook_2]'
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "local",
3
+ "normal": {
4
+ "description": "Local node",
5
+ "image": "debian_9",
6
+ "use_local_chef": true
7
+ },
8
+ "policy_name": "test_policy_1",
9
+ "policy_group": "test_group"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "node1",
3
+ "normal": {
4
+ "description": "Node 1",
5
+ "image": "debian_9",
6
+ "private_ips": ["172.16.0.1"]
7
+ },
8
+ "policy_name": "test_policy_1",
9
+ "policy_group": "test_group"
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "node2",
3
+ "normal": {
4
+ "description": "Node 2",
5
+ "image": "debian_9",
6
+ "private_ips": ["172.16.0.2"]
7
+ },
8
+ "policy_name": "test_policy_2",
9
+ "policy_group": "test_group"
10
+ }
@@ -0,0 +1,3 @@
1
+ name File.basename(__FILE__, '.rb')
2
+ default_source :supermarket
3
+ run_list 'recipe[test_cookbook_1]'
@@ -0,0 +1,3 @@
1
+ name File.basename(__FILE__, '.rb')
2
+ default_source :supermarket
3
+ run_list 'recipe[test_cookbook_2]'
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: 32.13.3
4
+ version: 32.16.1
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-05-07 00:00:00.000000000 Z
11
+ date: 2021-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: range_operators
@@ -281,181 +281,182 @@ description: Provides a complete toolset to help DevOps maintain, deploy, monito
281
281
  email:
282
282
  - muriel@x-aeon.com
283
283
  executables:
284
- - dump_nodes_json
285
- - get_impacted_nodes
286
284
  - topograph
285
+ - test
286
+ - check-node
287
+ - get_impacted_nodes
288
+ - ssh_config
289
+ - dump_nodes_json
287
290
  - run
288
- - free_veids
289
- - nodes_to_deploy
290
291
  - setup
291
- - free_ips
292
- - check-node
293
292
  - report
294
- - test
295
293
  - last_deploys
296
- - ssh_config
294
+ - nodes_to_deploy
295
+ - free_ips
296
+ - free_veids
297
297
  - deploy
298
298
  extensions: []
299
299
  extra_rdoc_files:
300
+ - README.md
300
301
  - CHANGELOG.md
301
302
  - LICENSE.md
302
- - README.md
303
+ - docs/tutorial/05_extend_with_plugins.md
304
+ - docs/tutorial/04_test.md
305
+ - docs/tutorial/03_scale.md
306
+ - docs/tutorial/01_installation.md
307
+ - docs/tutorial/02_first_node.md
308
+ - docs/tutorial.md
309
+ - docs/install.md
310
+ - docs/plugins_create.md
311
+ - docs/executables.md
312
+ - docs/api.md
303
313
  - docs/plugins.md
314
+ - docs/gen/mermaid/README.md-0.png
315
+ - docs/gen/mermaid/docs/executables/check-node.md-0.png
316
+ - docs/gen/mermaid/docs/executables/ssh_config.md-0.png
317
+ - docs/gen/mermaid/docs/executables/last_deploys.md-0.png
318
+ - docs/gen/mermaid/docs/executables/run.md-0.png
319
+ - docs/gen/mermaid/docs/executables/get_impacted_nodes.md-0.png
320
+ - docs/gen/mermaid/docs/executables/test.md-0.png
321
+ - docs/gen/mermaid/docs/executables/free_ips.md-0.png
322
+ - docs/gen/mermaid/docs/executables/free_veids.md-0.png
323
+ - docs/gen/mermaid/docs/executables/nodes_to_deploy.md-0.png
324
+ - docs/gen/mermaid/docs/executables/report.md-0.png
325
+ - docs/gen/mermaid/docs/executables/deploy.md-0.png
326
+ - docs/gen/mermaid/docs/executables/setup.md-0.png
327
+ - docs/executables/test.md
328
+ - docs/executables/free_ips.md
329
+ - docs/executables/run.md
330
+ - docs/executables/get_impacted_nodes.md
331
+ - docs/executables/last_deploys.md
332
+ - docs/executables/nodes_to_deploy.md
333
+ - docs/executables/setup.md
334
+ - docs/executables/deploy.md
335
+ - docs/executables/report.md
336
+ - docs/executables/check-node.md
337
+ - docs/executables/free_veids.md
338
+ - docs/executables/ssh_config.md
339
+ - docs/executables/topograph.md
340
+ - docs/executables/dump_nodes_json.md
341
+ - docs/plugins/platform_handler/serverless_chef.md
342
+ - docs/plugins/platform_handler/yaml_inventory.md
343
+ - docs/plugins/provisioner/proxmox.md
304
344
  - docs/plugins/provisioner/podman.md
305
345
  - docs/plugins/provisioner/docker.md
306
- - docs/plugins/provisioner/proxmox.md
307
- - docs/plugins/connector/local.md
308
- - docs/plugins/connector/ssh.md
309
- - docs/plugins/action/scp.md
310
- - docs/plugins/action/interactive.md
311
- - docs/plugins/action/bash.md
312
- - docs/plugins/action/remote_bash.md
313
- - docs/plugins/action/ruby.md
314
- - docs/plugins/report/stdout.md
315
- - docs/plugins/report/confluence.md
316
- - docs/plugins/report/mediawiki.md
317
- - docs/plugins/cmdb/host_ip.md
318
- - docs/plugins/cmdb/platform_handlers.md
319
- - docs/plugins/cmdb/config.md
320
- - docs/plugins/cmdb/host_keys.md
321
- - docs/plugins/test/veids.md
322
- - docs/plugins/test/idempotence.md
323
- - docs/plugins/test/jenkins_ci_conf.md
324
- - docs/plugins/test/check_deploy_and_idempotence.md
325
- - docs/plugins/test/divergence.md
326
- - docs/plugins/test/check_from_scratch.md
346
+ - docs/plugins/test/spectre.md
327
347
  - docs/plugins/test/bitbucket_conf.md
328
- - docs/plugins/test/public_ips.md
329
- - docs/plugins/test/deploy_freshness.md
348
+ - docs/plugins/test/vulnerabilities.md
349
+ - docs/plugins/test/deploy_removes_root_access.md
330
350
  - docs/plugins/test/private_ips.md
331
- - docs/plugins/test/connection.md
351
+ - docs/plugins/test/ip.md
332
352
  - docs/plugins/test/orphan_files.md
333
- - docs/plugins/test/ports.md
334
- - docs/plugins/test/file_system_hdfs.md
335
- - docs/plugins/test/jenkins_ci_masters_ok.md
336
- - docs/plugins/test/can_be_checked.md
337
- - docs/plugins/test/local_users.md
353
+ - docs/plugins/test/veids.md
338
354
  - docs/plugins/test/executables.md
339
- - docs/plugins/test/spectre.md
340
- - docs/plugins/test/deploy_removes_root_access.md
355
+ - docs/plugins/test/ports.md
356
+ - docs/plugins/test/hostname.md
357
+ - docs/plugins/test/divergence.md
358
+ - docs/plugins/test/deploy_freshness.md
341
359
  - docs/plugins/test/deploy_from_scratch.md
360
+ - docs/plugins/test/can_be_checked.md
361
+ - docs/plugins/test/check_from_scratch.md
362
+ - docs/plugins/test/public_ips.md
363
+ - docs/plugins/test/linear_strategy.md
364
+ - docs/plugins/test/connection.md
365
+ - docs/plugins/test/check_deploy_and_idempotence.md
342
366
  - docs/plugins/test/file_system.md
343
367
  - docs/plugins/test/mounts.md
344
- - docs/plugins/test/ip.md
345
- - docs/plugins/test/vulnerabilities.md
346
- - docs/plugins/test/hostname.md
347
- - docs/plugins/test/linear_strategy.md
348
- - docs/plugins/platform_handler/yaml_inventory.md
368
+ - docs/plugins/test/local_users.md
369
+ - docs/plugins/test/jenkins_ci_conf.md
370
+ - docs/plugins/test/jenkins_ci_masters_ok.md
371
+ - docs/plugins/test/file_system_hdfs.md
372
+ - docs/plugins/test/idempotence.md
373
+ - docs/plugins/report/mediawiki.md
374
+ - docs/plugins/report/stdout.md
375
+ - docs/plugins/report/confluence.md
349
376
  - docs/plugins/test_report/stdout.md
350
377
  - docs/plugins/test_report/confluence.md
351
- - docs/install.md
352
- - docs/plugins_create.md
353
- - docs/executables/topograph.md
354
- - docs/executables/report.md
355
- - docs/executables/free_ips.md
356
- - docs/executables/free_veids.md
357
- - docs/executables/last_deploys.md
358
- - docs/executables/check-node.md
359
- - docs/executables/nodes_to_deploy.md
360
- - docs/executables/run.md
361
- - docs/executables/deploy.md
362
- - docs/executables/setup.md
363
- - docs/executables/dump_nodes_json.md
364
- - docs/executables/ssh_config.md
365
- - docs/executables/get_impacted_nodes.md
366
- - docs/executables/test.md
367
- - docs/executables.md
368
- - docs/gen/mermaid/README.md-0.png
369
- - docs/gen/mermaid/docs/executables/last_deploys.md-0.png
370
- - docs/gen/mermaid/docs/executables/check-node.md-0.png
371
- - docs/gen/mermaid/docs/executables/deploy.md-0.png
372
- - docs/gen/mermaid/docs/executables/free_ips.md-0.png
373
- - docs/gen/mermaid/docs/executables/nodes_to_deploy.md-0.png
374
- - docs/gen/mermaid/docs/executables/setup.md-0.png
375
- - docs/gen/mermaid/docs/executables/test.md-0.png
376
- - docs/gen/mermaid/docs/executables/run.md-0.png
377
- - docs/gen/mermaid/docs/executables/get_impacted_nodes.md-0.png
378
- - docs/gen/mermaid/docs/executables/report.md-0.png
379
- - docs/gen/mermaid/docs/executables/free_veids.md-0.png
380
- - docs/gen/mermaid/docs/executables/ssh_config.md-0.png
381
- - docs/api.md
382
- - docs/tutorial/05_extend_with_plugins.md
383
- - docs/tutorial/01_installation.md
384
- - docs/tutorial/04_test.md
385
- - docs/tutorial/03_scale.md
386
- - docs/tutorial/02_first_node.md
378
+ - docs/plugins/connector/local.md
379
+ - docs/plugins/connector/ssh.md
380
+ - docs/plugins/action/interactive.md
381
+ - docs/plugins/action/scp.md
382
+ - docs/plugins/action/remote_bash.md
383
+ - docs/plugins/action/ruby.md
384
+ - docs/plugins/action/bash.md
385
+ - docs/plugins/cmdb/host_ip.md
386
+ - docs/plugins/cmdb/config.md
387
+ - docs/plugins/cmdb/platform_handlers.md
388
+ - docs/plugins/cmdb/host_keys.md
387
389
  - docs/config_dsl.md
388
- - docs/tutorial.md
389
- - examples/localhost/Gemfile
390
- - examples/localhost/hpc_config.rb
391
- - examples/localhost/inventory.yaml
392
- - examples/bare/Gemfile
393
- - examples/bare/hpc_config.rb
394
- - examples/tutorial/02_first_node/my-platforms/Gemfile
395
- - examples/tutorial/02_first_node/my-platforms/hpc_config.rb
396
- - examples/tutorial/02_first_node/node/my-service.conf
390
+ - examples/tutorial/05_extend_with_plugins/dev-servers-conf-repo/install-python.bash
391
+ - examples/tutorial/05_extend_with_plugins/dev-servers-conf-repo/hosts.json
392
+ - examples/tutorial/05_extend_with_plugins/dev-servers-conf-repo/install-gcc.bash
393
+ - examples/tutorial/05_extend_with_plugins/my_hpc_plugins/lib/my_hpc_plugins/hpc_plugins/platform_handler/json_bash.rb
394
+ - examples/tutorial/05_extend_with_plugins/my_hpc_plugins/lib/my_hpc_plugins/hpc_plugins/test/root_space.rb
395
+ - examples/tutorial/05_extend_with_plugins/my_hpc_plugins/lib/my_hpc_plugins/hpc_plugins/report/web_report.rb
396
+ - examples/tutorial/05_extend_with_plugins/my_hpc_plugins/my_hpc_plugins.gemspec
397
+ - examples/tutorial/05_extend_with_plugins/my-service-conf-repo/service_web-hello.rb
398
+ - examples/tutorial/05_extend_with_plugins/my-service-conf-repo/my-service.conf.erb
399
+ - examples/tutorial/05_extend_with_plugins/my-service-conf-repo/service_my-service.rb
400
+ - examples/tutorial/05_extend_with_plugins/my-service-conf-repo/inventory.yaml
401
+ - examples/tutorial/05_extend_with_plugins/my-platforms/hpc_config.rb
402
+ - examples/tutorial/05_extend_with_plugins/my-platforms/Gemfile
403
+ - examples/tutorial/05_extend_with_plugins/my-platforms/my_commands.bash
404
+ - examples/tutorial/05_extend_with_plugins/my-platforms/images/debian_10/Dockerfile
405
+ - examples/tutorial/05_extend_with_plugins/dev_docker_image/hpc_root.key.pub
406
+ - examples/tutorial/05_extend_with_plugins/dev_docker_image/Dockerfile
407
+ - examples/tutorial/05_extend_with_plugins/dev_docker_image/hpc_root.key
408
+ - examples/tutorial/05_extend_with_plugins/node/my-service.conf
409
+ - examples/tutorial/05_extend_with_plugins/web_docker_image/hpc_root.key.pub
410
+ - examples/tutorial/05_extend_with_plugins/web_docker_image/main.go
411
+ - examples/tutorial/05_extend_with_plugins/web_docker_image/start.sh
412
+ - examples/tutorial/05_extend_with_plugins/web_docker_image/Dockerfile
413
+ - examples/tutorial/05_extend_with_plugins/web_docker_image/hpc_root.key
414
+ - examples/tutorial/05_extend_with_plugins/web_docker_image/test.bash
415
+ - examples/tutorial/05_extend_with_plugins/web_docker_image/hello_world.txt
397
416
  - examples/tutorial/02_first_node/my-service-conf-repo/my-service.conf.erb
398
417
  - examples/tutorial/02_first_node/my-service-conf-repo/service_my-service.rb
399
418
  - examples/tutorial/02_first_node/my-service-conf-repo/inventory.yaml
400
- - examples/tutorial/03_scale/my-platforms/Gemfile
401
- - examples/tutorial/03_scale/my-platforms/hpc_config.rb
402
- - examples/tutorial/03_scale/my-platforms/my_commands.bash
403
- - examples/tutorial/03_scale/node/my-service.conf
404
- - examples/tutorial/03_scale/web_docker_image/hpc_root.key
405
- - examples/tutorial/03_scale/web_docker_image/main.go
406
- - examples/tutorial/03_scale/web_docker_image/Dockerfile
407
- - examples/tutorial/03_scale/web_docker_image/hello_world.txt
408
- - examples/tutorial/03_scale/web_docker_image/hpc_root.key.pub
409
- - examples/tutorial/03_scale/web_docker_image/test.bash
410
- - examples/tutorial/03_scale/web_docker_image/start.sh
411
- - examples/tutorial/03_scale/my-service-conf-repo/my-service.conf.erb
412
- - examples/tutorial/03_scale/my-service-conf-repo/service_my-service.rb
413
- - examples/tutorial/03_scale/my-service-conf-repo/inventory.yaml
414
- - examples/tutorial/03_scale/my-service-conf-repo/service_web-hello.rb
415
- - examples/tutorial/01_installation/my-platforms/Gemfile
419
+ - examples/tutorial/02_first_node/my-platforms/hpc_config.rb
420
+ - examples/tutorial/02_first_node/my-platforms/Gemfile
421
+ - examples/tutorial/02_first_node/node/my-service.conf
416
422
  - examples/tutorial/01_installation/my-platforms/hpc_config.rb
417
- - examples/tutorial/04_test/my-platforms/Gemfile
423
+ - examples/tutorial/01_installation/my-platforms/Gemfile
424
+ - examples/tutorial/04_test/my-service-conf-repo/service_web-hello.rb
425
+ - examples/tutorial/04_test/my-service-conf-repo/my-service.conf.erb
426
+ - examples/tutorial/04_test/my-service-conf-repo/service_my-service.rb
427
+ - examples/tutorial/04_test/my-service-conf-repo/inventory.yaml
418
428
  - examples/tutorial/04_test/my-platforms/hpc_config.rb
429
+ - examples/tutorial/04_test/my-platforms/Gemfile
419
430
  - examples/tutorial/04_test/my-platforms/my_commands.bash
420
431
  - examples/tutorial/04_test/my-platforms/images/debian_10/Dockerfile
421
432
  - examples/tutorial/04_test/node/my-service.conf
422
- - examples/tutorial/04_test/web_docker_image/hpc_root.key
433
+ - examples/tutorial/04_test/web_docker_image/hpc_root.key.pub
423
434
  - examples/tutorial/04_test/web_docker_image/main.go
435
+ - examples/tutorial/04_test/web_docker_image/start.sh
424
436
  - examples/tutorial/04_test/web_docker_image/Dockerfile
425
- - examples/tutorial/04_test/web_docker_image/hello_world.txt
426
- - examples/tutorial/04_test/web_docker_image/hpc_root.key.pub
437
+ - examples/tutorial/04_test/web_docker_image/hpc_root.key
427
438
  - examples/tutorial/04_test/web_docker_image/test.bash
428
- - examples/tutorial/04_test/web_docker_image/start.sh
429
- - examples/tutorial/04_test/my-service-conf-repo/my-service.conf.erb
430
- - examples/tutorial/04_test/my-service-conf-repo/service_my-service.rb
431
- - examples/tutorial/04_test/my-service-conf-repo/inventory.yaml
432
- - examples/tutorial/04_test/my-service-conf-repo/service_web-hello.rb
433
- - examples/tutorial/05_extend_with_plugins/my_hpc_plugins/lib/my_hpc_plugins/hpc_plugins/report/web_report.rb
434
- - examples/tutorial/05_extend_with_plugins/my_hpc_plugins/lib/my_hpc_plugins/hpc_plugins/test/root_space.rb
435
- - examples/tutorial/05_extend_with_plugins/my_hpc_plugins/lib/my_hpc_plugins/hpc_plugins/platform_handler/json_bash.rb
436
- - examples/tutorial/05_extend_with_plugins/my_hpc_plugins/my_hpc_plugins.gemspec
437
- - examples/tutorial/05_extend_with_plugins/dev_docker_image/hpc_root.key
438
- - examples/tutorial/05_extend_with_plugins/dev_docker_image/Dockerfile
439
- - examples/tutorial/05_extend_with_plugins/dev_docker_image/hpc_root.key.pub
440
- - examples/tutorial/05_extend_with_plugins/my-platforms/Gemfile
441
- - examples/tutorial/05_extend_with_plugins/my-platforms/hpc_config.rb
442
- - examples/tutorial/05_extend_with_plugins/my-platforms/my_commands.bash
443
- - examples/tutorial/05_extend_with_plugins/my-platforms/images/debian_10/Dockerfile
444
- - examples/tutorial/05_extend_with_plugins/node/my-service.conf
445
- - examples/tutorial/05_extend_with_plugins/web_docker_image/hpc_root.key
446
- - examples/tutorial/05_extend_with_plugins/web_docker_image/main.go
447
- - examples/tutorial/05_extend_with_plugins/web_docker_image/Dockerfile
448
- - examples/tutorial/05_extend_with_plugins/web_docker_image/hello_world.txt
449
- - examples/tutorial/05_extend_with_plugins/web_docker_image/hpc_root.key.pub
450
- - examples/tutorial/05_extend_with_plugins/web_docker_image/test.bash
451
- - examples/tutorial/05_extend_with_plugins/web_docker_image/start.sh
452
- - examples/tutorial/05_extend_with_plugins/my-service-conf-repo/my-service.conf.erb
453
- - examples/tutorial/05_extend_with_plugins/my-service-conf-repo/service_my-service.rb
454
- - examples/tutorial/05_extend_with_plugins/my-service-conf-repo/inventory.yaml
455
- - examples/tutorial/05_extend_with_plugins/my-service-conf-repo/service_web-hello.rb
456
- - examples/tutorial/05_extend_with_plugins/dev-servers-conf-repo/install-gcc.bash
457
- - examples/tutorial/05_extend_with_plugins/dev-servers-conf-repo/hosts.json
458
- - examples/tutorial/05_extend_with_plugins/dev-servers-conf-repo/install-python.bash
439
+ - examples/tutorial/04_test/web_docker_image/hello_world.txt
440
+ - examples/tutorial/03_scale/my-service-conf-repo/service_web-hello.rb
441
+ - examples/tutorial/03_scale/my-service-conf-repo/my-service.conf.erb
442
+ - examples/tutorial/03_scale/my-service-conf-repo/service_my-service.rb
443
+ - examples/tutorial/03_scale/my-service-conf-repo/inventory.yaml
444
+ - examples/tutorial/03_scale/my-platforms/hpc_config.rb
445
+ - examples/tutorial/03_scale/my-platforms/Gemfile
446
+ - examples/tutorial/03_scale/my-platforms/my_commands.bash
447
+ - examples/tutorial/03_scale/node/my-service.conf
448
+ - examples/tutorial/03_scale/web_docker_image/hpc_root.key.pub
449
+ - examples/tutorial/03_scale/web_docker_image/main.go
450
+ - examples/tutorial/03_scale/web_docker_image/start.sh
451
+ - examples/tutorial/03_scale/web_docker_image/Dockerfile
452
+ - examples/tutorial/03_scale/web_docker_image/hpc_root.key
453
+ - examples/tutorial/03_scale/web_docker_image/test.bash
454
+ - examples/tutorial/03_scale/web_docker_image/hello_world.txt
455
+ - examples/localhost/hpc_config.rb
456
+ - examples/localhost/Gemfile
457
+ - examples/localhost/inventory.yaml
458
+ - examples/bare/hpc_config.rb
459
+ - examples/bare/Gemfile
459
460
  files:
460
461
  - CHANGELOG.md
461
462
  - LICENSE.md
@@ -517,6 +518,7 @@ files:
517
518
  - docs/plugins/cmdb/platform_handlers.md
518
519
  - docs/plugins/connector/local.md
519
520
  - docs/plugins/connector/ssh.md
521
+ - docs/plugins/platform_handler/serverless_chef.md
520
522
  - docs/plugins/platform_handler/yaml_inventory.md
521
523
  - docs/plugins/provisioner/docker.md
522
524
  - docs/plugins/provisioner/podman.md
@@ -661,6 +663,9 @@ files:
661
663
  - lib/hybrid_platforms_conductor/hpc_plugins/connector/my_connector.rb.sample
662
664
  - lib/hybrid_platforms_conductor/hpc_plugins/connector/ssh.rb
663
665
  - lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/platform_handler_plugin.rb.sample
666
+ - lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef.rb
667
+ - lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef/dsl_parser.rb
668
+ - lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/serverless_chef/recipes_tree_builder.rb
664
669
  - lib/hybrid_platforms_conductor/hpc_plugins/platform_handler/yaml_inventory.rb
665
670
  - lib/hybrid_platforms_conductor/hpc_plugins/provisioner/docker.rb
666
671
  - lib/hybrid_platforms_conductor/hpc_plugins/provisioner/my_provisioner.rb.sample
@@ -791,6 +796,12 @@ files:
791
796
  - spec/hybrid_platforms_conductor_test/api/nodes_handler/platform_handlers_plugins_api_spec.rb
792
797
  - spec/hybrid_platforms_conductor_test/api/nodes_handler/several_platforms_spec.rb
793
798
  - spec/hybrid_platforms_conductor_test/api/platform_handler_spec.rb
799
+ - spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/config_dsl_spec.rb
800
+ - spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/deploy_output_parsing_spec.rb
801
+ - spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/diff_impacts_spec.rb
802
+ - spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/inventory_spec.rb
803
+ - spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/packaging_spec.rb
804
+ - spec/hybrid_platforms_conductor_test/api/platform_handlers/serverless_chef/services_deployment_spec.rb
794
805
  - spec/hybrid_platforms_conductor_test/api/platforms_handler_spec.rb
795
806
  - spec/hybrid_platforms_conductor_test/api/plugins_spec.rb
796
807
  - spec/hybrid_platforms_conductor_test/api/reports_handler_spec.rb
@@ -845,6 +856,7 @@ files:
845
856
  - spec/hybrid_platforms_conductor_test/helpers/plugins_helpers.rb
846
857
  - spec/hybrid_platforms_conductor_test/helpers/provisioner_proxmox_helpers.rb
847
858
  - spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
859
+ - spec/hybrid_platforms_conductor_test/helpers/serverless_chef_helpers.rb
848
860
  - spec/hybrid_platforms_conductor_test/helpers/services_handler_helpers.rb
849
861
  - spec/hybrid_platforms_conductor_test/helpers/tests_runner_helpers.rb
850
862
  - spec/hybrid_platforms_conductor_test/mocked_lib/my_test_gem/hpc_plugins/test_plugin_type/test_plugin_id1.rb
@@ -854,6 +866,43 @@ files:
854
866
  - spec/hybrid_platforms_conductor_test/platform_handler_plugins/test.rb
855
867
  - spec/hybrid_platforms_conductor_test/platform_handler_plugins/test2.rb
856
868
  - spec/hybrid_platforms_conductor_test/report_plugin.rb
869
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/1_node/chef_versions.yml
870
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/1_node/nodes/node.json
871
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/1_node/policyfiles/test_policy.rb
872
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/data_bags/chef_versions.yml
873
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/data_bags/data_bags/my_bag/my_item.json
874
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/data_bags/nodes/node.json
875
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/data_bags/policyfiles/test_policy.rb
876
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/hpc_test/chef_versions.yml
877
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/hpc_test/cookbooks/hpc_test/recipes/after_run.rb
878
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/hpc_test/cookbooks/hpc_test/recipes/before_run.rb
879
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/hpc_test/nodes/node.json
880
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/hpc_test/policyfiles/test_policy.rb
881
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_1/recipes/default.rb
882
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_2/libraries/default.rb
883
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_2/recipes/default.rb
884
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_2/recipes/other_recipe.rb
885
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/cookbooks/test_cookbook_2/resources/my_resource.rb
886
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/nodes/node1.json
887
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/nodes/node2.json
888
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/policyfiles/test_policy_1.rb
889
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/recipes/policyfiles/test_policy_2.rb
890
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/config.rb
891
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/cookbooks/test_cookbook_1/recipes/default.rb
892
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/nodes/node1.json
893
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/nodes/node2.json
894
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/other_cookbooks/test_cookbook_2/libraries/default.rb
895
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/other_cookbooks/test_cookbook_2/recipes/default.rb
896
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/other_cookbooks/test_cookbook_2/recipes/other_recipe.rb
897
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/other_cookbooks/test_cookbook_2/resources/my_resource.rb
898
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/policyfiles/test_policy_1.rb
899
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_cookbooks/policyfiles/test_policy_2.rb
900
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/chef_versions.yml
901
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/nodes/local.json
902
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/nodes/node1.json
903
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/nodes/node2.json
904
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/policyfiles/test_policy_1.rb
905
+ - spec/hybrid_platforms_conductor_test/serverless_chef_repositories/several_nodes/policyfiles/test_policy_2.rb
857
906
  - spec/hybrid_platforms_conductor_test/test_action.rb
858
907
  - spec/hybrid_platforms_conductor_test/test_connector.rb
859
908
  - spec/hybrid_platforms_conductor_test/test_plugins/global.rb