vm-tool 1.0.46__py3-none-any.whl → 1.0.47__py3-none-any.whl

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.
vm_tool/cli.py CHANGED
@@ -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
@@ -24,7 +24,7 @@ vm_tool/alerting.py,sha256=6bNfQNSAQ_SJW9dQfB8s8gDZ-7ocYw4Q211VM6FWiXU,8269
24
24
  vm_tool/audit.py,sha256=spVtMcwadTkD9lELH1tur7Dr3OHjajk44ZatKYEbeVI,3388
25
25
  vm_tool/backup.py,sha256=WhwCXXJDYCQgoexroksNhWgB5ki6HUly0JhQ9ybCdMg,4130
26
26
  vm_tool/benchmarking.py,sha256=9AZ4JwKd5aEjwtKnhsuFa77y6WSO_fSEIqgMh3w_Btw,6212
27
- vm_tool/cli.py,sha256=BiBgnbFfqpmrecw9_jParJSRUlArm-sNMSS8wtHcCU8,35786
27
+ vm_tool/cli.py,sha256=eb2gyWsi73njR4VycdHJmwdodaZ8k9wMC1TasD_2PU4,35673
28
28
  vm_tool/cloud.py,sha256=1fQV1o3wCth55B1hSenME_j2n5gCJDo9gtUcqDxCs7s,4047
29
29
  vm_tool/completion.py,sha256=U8W8mmNdR0Ci0WjlEIa8CLOUtaVLZ5tWYpqViBBIBF8,7431
30
30
  vm_tool/compliance.py,sha256=7yXrvRoPxJMW0DTVhJ-ZxbaJo7quDSVgae2_mYbVAmE,3173
@@ -67,9 +67,9 @@ vm_tool/vm_setup/docker/docker_setup.yml,sha256=kg6Abu3TjcLwV0JHnCAVUkj5l2HaGf7O
67
67
  vm_tool/vm_setup/docker/install_docker_and_compose.yml,sha256=NxPm4YkOekRH0dpJQVgxjcSqrmT6f912Dv0owYsLBxE,3402
68
68
  vm_tool/vm_setup/docker/login_to_docker_hub.yml,sha256=y9WaWLb1f1SuHVa1NNm24Gvf5bbwQ8eqEsImGLHGHGU,223
69
69
  vm_tool/vm_setup/github/git_configuration.yml,sha256=hKuzOFsVlYRoBAXujREfrLiqV7j4RnQYbL5s63AEAqk,2355
70
- vm_tool-1.0.46.dist-info/licenses/LICENSE,sha256=4OO6Zd_hYEOemzTNdgUR_E7oNvUJLuN2E7ZAgm7DcSM,1063
71
- vm_tool-1.0.46.dist-info/METADATA,sha256=LARUVa6GPGXfWTrgERzF-xVGS91SsVZfbedtXzUY9fE,6191
72
- vm_tool-1.0.46.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
73
- vm_tool-1.0.46.dist-info/entry_points.txt,sha256=A2EAvw95ftFXzVAWfHKIM-SsxQVxrIrByRNe-ArOp2k,45
74
- vm_tool-1.0.46.dist-info/top_level.txt,sha256=jTLckJpKvJplpmKoMhPz2YKp_sQB9Q5-cCGmUHCp06M,17
75
- vm_tool-1.0.46.dist-info/RECORD,,
70
+ vm_tool-1.0.47.dist-info/licenses/LICENSE,sha256=4OO6Zd_hYEOemzTNdgUR_E7oNvUJLuN2E7ZAgm7DcSM,1063
71
+ vm_tool-1.0.47.dist-info/METADATA,sha256=StLGmpixLs-92EW_CbHnijK4L-UJsn-6nIfe-ZwSBtk,6191
72
+ vm_tool-1.0.47.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
73
+ vm_tool-1.0.47.dist-info/entry_points.txt,sha256=A2EAvw95ftFXzVAWfHKIM-SsxQVxrIrByRNe-ArOp2k,45
74
+ vm_tool-1.0.47.dist-info/top_level.txt,sha256=jTLckJpKvJplpmKoMhPz2YKp_sQB9Q5-cCGmUHCp06M,17
75
+ vm_tool-1.0.47.dist-info/RECORD,,