vm-tool 1.0.46__tar.gz → 1.0.47__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. {vm_tool-1.0.46 → vm_tool-1.0.47}/PKG-INFO +1 -1
  2. {vm_tool-1.0.46 → vm_tool-1.0.47}/pyproject.toml +2 -2
  3. {vm_tool-1.0.46 → vm_tool-1.0.47}/setup.py +1 -1
  4. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/cli.py +26 -29
  5. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool.egg-info/PKG-INFO +1 -1
  6. {vm_tool-1.0.46 → vm_tool-1.0.47}/.agent/workflows/push.md +0 -0
  7. {vm_tool-1.0.46 → vm_tool-1.0.47}/.agent/workflows/test_and_lint.md +0 -0
  8. {vm_tool-1.0.46 → vm_tool-1.0.47}/.devcontainer/devcontainer.json +0 -0
  9. {vm_tool-1.0.46 → vm_tool-1.0.47}/.github/dependabot.yml +0 -0
  10. {vm_tool-1.0.46 → vm_tool-1.0.47}/.github/workflows/ci.yml +0 -0
  11. {vm_tool-1.0.46 → vm_tool-1.0.47}/.github/workflows/deploy.yml +0 -0
  12. {vm_tool-1.0.46 → vm_tool-1.0.47}/.github/workflows/publish.yml +0 -0
  13. {vm_tool-1.0.46 → vm_tool-1.0.47}/.gitignore +0 -0
  14. {vm_tool-1.0.46 → vm_tool-1.0.47}/.pre-commit-config.yaml +0 -0
  15. {vm_tool-1.0.46 → vm_tool-1.0.47}/CONTRIBUTING +0 -0
  16. {vm_tool-1.0.46 → vm_tool-1.0.47}/CONTRIBUTING.md +0 -0
  17. {vm_tool-1.0.46 → vm_tool-1.0.47}/LICENSE +0 -0
  18. {vm_tool-1.0.46 → vm_tool-1.0.47}/MANIFEST.in +0 -0
  19. {vm_tool-1.0.46 → vm_tool-1.0.47}/Makefile +0 -0
  20. {vm_tool-1.0.46 → vm_tool-1.0.47}/README.md +0 -0
  21. {vm_tool-1.0.46 → vm_tool-1.0.47}/codePushToGithub.py +0 -0
  22. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/MODULE_GUIDE.md +0 -0
  23. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/deployment-approaches.md +0 -0
  24. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/ec2-github-actions-guide.md +0 -0
  25. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/features.md +0 -0
  26. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/generator.md +0 -0
  27. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/index.md +0 -0
  28. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/pipeline-generator.md +0 -0
  29. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/reference/runner.md +0 -0
  30. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/reference/ssh.md +0 -0
  31. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/ssh-key-setup.md +0 -0
  32. {vm_tool-1.0.46 → vm_tool-1.0.47}/docs/usage.md +0 -0
  33. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/README.md +0 -0
  34. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/__init__.py +0 -0
  35. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/cloud/README.md +0 -0
  36. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/cloud/__init__.py +0 -0
  37. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/cloud/ssh_identity_file.py +0 -0
  38. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/cloud/ssh_password.py +0 -0
  39. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/cloud/template_cloud_setup.py +0 -0
  40. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/deploy_full_setup.py +0 -0
  41. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/docker-compose.example.yml +0 -0
  42. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/ec2-setup.sh +0 -0
  43. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/github-actions-ec2.yml +0 -0
  44. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/github-actions-full-setup.yml +0 -0
  45. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/local/.keep +0 -0
  46. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/local/README.md +0 -0
  47. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/local/__init__.py +0 -0
  48. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/local/template_local_setup.py +0 -0
  49. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/production-deploy.sh +0 -0
  50. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/rollback.sh +0 -0
  51. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/setup.sh +0 -0
  52. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/ssh_key_management.py +0 -0
  53. {vm_tool-1.0.46 → vm_tool-1.0.47}/examples/version_check.sh +0 -0
  54. {vm_tool-1.0.46 → vm_tool-1.0.47}/jingo.code-workspace +0 -0
  55. {vm_tool-1.0.46 → vm_tool-1.0.47}/mkdocs.yml +0 -0
  56. {vm_tool-1.0.46 → vm_tool-1.0.47}/molecule/default/converge.yml +0 -0
  57. {vm_tool-1.0.46 → vm_tool-1.0.47}/molecule/default/molecule.yml +0 -0
  58. {vm_tool-1.0.46 → vm_tool-1.0.47}/molecule/default/verify.yml +0 -0
  59. {vm_tool-1.0.46 → vm_tool-1.0.47}/requirements-docs.txt +0 -0
  60. {vm_tool-1.0.46 → vm_tool-1.0.47}/requirements.txt +0 -0
  61. {vm_tool-1.0.46 → vm_tool-1.0.47}/runtime.txt +0 -0
  62. {vm_tool-1.0.46 → vm_tool-1.0.47}/setup.cfg +0 -0
  63. {vm_tool-1.0.46 → vm_tool-1.0.47}/tests/conftest.py +0 -0
  64. {vm_tool-1.0.46 → vm_tool-1.0.47}/tests/integration/test_deployment.py +0 -0
  65. {vm_tool-1.0.46 → vm_tool-1.0.47}/tests/test_config.py +0 -0
  66. {vm_tool-1.0.46 → vm_tool-1.0.47}/tests/test_generator.py +0 -0
  67. {vm_tool-1.0.46 → vm_tool-1.0.47}/tests/test_health.py +0 -0
  68. {vm_tool-1.0.46 → vm_tool-1.0.47}/tests/test_history.py +0 -0
  69. {vm_tool-1.0.46 → vm_tool-1.0.47}/tests/test_logging.py +0 -0
  70. {vm_tool-1.0.46 → vm_tool-1.0.47}/tests/test_runner.py +0 -0
  71. {vm_tool-1.0.46 → vm_tool-1.0.47}/tests/test_ssh.py +0 -0
  72. {vm_tool-1.0.46 → vm_tool-1.0.47}/tests/test_state.py +0 -0
  73. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/__init__.py +0 -0
  74. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/alerting.py +0 -0
  75. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/audit.py +0 -0
  76. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/backup.py +0 -0
  77. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/benchmarking.py +0 -0
  78. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/cloud.py +0 -0
  79. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/completion.py +0 -0
  80. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/compliance.py +0 -0
  81. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/config.py +0 -0
  82. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/drift.py +0 -0
  83. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/generator.py +0 -0
  84. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/health.py +0 -0
  85. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/history.py +0 -0
  86. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/kubernetes.py +0 -0
  87. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/metrics.py +0 -0
  88. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/notifications.py +0 -0
  89. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/plugins.py +0 -0
  90. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/policy.py +0 -0
  91. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/rbac.py +0 -0
  92. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/recovery.py +0 -0
  93. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/release.py +0 -0
  94. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/reporting.py +0 -0
  95. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/runner.py +0 -0
  96. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/secrets.py +0 -0
  97. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/ssh.py +0 -0
  98. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/state.py +0 -0
  99. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/strategies/__init__.py +0 -0
  100. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/strategies/ab_testing.py +0 -0
  101. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/strategies/blue_green.py +0 -0
  102. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/strategies/canary.py +0 -0
  103. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/validation.py +0 -0
  104. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/cleanup.yml +0 -0
  105. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/docker/create_docker_service.yml +0 -0
  106. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/docker/docker_setup.yml +0 -0
  107. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/docker/install_docker_and_compose.yml +0 -0
  108. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/docker/login_to_docker_hub.yml +0 -0
  109. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/github/git_configuration.yml +0 -0
  110. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/inventory.yml +0 -0
  111. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/k8s.yml +0 -0
  112. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/main.yml +0 -0
  113. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/monitoring.yml +0 -0
  114. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/project_service.yml +0 -0
  115. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/push_code.yml +0 -0
  116. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/push_code_tasks.yml +0 -0
  117. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/setup.yml +0 -0
  118. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/vm_setup/setup_project_env.yml +0 -0
  119. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool/webhooks.py +0 -0
  120. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool.egg-info/SOURCES.txt +0 -0
  121. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool.egg-info/dependency_links.txt +0 -0
  122. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool.egg-info/entry_points.txt +0 -0
  123. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool.egg-info/requires.txt +0 -0
  124. {vm_tool-1.0.46 → vm_tool-1.0.47}/vm_tool.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vm_tool
