vm-tool 1.0.39__tar.gz → 1.0.41__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.
- {vm_tool-1.0.39 → vm_tool-1.0.41}/PKG-INFO +1 -1
- {vm_tool-1.0.39 → vm_tool-1.0.41}/codePushToGithub.py +7 -1
- {vm_tool-1.0.39 → vm_tool-1.0.41}/pyproject.toml +2 -2
- {vm_tool-1.0.39 → vm_tool-1.0.41}/setup.py +1 -1
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/cli.py +1 -1
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool.egg-info/PKG-INFO +1 -1
- {vm_tool-1.0.39 → vm_tool-1.0.41}/.devcontainer/devcontainer.json +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/.github/dependabot.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/.github/workflows/ci.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/.github/workflows/deploy.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/.github/workflows/publish.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/.gitignore +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/.pre-commit-config.yaml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/CONTRIBUTING +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/CONTRIBUTING.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/LICENSE +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/MANIFEST.in +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/Makefile +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/README.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/MODULE_GUIDE.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/deployment-approaches.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/ec2-github-actions-guide.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/features.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/generator.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/index.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/pipeline-generator.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/reference/runner.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/reference/ssh.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/ssh-key-setup.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/docs/usage.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/README.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/__init__.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/cloud/README.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/cloud/__init__.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/cloud/ssh_identity_file.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/cloud/ssh_password.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/cloud/template_cloud_setup.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/deploy_full_setup.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/docker-compose.example.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/ec2-setup.sh +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/github-actions-ec2.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/github-actions-full-setup.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/local/.keep +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/local/README.md +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/local/__init__.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/local/template_local_setup.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/production-deploy.sh +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/rollback.sh +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/setup.sh +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/ssh_key_management.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/examples/version_check.sh +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/mkdocs.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/molecule/default/converge.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/molecule/default/molecule.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/molecule/default/verify.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/requirements-docs.txt +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/requirements.txt +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/runtime.txt +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/setup.cfg +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/tests/conftest.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/tests/integration/test_deployment.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/tests/test_config.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/tests/test_generator.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/tests/test_health.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/tests/test_history.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/tests/test_logging.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/tests/test_runner.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/tests/test_ssh.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/tests/test_state.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/__init__.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/alerting.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/audit.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/backup.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/benchmarking.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/cloud.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/completion.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/compliance.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/config.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/drift.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/generator.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/health.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/history.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/kubernetes.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/metrics.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/notifications.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/plugins.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/policy.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/rbac.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/recovery.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/reporting.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/runner.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/secrets.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/ssh.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/state.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/strategies/__init__.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/strategies/ab_testing.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/strategies/blue_green.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/strategies/canary.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/validation.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/cleanup.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/docker/create_docker_service.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/docker/docker_setup.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/docker/install_docker_and_compose.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/docker/login_to_docker_hub.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/github/git_configuration.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/inventory.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/k8s.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/main.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/monitoring.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/project_service.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/push_code.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/push_code_tasks.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/setup.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/vm_setup/setup_project_env.yml +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool/webhooks.py +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool.egg-info/SOURCES.txt +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool.egg-info/dependency_links.txt +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool.egg-info/entry_points.txt +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool.egg-info/requires.txt +0 -0
- {vm_tool-1.0.39 → vm_tool-1.0.41}/vm_tool.egg-info/top_level.txt +0 -0
|
@@ -143,7 +143,13 @@ def main():
|
|
|
143
143
|
|
|
144
144
|
commit_message = input("Enter the commit message for your changes: ").strip()
|
|
145
145
|
print("Committing changes...")
|
|
146
|
-
|
|
146
|
+
# Try to commit changes
|
|
147
|
+
result = run_command(f'git commit -m "{commit_message}"', check=False)
|
|
148
|
+
|
|
149
|
+
# If commit failed (likely due to no changes), force an empty commit
|
|
150
|
+
if result.returncode != 0:
|
|
151
|
+
print("⚠️ Nothing to commit. Creating empty commit as requested...")
|
|
152
|
+
run_command(f'git commit --allow-empty -m "{commit_message}"')
|
|
147
153
|
|
|
148
154
|
# 2. Bump Version (which creates a new commit and tag)
|
|
149
155
|
current_version = get_current_version()
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "vm_tool"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.41"
|
|
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.
|
|
79
|
+
current_version = "1.0.41"
|
|
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.
|
|
15
|
+
version="1.0.41", # 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,
|
|
@@ -6,7 +6,7 @@ def main():
|
|
|
6
6
|
parser = argparse.ArgumentParser(
|
|
7
7
|
description="VM Tool: Setup, Provision, and Manage VMs"
|
|
8
8
|
)
|
|
9
|
-
parser.add_argument("--version", action="version", version="1.0.
|
|
9
|
+
parser.add_argument("--version", action="version", version="1.0.41")
|
|
10
10
|
parser.add_argument(
|
|
11
11
|
"--verbose", "-v", action="store_true", help="Enable verbose output"
|
|
12
12
|
)
|
|
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
|
|
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
|