在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Azure/azure-linux-automation开源软件地址(OpenSource Url):https://github.com/Azure/azure-linux-automation开源编程语言(OpenSource Language):PowerShell 76.8%开源软件介绍(OpenSource Introduction):This repository is deprecated, we're migrating to https://github.com/LIS/LISAv2. azure-linux-automationAutomation tools for testing Linux images on Microsoft Azure OverviewAzure automation is the project for primarily running the Test Suite in the Windows Azure environment to test the Linux Agent for Windows Azure. Azure automation project is a collection of PowerShell, BASH and python scripts. The test ensures the functionality of Windows Azure Linux Agent and Windows Azure support for different Linux distributions. This test suite focuses on the Build Verification Tests (BVTs), Azure VNET Tests and Network tests. The test environment is composed of a Windows Machine (With Azure PowerShell SDK) and the Virtual Machines on Azure that perform the actual tests. Prepare Your Machine for Automation CyclePrerequisite
Download Latest Automation Code
Download Latest Azure PowerShell
Authenticate Your Machine with Your Azure SubscriptionThere are two ways to authenticate your machine with your subscription.
Download Public UtilitiesDownload Putty executables from http://www.putty.org and keep them in
Download dos2unix executables from http://sourceforge.net/projects/dos2unix/ and keep them in
Download 7-zip executable from http://www.7-zip.org/ ( Direct Download Link : http://www.7-zip.org/a/7za920.zip ) and keep them in
Update Azure_ICA_all.xml file
Example : <General>
<SubscriptionID>Your Subscription ID</SubscriptionID>
<SubscriptionName>Your Subscription Name</SubscriptionName>
<CertificateThumbprint>Certificate associated with your subscription</CertificateThumbprint>
<ManagementEndpoint>https://management.core.windows.net</ManagementEndpoint>
<StorageAccount>your current storage account</StorageAccount>
<Location>Your preferred location</Location>
<AffinityGroup></AffinityGroup>
</General>
Example: <Distro>
<Name>Distro_Name</Name>
<OsImage>Distro_OS_Image_Name_As_Appearing_under_Azure_OS_Images</OsImage>
</Distro>
Prepare VHD to work in Azure
A VHD with Linux OS must be made compatible to work in Azure environment. This includes –
Please follow the steps mentioned at: http://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd/ Prepare VHD to work with Automation code.
To run automation code successfully, you need have following packages installed in your Linux VHD.
Create SSH Key Pair
A Linux Virtual machine login can be done with Password authentication or SSH key pair authentication. You must create a Public Key and Private key to run automation successfully. To learn more about how to create SSH key pair, please visit here. After creating Public Key (.cer) and putty compatible private key (.ppk), you must put it in your VNET Preparation
Create a Virtual Network in AzureA virtual network should be created and connected to Customer Network before running VNET test cases. To learn about how to create a virtual network on Azure, please visit here. Create A customer site using RRASApart from Virtual Network in Azure, you also need a network (composed of Subnets and DNS server) to work as Customer Network. If you don’t have separate network to run VNET, you can create a virtual customer network using RRAS. To learn more, please visit here. How to Start AutomationBefore starting Automation, make sure that you have completed steps in chapter Prepare Your Machine for Automation Cycle
Automation Cycles Available
Supported Azure Mode
Command to Start any of the Automation CycleRun test in ASM mode
Run test in ARM mode
More InformationFor more details, please refer to the documents here. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论