3
- Version: 1.0.46
3
+ Version: 1.0.47
4
4
  Summary: A Comprehensive Tool for Setting Up Virtual Machines.
5
5
  Home-page: https://github.com/thesunnysinha/vm_tool
6
6
  Author: Sunny Sinha
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "vm_tool"
7
- version = "1.0.46"
7
+ version = "1.0.47"
8
8
  description = "A Comprehensive Tool for Setting Up Virtual Machines."
9
9
  readme = "README.md"
10
10
  authors = [
@@ -76,7 +76,7 @@ include = '\.pyi?$'
76
76
  profile = "black"
77
77
  multi_line_output = 3
78
78
  [tool.bumpversion]
79
- current_version = "1.0.46"
79
+ current_version = "1.0.47"
80
80
  commit = true
81
81
  tag = true
82
82
 
@@ -12,7 +12,7 @@ else:
12
12
 
13
13
  setup(
14
14
  name="vm_tool",
15
- version="1.0.46", # This will be updated by bump2version
15
+ version="1.0.47", # This will be updated by bump2version
16
16
  packages=find_packages(),
17
17
  description="A Comprehensive Tool for Setting Up Virtual Machines.",
18
18
  long_description=long_description,
@@ -769,6 +769,32 @@ def main():
769
769
  else:
770
770
  print_completion(args.shell)
771
771
 
772
+ elif args.command == "prepare-release":
773
+ from vm_tool.release import ReleaseManager
774
+ manager = ReleaseManager(verbose=args.verbose)
775
+ try:
776
+ manager.prepare_release(
777
+ base_file=args.base_file,
778
+ prod_file=args.prod_file,
779
+ output_file=args.output,
780
+ strip_volumes=args.strip_volumes,
781
+ fix_paths=args.fix_paths
782
+ )
783
+ except Exception as e:
784
+ print(f"❌ Release preparation failed: {e}")
785
+ sys.exit(1)
786
+
787
+ elif args.command == "setup-ci":
788
+ from vm_tool.runner import SetupRunner
789
+ # No config needed for this utility
790
+ try:
791
+ # We can add a static method or simple function for this
792
+ SetupRunner.setup_ci_environment(provider=args.provider)
793
+ print("✅ CI Environment configured successfully")
794
+ except Exception as e:
795
+ print(f"❌ CI Setup failed: {e}")
796
+ sys.exit(1)
797
+
772
798
  elif args.command == "generate-pipeline":
773
799
  try:
774
800
  from vm_tool.generator import PipelineGenerator
@@ -824,35 +850,6 @@ def main():
824
850
  if deployment_type == "custom":
825
851
  deploy_command = input("Enter custom deployment command: ").strip()
826
852
 
827
- except Exception as e:
828
- print(f"❌ Pipeline generation failed: {e}")
829
- sys.exit(1)
830
-
831
- elif args.command == "prepare-release":
832
- from vm_tool.release import ReleaseManager
833
- manager = ReleaseManager(verbose=args.verbose)
834
- try:
835
- manager.prepare_release(
836
- base_file=args.base_file,
837
- prod_file=args.prod_file,
838
- output_file=args.output,
839
- strip_volumes=args.strip_volumes,
840
- fix_paths=args.fix_paths
841
- )
842
- except Exception as e:
843
- print(f"❌ Release preparation failed: {e}")
844
- sys.exit(1)
845
-
846
- elif args.command == "setup-ci":
847
- from vm_tool.runner import SetupRunner
848
- # No config needed for this utility
849
- try:
850
- # We can add a static method or simple function for this
851
- SetupRunner.setup_ci_environment(provider=args.provider)
852
- print("✅ CI Environment configured successfully")
853
- except Exception as e:
854
- print(f"❌ CI Setup failed: {e}")
855
- sys.exit(1)
856
853
 
857
854
  elif deployment_type == "docker":
858
855
  docker_compose_file = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vm_tool
3
- Version: 1.0.46
3
+ Version: 1.0.47
4
4
  Summary: A Comprehensive Tool for Setting Up Virtual Machines.
5
5
  Home-page: https://github.com/thesunnysinha/vm_tool
6
6
  Author: Sunny Sinha
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes