Skip to content

VMSS #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 148 commits into from
Sep 28, 2015
Merged

VMSS #40

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
3f2cb13
Policy Fix for Monthly Retention
pragrawa Aug 26, 2015
e6a91cc
Merge branch 'dev1' of https://github.com/MabOneSdk/azure-powershell …
pragrawa Aug 28, 2015
b151fa3
Scenario Tests improvement
swatimadhukargit Sep 8, 2015
add2821
First commit
nityasharma Sep 8, 2015
6a51d54
merge
nityasharma Sep 18, 2015
b2a0601
Merged changes
nityasharma Sep 18, 2015
260443f
Authorization: Bug fix in Get-AzureRMRoleAassignment to filter list o…
namratab Sep 21, 2015
028f32f
Merge pull request #98 from huangpf/vmss1
huangpf Sep 21, 2015
586f678
Merge branch 'vmss' of https://github.com/AzureRT/azure-powershell in…
huangpf Sep 21, 2015
4e303e7
[#103628912] Added installation script
stankovski Sep 21, 2015
2d643e9
Fix AzureRT test settings
hyonholee Sep 22, 2015
0914abd
[#102955616, #103828190] Add output types for profile cmdlets and fix…
markcowl Sep 22, 2015
7e087c9
Merge pull request #99 from Azure/dev
huangpf Sep 22, 2015
84062e0
Merge pull request #100 from AzureRT/dev
huangpf Sep 22, 2015
56de02e
Merge branch 'dev' of https://github.com/Azure/azure-powershell into …
AditTulasi Sep 22, 2015
01271f6
Bug #4674630: Register-AzureRMBackupContainer failing with mixed case…
mkherani Sep 22, 2015
045092b
fixing datetime tostring locale issue
AditTulasi Sep 22, 2015
df99235
Updated scripts to use new msbuild configuration
stankovski Sep 22, 2015
29f8f3a
Merge pull request #958 from stankovski/dev
stankovski Sep 22, 2015
73ed8eb
Update SQL help documentation
jamestao Sep 22, 2015
706889d
Merge pull request #149 from MabOneSdk/mkherani-dev1
mkherani Sep 22, 2015
2032a22
Batch update cmdlets
Sep 4, 2015
dba36ec
Tests for Batch Update cmdlets
Sep 8, 2015
1ac0309
Help for Batch update cmdlets
Sep 8, 2015
03b34fd
Fix session records for Batch update tests
Sep 8, 2015
6950060
Rename Batch interceptor helper methods
Sep 10, 2015
0e85db2
fixes #103823362 undo renaming for key vault data plane cmdlets
Sep 22, 2015
5166469
Merge pull request #948 from jamestao/dev
ogail Sep 22, 2015
ad1cf6f
Merge dev branch changes into Batch update cmdlets
Sep 22, 2015
d045e2c
Graph call optimization and parameter fixes
shuagarw Sep 22, 2015
6caf154
Merge branch 'dev' of github.com:Azure/azure-powershell into paramete…
shuagarw Sep 22, 2015
3fc36d9
fixes #103934158 Rename AzureRM cmdlets to AzureRm
Sep 22, 2015
392e3fd
Merge branch 'dev' of github.com:Azure/azure-powershell into dev
Sep 22, 2015
48f048b
reverting unintended help file parameter renaming
markcowl Sep 22, 2015
2e7fdf5
Merge pull request #101 from Azure/dev
huangpf Sep 22, 2015
f460381
Merge pull request #102 from AzureRT/vmss
huangpf Sep 22, 2015
d59aeba
Merge pull request #103 from huangpf/dev
huangpf Sep 22, 2015
0e64614
Merge pull request #37 from hyonholee/dev
AzureRT Sep 22, 2015
aa7489a
Merge pull request #104 from AzureRT/vmss
huangpf Sep 22, 2015
59e6fc5
Added AzureRM.Installer module
stankovski Sep 22, 2015
3cfe7dc
Added Publish step to msbuild
stankovski Sep 22, 2015
a0b4906
Merge pull request #962 from jianghaolu/dev
amarzavery Sep 22, 2015
06df4ed
Added AzureRM installer
stankovski Sep 22, 2015
e30bb97
Merge pull request #105 from Azure/dev
huangpf Sep 22, 2015
1f17434
RoleAssignment fixes
shuagarw Sep 23, 2015
83664bd
Merge branch 'dev' of github.com:Azure/azure-powershell into paramete…
shuagarw Sep 23, 2015
2cc2e63
Merge pull request #964 from stankovski/dev
Sep 23, 2015
9799223
Merge pull request #106 from Azure/dev
huangpf Sep 23, 2015
f7497c8
Fix a bunch of typos.
rhencke Sep 23, 2015
378af92
incorporating comments from CR
AditTulasi Sep 23, 2015
8d5b896
Merge branch 'dev1' of https://github.com/MabOneSdk/azure-powershell …
AditTulasi Sep 23, 2015
405a1ff
Merge pull request #150 from MabOneSdk/dev1
AditTulasi Sep 23, 2015
e1724ad
Merge branch 'dev1' of https://github.com/MabOneSdk/azure-powershell …
pragrawa Sep 23, 2015
3245193
Merging changes from Azure release
AditTulasi Sep 23, 2015
06dd1ed
Merge branch 'release' of https://github.com/MabOneSdk/azure-powershe…
AditTulasi Sep 23, 2015
d357653
Commenting out a test case which is not relevant
AditTulasi Sep 23, 2015
6f62d3a
Adding Force Option for Remove Commandlets
pragrawa Sep 23, 2015
a3fbfe5
Adding Force Option for Remove Commandlets
pragrawa Sep 23, 2015
ac06ca4
skip failing tests
namratab Sep 23, 2015
843d985
Merge branch 'dev' of github.com:Azure/azure-powershell into DocUpdate
namratab Sep 23, 2015
76327ed
Merge Conflict
pragrawa Sep 23, 2015
ad719be
Merge Conflict
pragrawa Sep 23, 2015
ca64e18
Merge Conflict
pragrawa Sep 23, 2015
58dfc04
Merge Conflict
pragrawa Sep 23, 2015
0270be6
Merge pull request #947 from namratab/DocUpdate
markcowl Sep 23, 2015
207a0f7
Merge branch 'dev' of github.com:Azure/azure-powershell into paramete…
shuagarw Sep 23, 2015
f69f6df
[fixes #103934158] Fix storage data plane renamings
jianghaolu Sep 23, 2015
b2adc4f
Merging with upstream changes
markcowl Sep 23, 2015
a3ca5dc
Moving model classes and updating scenario tests
markcowl Sep 23, 2015
48ccf0b
Merge pull request #960 from jasper-schneider/batchUpdateCmdlets
ogail Sep 23, 2015
6ab0000
Fix Tests
Sep 23, 2015
13a8f10
Role Assignment fixes review comments
shuagarw Sep 23, 2015
1ae79b0
Fixing output for profile types
markcowl Sep 23, 2015
2444a52
Updated parallel scripts
stankovski Sep 23, 2015
496f794
Fix reference of storage data plane in ApiManagement
jianghaolu Sep 23, 2015
81bab9e
[fixes #103937270] Add -SubscriptionName to Get-AzureRMSubscription
jianghaolu Sep 23, 2015
443c1f9
Clean up ARM EnvironmentSetupHelper
jianghaolu Sep 23, 2015
818c7dd
Merge pull request #968 from jianghaolu/dev
Sep 23, 2015
b5af0cc
Work in progress
stankovski Sep 23, 2015
b994e6b
Merge pull request #971 from jianghaolu/subname
ogail Sep 24, 2015
05be958
Additional changes for RoleAssignments
shuagarw Sep 24, 2015
9fbfcd4
Merge branch 'dev' of github.com:Azure/azure-powershell into paramete…
shuagarw Sep 24, 2015
853c11a
[#103828190, #103425146, #103697132] Fix display and reported issues …
markcowl Sep 24, 2015
d3d7a9a
Merging with upstream
markcowl Sep 24, 2015
3de5d1e
Correcting merge error
markcowl Sep 24, 2015
4043cbd
prototype to isolate the resource management related artifacts
yugangw-msft Sep 24, 2015
c1a7975
Fixing tests and updating converters to handle null values
markcowl Sep 24, 2015
7eda13a
removing app.config files
markcowl Sep 24, 2015
460cfbc
remove useless output folder copying
yugangw-msft Sep 24, 2015
8da70da
Merge Conflict
pragrawa Sep 24, 2015
2eec883
Merge Conflict
pragrawa Sep 24, 2015
319d397
Merge pull request #145 from MabOneSdk/pragrawadev1
pragrawa Sep 24, 2015
48e4ea9
Added help for Profile cmdlets [##103821006]
markcowl Sep 24, 2015
323db1b
Scrub strings
pragrawa Sep 24, 2015
2280573
Merge pull request #151 from MabOneSdk/pragrawadev1
pragrawa Sep 24, 2015
cfacd2b
TestCases
pragrawa Sep 24, 2015
af0e6b6
TestCases
pragrawa Sep 24, 2015
a6562e5
Merge pull request #153 from MabOneSdk/pragrawadev1
pragrawa Sep 24, 2015
9730290
Removing E2ETest
pragrawa Sep 24, 2015
1b43ca4
Merge pull request #154 from MabOneSdk/pragrawadev1
pragrawa Sep 24, 2015
8b14a48
Merge branch 'dev1' into release
pragrawa Sep 24, 2015
773f445
Merge Conflict
pragrawa Sep 24, 2015
f1b0975
Merge Conflict
pragrawa Sep 24, 2015
ca9097f
add scope build property
yugangw-msft Sep 24, 2015
776b344
create arm storage command solution
yugangw-msft Sep 24, 2015
1e966c4
Merge pull request #107 from Azure/dev
huangpf Sep 24, 2015
044d728
Merge pull request #954 from markcowl/pocotypes
Sep 24, 2015
ca9b6b8
Merge branch 'dev' of github.com:Azure/azure-powershell into rmprofile
markcowl Sep 24, 2015
13c321d
Merge pull request #972 from markcowl/rmprofile
Sep 24, 2015
7203eae
Merge pull request #108 from Azure/dev
huangpf Sep 24, 2015
2bc9f92
Merge branch 'dev' of github.com:Azure/azure-powershell into paramete…
shuagarw Sep 24, 2015
16ae20f
create solution for arm compute, network, resource, automation,
yugangw-msft Sep 24, 2015
2c27318
Fixing issue with AzureEndpoints.
ms-alguerra Sep 24, 2015
dfc51cb
cli
huangpf Sep 25, 2015
6389ae9
Merge branch 'vmss' of https://github.com/huangpf/azure-powershell in…
huangpf Sep 25, 2015
3970450
Add Comment Header
huangpf Sep 25, 2015
b4b91aa
create keyvault, operationalInsights siterecovery, profile, sql,
yugangw-msft Sep 24, 2015
b7599d2
Merge pull request #965 from rhencke/patch-1
markcowl Sep 25, 2015
b7a4473
Merge pull request #969 from jasper-schneider/fixTests
markcowl Sep 25, 2015
8c041a4
Merge pull request #970 from shuagarw/parameterAndBugFixes
markcowl Sep 25, 2015
5d7c796
Merge pull request #975 from t-alguer/dev
markcowl Sep 25, 2015
467889a
Merge pull request #109 from Azure/dev
huangpf Sep 25, 2015
2ffbf73
Update Create-ParameterObject.ps1
huangpf Sep 25, 2015
7e1704a
Update Code
huangpf Sep 25, 2015
c33c6dd
create rediscache solution
yugangw-msft Sep 25, 2015
aaba772
use const to represent common imported modules by test code
yugangw-msft Sep 25, 2015
b9ad912
Merge pull request #110 from Azure/dev
huangpf Sep 25, 2015
aafa531
Fixed install script
stankovski Sep 25, 2015
8d71add
clean up the build.proj by not differetiating the rm or sm solutions
yugangw-msft Sep 25, 2015
44704ab
Removed Install-Module Azure from the shortcut
stankovski Sep 25, 2015
557bdfb
Merge pull request #940 from nityasharma/dev
markcowl Sep 25, 2015
24d86ec
Added version check
stankovski Sep 25, 2015
72e481d
Merge pull request #967 from MabOneSdk/release
markcowl Sep 25, 2015
42d311c
Merge pull request #978 from stankovski/dev
stankovski Sep 25, 2015
edd300f
Merge pull request #111 from Azure/dev
huangpf Sep 25, 2015
0d1d883
Merge pull request #112 from Azure/dev
huangpf Sep 25, 2015
6da6284
Merge pull request #977 from yugangw-msft/build
stankovski Sep 25, 2015
6b38643
Merge pull request #113 from Azure/dev
huangpf Sep 25, 2015
bb38103
Merge pull request #114 from huangpf/dev
huangpf Sep 25, 2015
107e43e
Added Uninstall to AzureRM
stankovski Sep 25, 2015
50e0e90
Merge pull request #981 from stankovski/dev
stankovski Sep 25, 2015
64c136c
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Sep 26, 2015
28289db
fix AzureRT test issue
hyonholee Sep 26, 2015
da9cce5
Fix Test
huangpf Sep 26, 2015
9a051fc
Merge pull request #115 from AzureRT/dev
huangpf Sep 26, 2015
8100ada
Update
huangpf Sep 26, 2015
70b9a28
Merge pull request #116 from Azure/dev
huangpf Sep 26, 2015
83437a6
Merge pull request #117 from huangpf/dev
huangpf Sep 28, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
69 changes: 39 additions & 30 deletions AzurePowershell.Test.targets
Original file line number Diff line number Diff line change
Expand Up @@ -42,34 +42,7 @@
<TestTimeout Condition=" '$(TestTimeout)' == '' ">100000000</TestTimeout>
</PropertyGroup>

<ItemGroup>
<XUnitTests Include=".\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\SiteRecovery\Commands.SiteRecovery.Test\bin\Debug\Microsoft.Azure.Commands.SiteRecovery.Test.dll"/>
<XUnitTests Include=".\src\ServiceManagement\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll"/>
<XUnitTests Include=".\src\ServiceManagement\Services\Commands.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Test.dll"/>
<XUnitTests Include=".\src\ServiceManagement\StorSimple\Commands.StorSimple.Test\bin\Debug\Microsoft.WindowsAzure.Commands.StorSimple.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Compute\Commands.Compute.Test\bin\Debug\Microsoft.Azure.Commands.Compute.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Network\Commands.Network.Test\bin\Debug\Microsoft.Azure.Commands.Network.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Dns\Commands.Dns.Test\bin\Debug\Microsoft.Azure.Commands.Dns.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\StreamAnalytics\Commands.StreamAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.StreamAnalytics.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Websites\Commands.Websites.Test\bin\Debug\Microsoft.Azure.Commands.Websites.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll"/>
<XUnitTests Include=".\src\ServiceManagement\ManagedCache\Commands.ManagedCache.Test\bin\Debug\Microsoft.Azure.Commands.ManagedCache.Test.dll"/>
<XUnitTests Include=".\src\ServiceManagement\RemoteApp\Commands.RemoteApp.Test\bin\Debug\Microsoft.Azure.Commands.RemoteApp.Tests.dll"/>
<XUnitTests Include=".\src\ServiceManagement\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll"/>
<XUnitTests Include=".\src\ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\TrafficManager\Commands.TrafficManager2.Test\bin\Debug\Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.dll"/>
<XUnitTests Include=".\src\ServiceManagement\Network\Commands.Network.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\ApiManagement\Commands.ApiManagement.Test\bin\Debug\Microsoft.Azure.Commands.ApiManagement.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Profile\Commands.Profile.Test\bin\Debug\Microsoft.Azure.Commands.Profile.Test.dll"/>
</ItemGroup>


<Target Name="InvokeMSTest">
<!--Remove existing test result; otherwise mstest will error-->
<Delete Files="$(_testResult)"/>
Expand All @@ -79,11 +52,48 @@
</Target>

<Target Name="InvokeXUnit">
<ItemGroup>
<AsmXUnitTests Include=".\src\ServiceManagement\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll"/>
<AsmXUnitTests Include=".\src\ServiceManagement\Services\Commands.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Test.dll"/>
<AsmXUnitTests Include=".\src\ServiceManagement\StorSimple\Commands.StorSimple.Test\bin\Debug\Microsoft.WindowsAzure.Commands.StorSimple.Test.dll"/>
<AsmXUnitTests Include=".\src\ServiceManagement\ManagedCache\Commands.ManagedCache.Test\bin\Debug\Microsoft.Azure.Commands.ManagedCache.Test.dll"/>
<AsmXUnitTests Include=".\src\ServiceManagement\RemoteApp\Commands.RemoteApp.Test\bin\Debug\Microsoft.Azure.Commands.RemoteApp.Tests.dll"/>
<AsmXUnitTests Include=".\src\ServiceManagement\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll"/>
<AsmXUnitTests Include=".\src\ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Test.dll"/>
<AsmXUnitTests Include=".\src\ServiceManagement\Network\Commands.Network.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.dll"/>
</ItemGroup>
<ItemGroup Condition=" '$(scope)' == '' ">
<XUnitTests Include=".\src\ResourceManager\SiteRecovery\Commands.SiteRecovery.Test\bin\Debug\Microsoft.Azure.Commands.SiteRecovery.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Compute\Commands.Compute.Test\bin\Debug\Microsoft.Azure.Commands.Compute.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Network\Commands.Network.Test\bin\Debug\Microsoft.Azure.Commands.Network.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Dns\Commands.Dns.Test\bin\Debug\Microsoft.Azure.Commands.Dns.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\StreamAnalytics\Commands.StreamAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.StreamAnalytics.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Websites\Commands.Websites.Test\bin\Debug\Microsoft.Azure.Commands.Websites.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\TrafficManager\Commands.TrafficManager2.Test\bin\Debug\Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.dll"/>
<XUnitTests Include=".\src\ResourceManager\ApiManagement\Commands.ApiManagement.Test\bin\Debug\Microsoft.Azure.Commands.ApiManagement.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\Profile\Commands.Profile.Test\bin\Debug\Microsoft.Azure.Commands.Profile.Test.dll"/>
<XUnitTests Include=".\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll"/>
<XUnitTests Include="@(AsmXUnitTests)"/>
</ItemGroup>
<ItemGroup Condition=" '$(scope)' == 'ServiceManagement' ">
<XUnitTests Include="@(AsmXUnitTests)"/>
</ItemGroup>
<ItemGroup Condition=" '$(scope)' !='' and '$(scope)' != 'ServiceManagement' ">
<XUnitTests Include="$(MSBuildProjectDirectory)\src\ResourceManager\$(scope)\*\bin\Debug\*.Test.dll"/>
</ItemGroup>

<Message Importance="high" Text="Running XUnit tests" />
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
<Exec
Command="$(MSBuildProjectDirectory)\packages\xunit.runner.console.2.0.0\tools\xunit.console.x86.exe &quot;%(XUnitTests.Identity)&quot; -parallel none -maxthreads 0 -trait &quot;AcceptanceType=CheckIn&quot; -html &quot;$(TestOutputDirectory)\%(XUnitTests.Filename).html&quot;"
Timeout="$(TestTimeout)" ContinueOnError="false"/>
Timeout="$(TestTimeout)" ContinueOnError="false" Condition=" @(XUnitTests) != '' "/>
<OnError ExecuteTargets="TimeoutErrorHandler"/>
</Target>

Expand All @@ -101,7 +111,6 @@
</Target>

<Target Name="BeforeRunTests">
<Message Importance="high" Text="You are required to have installed a version of Visual Studio with support for MSTest (and MSTest on your path)." />
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
</Target>

Expand Down
61 changes: 33 additions & 28 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@
<SetupOutputDirectory>$(PublishDirectory)\Setup</SetupOutputDirectory>
<TestOutputDirectory>$(PublishDirectory)\TestResults</TestOutputDirectory>
<BuildInParallel Condition="'$(BuildInParallel)' == ''">true</BuildInParallel>
<NuGetPublishingSource Condition=" '$(NuGetPublishingSource)' != '' ">http://psget/PSGallery/api/v2/</NuGetPublishingSource>
</PropertyGroup>
<ItemGroup>
<AzureResourceManagerSln Include=".\src\ResourceManager.sln" />
<AzureServiceManagementSln Include=".\src\ServiceManagement.sln" />
<CmdletSolutionsToBuild Include=".\src\ResourceManager.sln;.\src\ServiceManagement.sln" Condition=" '$(Scope)' == '' "/>
<CmdletSolutionsToBuild Include=".\src\$(Scope).sln" Condition=" '$(Scope)' != '' "/>
<SetupSln Include=".\setup\azurepowershell.sln" />
<SetupPowershellGetSln Include=".\setup-powershellget\powershellget.sln" />
</ItemGroup>
Expand All @@ -63,28 +64,19 @@

<!-- Clean the build in all configurations -->
<Target Name="Clean">
<!-- Clean the solutions -->
<Message Importance="high" Text="Cleaning Cmdlets..." ContinueOnError="false" />
<MSBuild
Projects="@(AzureResourceManagerSln)"
Targets="Clean"
Properties="Configuration=$(Configuration);Platform=Any CPU"
ContinueOnError="false" />
<MSBuild
Projects="@(AzureServiceManagementSln)"
Targets="Clean"
Properties="Configuration=$(Configuration);Platform=Any CPU"
ContinueOnError="false" />
<MSBuild
Projects="@(SetupSln)"
Projects="@(CmdletSolutionsToBuild)"
Targets="Clean"
Properties="Configuration=$(Configuration);Platform=Any CPU"
ContinueOnError="false" />

<MSBuild
Projects="@(SetupPowershellGetSln)"
Targets="Clean"
Properties="Configuration=$(Configuration);Platform=Any CPU"
ContinueOnError="false" />
ContinueOnError="false"
Condition=" '$(Scope)' == '' "/>

<!-- Delete the publish files -->
<Message Importance="high" Text="Cleaning publish files..." ContinueOnError="false" />
Expand Down Expand Up @@ -115,6 +107,7 @@
<NuGetCommand>$(MSBuildProjectDirectory)\src\.nuget\NuGet.exe</NuGetCommand>
<NuGetRestoreConfigFile>$(MSBuildProjectDirectory)\restore.config</NuGetRestoreConfigFile>
<NuGetRestoreConfigSwitch>-ConfigFile &quot;$(NuGetRestoreConfigFile)&quot;</NuGetRestoreConfigSwitch>
<PowerShellCommand>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</PowerShellCommand>
</PropertyGroup>

<!--
Expand All @@ -138,8 +131,12 @@
<Exec Command="$(NuGetCommand) sources add -Name LocalFeed -Source &quot;$(MSBuildProjectDirectory)\tools\LocalFeed&quot; $(NuGetRestoreConfigSwitch)"/>

<!-- Restore packages -->
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\src\ResourceManager.sln $(NuGetRestoreConfigSwitch)" ContinueOnError="false" />
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\src\ServiceManagement.sln $(NuGetRestoreConfigSwitch)" ContinueOnError="false" />
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\src\ResourceManager.sln $(NuGetRestoreConfigSwitch)" ContinueOnError="false"
Condition="$(Scope) == ''" />
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\src\ServiceManagement.sln $(NuGetRestoreConfigSwitch)" ContinueOnError="false"
Condition="$(Scope) == ''" />
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\src\$(Scope).sln $(NuGetRestoreConfigSwitch)" ContinueOnError="false"
Condition="$(Scope) != ''" />

<!--Restore the xunit runner needed to run unit tests-->
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\packages.config -PackagesDirectory $(MSBuildProjectDirectory)\packages" />
Expand All @@ -151,15 +148,11 @@
<Target Name="Build" DependsOnTargets="RestoreNugetPackages;BuildMsBuildTask">
<Message Importance="high" Text="Building Cmdlets..." />
<MSBuild
Projects="@(AzureResourceManagerSln)"
Projects="@(CmdletSolutionsToBuild)"
Targets="Build"
Properties="Configuration=$(Configuration);Platform=Any CPU"
BuildInParallel="$(BuildInParallel)" ContinueOnError="false" />
<MSBuild
Projects="@(AzureServiceManagementSln)"
Targets="Build"
Properties="Configuration=$(Configuration);Platform=Any CPU"
BuildInParallel="$(BuildInParallel)" ContinueOnError="false" />
BuildInParallel="$(BuildInParallel)"
ContinueOnError="false" />

<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />

Expand All @@ -168,14 +161,18 @@
Projects="@(SetupPowershellGetSln)"
Targets="Build"
Properties="Configuration=$(Configuration);Platform=Any CPU"
ContinueOnError="false" />
ContinueOnError="false"
Condition=" '$(Scope)' == '' "/>

<MSBuild
Projects="@(SetupSln)"
Targets="Build"
Properties="Configuration=$(Configuration);Platform=Any CPU"
ContinueOnError="false" />
ContinueOnError="false"
Condition=" '$(Scope)' == '' "/>

<CallTarget Targets="CodeSignInstaller" Condition=" '$(CodeSign)' == 'true' " />
<CallTarget Targets="CodeSignInstaller"
Condition=" '$(CodeSign)' == 'true' and '$(Scope)' == ''" />
</Target>

<!-- Do everything possible -->
Expand Down Expand Up @@ -285,6 +282,14 @@
<!--If we are testing locally then we copy the binaries and do not submit to the code sign server-->
<Copy SourceFiles="@(InstallersToSign)" DestinationFolder="signed" Condition="$(DelaySign)" />
</Target>

<!-- Publish all packages -->
<Target Name="Publish" DependsOnTargets="Build">
<Error Condition=" '$(NuGetKey)' == '' " Text="You must provide the NuGetKey parameter to the build: /p:NuGetKey=YOUR_PUBLISHING_KEY" />
<Message Importance="high" Text="Publishing Cmdlets..." />

<Exec Command="$(PowerShellCommand) -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\PublishModules.ps1 $(Configuration) $(NuGetKey) \&quot;$(NuGetPublishingSource)\&quot;&quot;"/>
</Target>

<PropertyGroup>
<RunTestLive Condition="'$(RunTestLive)' == ''">false</RunTestLive>
Expand All @@ -295,7 +300,7 @@
<Import Project="$(MSBuildThisFileDirectory)AzurePowershell.test.targets"/>

<!-- Run checkin tests for each pull request -->
<Target Name="Test" DependsOnTargets="Build;BeforeRunTests">
<Target Name="Test" DependsOnTargets="BeforeRunTests">
<Message Importance="high" Text="Running check in tests..." />
<CallTarget Targets="InvokeXUnit"/>
</Target>
Expand Down
38 changes: 34 additions & 4 deletions setup-powershellget/Setup/ShortcutStartup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,41 @@ Param(
[switch]$Install
)

cd c:\
$welcomeMessage = @"
$error.clear()
try {
if ($Install.IsPresent) {
Write-Output @"

Finalizing installation of Azure PowerShell.
Installing Azure Modules from PowerShell Gallery.
This may take some time...
"@
$env:PSModulePath = "$env:HOME\Documents\WindowsPowerShell\Modules;$env:ProgramFiles\WindowsPowerShell\Modules;$env:SystemRoot\system32\WindowsPowerShell\v1.0\Modules\"

Import-Module PackageManagement

$result = Get-PackageProvider -Name NuGet -ForceBootstrap

Import-Module PowerShellGet

Install-Module AzureRM
Write-Output "AzureRM $((Get-InstalledModule -Name AzureRM)[0].Version) installed..."
Update-AzureRM
} else {
cd c:\
$welcomeMessage = @"
For a list of all Azure cmdlets type 'help azure'.
For a list of Azure Pack cmdlets type 'Get-Command *wapack*'.

To use Azure Service Management cmdlets please execute the following cmdlet:
Install-Module Azure
"@
Write-Output $welcomeMessage
Write-Output $welcomeMessage

$VerbosePreference = "Continue"
$VerbosePreference = "Continue"
}
}
catch { Write-Output $error }
if ($error) {
Read-Host -Prompt "An error occured during installation. Press any key..."
}
2 changes: 1 addition & 1 deletion setup-powershellget/azurecmd.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<CustomAction Id="SetCustomActionDataValue" Return="check" Property="UpdatePSShortcut"
Value="ShortcutPath=[AzureSdkMenu]Microsoft Azure PowerShell.lnk;DefaultShortcutPath=[ProgramMenuFolder]System Tools\Windows PowerShell.lnk" />
<CustomAction Id="SetExecutionPolicy" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -Command &quot;Set-ExecutionPolicy RemoteSigned -Force&quot;" Execute="deferred" Impersonate="no" Return="check"/>
<CustomAction Id="RunModuleInstallScript" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -Command &quot;\&quot;[PowerShellFolder]\ShortcutStartup.ps1 -Install\&quot;&quot;" Execute="deferred" Impersonate="no" Return="check"/>
<CustomAction Id="RunModuleInstallScript" Property="POWERSHELLEXE" ExeCommand="-NoLogo -NoProfile -Command &quot;. \&quot;[PowerShellFolder]\ShortcutStartup.ps1\&quot; -Install&quot;" Execute="deferred" Impersonate="no" Return="check"/>

<InstallExecuteSequence>
<Custom Action="SetCustomActionDataValue" After="CreateShortcuts">NOT Installed</Custom>
Expand Down
Loading