1. fixed most format and typing
2. update yaml schema as feedback
3. fix some file names
4. Add environments factory to manage multiple environments
. move environment request logic to runner, but will be flow part later.
. other minor improvements.
* Add Linux TVM SecureBoot test cases
* Fix SSH key read issue
* Adding sbinfo tool download
* Update priority of the test case
Co-authored-by: Prashant Agrawal <pra@microsoft.com>
* Refactor the code (XML processing)
1. Put XML processing code into a PS module so that the main script looks more clear.
2. Other code style change and naming change.
Test passed on Azure.
* Update Run-LISAv2.ps1 to remove the extra space
* Address review comments for above patches
* Cleanup AddAzureRmAccountFromSecretsFile.ps1
Test passed on Azure.
11/15/2018 23:37:52 : [INFO ] Updated Test Case xml files.
11/15/2018 23:37:52 : [INFO ] Using provided secrets file: c:\Users\sixiao\Documents\GitHub\AzureSecrets.xml
11/15/2018 23:37:52 : [INFO ] c:\Users\sixiao\Documents\GitHub\AzureSecrets.xml found.
11/15/2018 23:37:52 : [INFO ] ---------------------------------
11/15/2018 23:37:52 : [INFO ] Authenticating Azure PS session..
11/15/2018 23:37:54 : [INFO ] Current Subscription : 2cd20493-xxxx-xxxx-xxxx-ab95b63d82c4.
11/15/2018 23:37:54 : [INFO ] ---------------------------------
11/15/2018 23:37:54 : [INFO ] Validating XML Files from C:\LISAv2\NDEG54335 folder recursively...
* Refine the framework code
Test passwd on Azure with below command:
.\Run-LisaV2.ps1 -TestPlatform "Azure" -TestLocation "westus2" -RGIdentifier "simonxiaotest" -ARMImageName "Canonical UbuntuServer 16.04-LTS latest" -TestNames "BVT-VERIFY-DEPLOYMENT-PROVISION" -XMLSecretFile c:\AzureSecrets.xml -ForceDeleteResources
* Update exception handling code
We should consider having a common function to do the exception logging. Leave it in the future patch to update all.
* Update license with Apache
Added Copyright based on Apache (CELA requested)
Removed unnecessary space.
Removed personal information
Added comment for future code refactoring
* Remove email address from scripts
1. Removed email address from each individual script.
2. Add the suppport email address to README file
3. Updated the README file date.
* Consistent Header format except TestScripts
##############################################################################################
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License.
# Description :
# Operations :
#
###############################################################################################
1. Use above format as Script header. All made changes except test scripts under TestScript. Each individual script owner will do.
2. Added a space befor code starts
* Reframed the head format from suggested one
Header format changed except TestScripts
* Revert deleted example with LIS path
* Removed 'Version:' in each script file