Skip to content

Commit

Permalink
Set version to 0.3.6 (#3518)
Browse files Browse the repository at this point in the history
* Set version to 0.3.6

This update is necessary for PR #3153

* Added az-vm-repair to the file to trigger the CI job.

* changed "vm repair" to "vm-repair"

* Added HISTORY.rst

* Added missing command "vm-repair" and updated its URL

* HISTORY.rst is used by setup.py now. Added package-data "linux-build_setup-cloud-init.txt"

* merged manually missing object for arcdata

* Update service_name.json

fixed the linter complain about a missing newline

* Add missing newline at end of file. Complained by linter

* Add missing Command "vm"
  • Loading branch information
malachma authored Jul 29, 2021
1 parent 864e5c4 commit 54b11ed
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
13 changes: 12 additions & 1 deletion src/service_name.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,5 +438,16 @@
"Command": "az arcdata",
"AzureServiceName": "Azure Data Services",
"URL": "https://docs.microsoft.com/en-us/sql/sql-server/azure-arc/overview?view=sql-server-ver15"
},
{
"Command": "az vm-repair",
"AzureServiceName": "Azure CLI VM Repair Extension",
"URL": "https://docs.microsoft.com/en-us/cli/azure/vm/repair?view=azure-cli-latest"
},
{
"Command": "az vm",
"AzureServiceName": "Azure Virtual Machines",
"URL": "https://docs.microsoft.com/en-us/azure/virtual-machines/"
}
]
]

13 changes: 13 additions & 0 deletions src/vm-repair/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

Release History
===============

0.3.6
++++++
Add support for ALAR2 which requires cloud-init script to prepare the recovery VM with a
build environment for Rust.

0.3.5
++++++

Add support for nested VMs
8 changes: 6 additions & 2 deletions src/vm-repair/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from codecs import open
from setuptools import setup, find_packages

VERSION = "0.3.5"
VERSION = "0.3.6"

CLASSIFIERS = [
'Development Status :: 4 - Beta',
Expand All @@ -26,11 +26,14 @@

DEPENDENCIES = []

with open('HISTORY.rst', 'r', encoding='utf-8') as f:
HISTORY = f.read()

setup(
name='vm-repair',
version=VERSION,
description='Auto repair commands to fix VMs.',
long_description='VM repair command will enable Azure users to self-repair non-bootable VMs by copying the source VM\'s OS disk and attaching it to a newly created repair VM.',
long_description='VM repair command will enable Azure users to self-repair non-bootable VMs by copying the source VM\'s OS disk and attaching it to a newly created repair VM.'+ '\n\n' + HISTORY,
license='MIT',
author='Microsoft Corporation',
author_email='caiddev@microsoft.com',
Expand All @@ -44,6 +47,7 @@
'scripts/enable-nestedhyperv.ps1',
'scripts/linux-mount-encrypted-disk.sh',
'scripts/win-mount-encrypted-disk.ps1',
'linux-build_setup-cloud-init.txt',
'azext_metadata.json'
]
},
Expand Down

0 comments on commit 54b11ed

Please sign in to comment.