Skip to content

Commit 3523698

Browse files
committed
Merge pull request #1 from Azure/master
Getting upstream master
2 parents d0442cd + 6b43f46 commit 3523698

File tree

4,385 files changed

+1321182
-202117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,385 files changed

+1321182
-202117
lines changed

AzurePowershell.Test.targets

Lines changed: 195 additions & 44 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](http://windowsazure.github.com/guidelines.html).
44

5-
If you encounter any bugs with Microsoft Azure PowerShell please file an issue in the [Issues](https://github.com/WindowsAzure/azure-sdk-tools/issues) section of the project.
5+
If you encounter any bugs with Microsoft Azure PowerShell please file an issue in the [Issues](https://github.com/Azure/azure-powershell/issues) section of the project.

ChangeLog.md

Lines changed: 1534 additions & 0 deletions
Large diffs are not rendered by default.

ChangeLog.txt

Lines changed: 0 additions & 830 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<meta name="google-site-verification" content="tZgbB2s-hTI0IePQQRCjHqL_Vf0j_XJmehXAHJerrn4" />
12
# Microsoft Azure PowerShell
23

34
This repository contains a set of PowerShell cmdlets for developers and administrators to develop, deploy and manage Microsoft Azure applications.
@@ -28,9 +29,9 @@ This repository contains a set of PowerShell cmdlets for developers and administ
2829
* Log streaming
2930
* Save log
3031
* Cloud Services
31-
* Create scaffolding for cloud service and role. Role support includes Node.js, PHP, Django and Cache.
32+
* Create scaffolding for cloud service and role. Role support includes Node.js and PHP.
3233
* Manage cloud service and role, such as CRUD, start and stop.
33-
* Manage extension
34+
* Manage extension.
3435
* Start/Stop Azure emulator.
3536
* Manage certificate.
3637
* Manage cloud service extensions
@@ -122,7 +123,6 @@ For detail descriptions and examples of the cmdlets, type
122123
* ```help azure``` to get all the cmdlets.
123124
* ```help node-dev``` to get all Node.js development related cmdlets.
124125
* ```help php-dev``` to get all PHP development related cmdlets.
125-
* ```help python-dev``` to get all Python development related cmdlets.
126126
* ```help <cmdlet name>``` to get the details of a specific cmdlet.
127127

128128
## Supported Environments
@@ -139,12 +139,12 @@ For detail descriptions and examples of the cmdlets, type
139139
2. Open Microsoft Web Platform Installer and search for __Microsoft Azure PowerShell__.
140140
3. Install.
141141

142-
You can also find the standalone installers for all the versions at [Downloads](https://github.com/Azure/azure-sdk-tools/releases)
142+
You can also find the standalone installers for all the versions at [Downloads](https://github.com/Azure/azure-powershell/releases)
143143

144144
### Source Code
145145

146146
1. Download the source code from GitHub repo
147-
2. Follow the [Microsoft Azure PowerShell Developer Guide](https://github.com/Azure/azure-sdk-tools/wiki/Windows-Azure-PowerShell-Developer-Guide)
147+
2. Follow the [Microsoft Azure PowerShell Developer Guide](https://github.com/Azure/azure-powershell/wiki/Microsoft-Azure-PowerShell-Developer-Guide)
148148

149149
### Supported PowerShell Versions
150150

@@ -290,7 +290,7 @@ Be sure to check out the [Microsoft Azure Developer Forums on Stack Overflow](ht
290290

291291
If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](http://windowsazure.github.com/guidelines.html).
292292

293-
If you encounter any bugs with the library please file an issue in the [Issues](https://github.com/Azure/azure-sdk-tools/issues) section of the project.
293+
If you encounter any bugs with the library please file an issue in the [Issues](https://github.com/Azure/azure-powershell/issues) section of the project.
294294

295295
# Learn More
296296

build.proj

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@
1717
<TestOutputDirectory>$(PublishDirectory)\TestResults</TestOutputDirectory>
1818
<DebugBuildConfig>Configuration=Debug;Platform=Any CPU</DebugBuildConfig>
1919
<ReleaseBuildConfig>Configuration=Release;Platform=Any CPU</ReleaseBuildConfig>
20+
<BuildInParallel Condition="'$(BuildInParallel)' == ''">true</BuildInParallel>
2021
</PropertyGroup>
2122
<ItemGroup>
2223
<AzurePowerShellSln Include=".\src\AzurePowerShell.sln" />
2324
<SetupSln Include=".\setup\azurepowershell.sln" />
2425
</ItemGroup>
2526

2627
<UsingTask
27-
AssemblyFile="$(MSBuildProjectDirectory)\packages\xunit.runners.2.0.0-beta4-build2738\tools\xunit.runner.msbuild.dll"
28+
AssemblyFile="$(MSBuildProjectDirectory)\packages\xunit.runner.console.2.0.0\tools\xunit.runner.msbuild.dll"
2829
TaskName="Xunit.Runner.MSBuild.xunit" />
2930

3031
<!-- Clean the build in all configurations -->
@@ -87,26 +88,25 @@
8788
<NuGetCache Include="$(LOCALAPPDATA)\NuGet\Cache\*.nupkg"/>
8889
</ItemGroup>
8990

90-
<!-- Delete NuGet cache-->
91+
<!-- Delete NuGet cache-->
9192
<Delete Files="@(NuGetCache)" />
92-
93+
9394
<Delete Files="$(NuGetRestoreConfigFile)" />
94-
<WriteLinesToFile File="$(NuGetRestoreConfigFile)" Lines="&lt;configuration&gt;&lt;/configuration&gt;" Overwrite="true" Encoding="UTF-8" />
95-
<!-- Create config for user name and password for private feed access -->
96-
<Exec Command="$(NuGetCommand) sources add -Name AzureSdkInternal -Source &quot;https://www.myget.org/F/azure-sdk-internal/&quot; $(NuGetRestoreConfigSwitch)" />
97-
<CallTarget Targets="ForceRestorePackagesFromPrivateFeed"/>
95+
<WriteLinesToFile
96+
File="$(NuGetRestoreConfigFile)"
97+
Lines="&lt;configuration&gt;&lt;/configuration&gt;"
98+
Overwrite="true"
99+
Encoding="Unicode"/>
100+
101+
<Exec Command="$(NuGetCommand) sources add -Name LocalFeed -Source &quot;$(MSBuildProjectDirectory)\tools\LocalFeed&quot; $(NuGetRestoreConfigSwitch)"/>
102+
98103
<!-- Restore packages -->
99104
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\src\AzurePowerShell.sln $(NuGetRestoreConfigSwitch)" ContinueOnError="false" />
100-
<!-- delete config file, don't want to leave passwords hanging around on the build server file system -->
101-
<Delete Files="$(NuGetRestoreConfigFile)" />
105+
102106
<!--Restore the xunit runner needed to run unit tests-->
103107
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\packages.config -PackagesDirectory $(MSBuildProjectDirectory)\packages" />
104-
</Target>
105-
106-
<Target Name="ForceRestorePackagesFromPrivateFeed" Condition="'$(PRIVATE_FEED_PASSWORD)' != ''">
107-
<Exec Command="$(NuGetCommand) sources add -Name Hydra -Source &quot;$(PRIVATE_FEED_URL)&quot; $(NuGetRestoreConfigSwitch)" />
108-
<Exec Command="$(NuGetCommand) sources Update -Name Hydra -UserName $(PRIVATE_FEED_USER_NAME) -Password &quot;$(PRIVATE_FEED_PASSWORD)&quot; $(NuGetRestoreConfigSwitch)"
109-
EchoOff="true" />
108+
109+
<Delete Files="$(NuGetRestoreConfigFile)" />
110110
</Target>
111111

112112
<!-- Build all flavors of the Cmdlets -->
@@ -116,11 +116,13 @@
116116
Projects="@(AzurePowerShellSln)"
117117
Targets="Build"
118118
Properties="$(DebugBuildConfig)"
119+
BuildInParallel="$(BuildInParallel)"
119120
ContinueOnError="false" />
120121
<MSBuild
121122
Projects="@(AzurePowerShellSln)"
122123
Targets="Build"
123124
Properties="$(ReleaseBuildConfig)"
125+
BuildInParallel="$(BuildInParallel)"
124126
ContinueOnError="false" />
125127
</Target>
126128

@@ -163,7 +165,7 @@
163165
<!-- Do everything possible -->
164166
<Target
165167
Name="Full"
166-
DependsOnTargets="ForceRestorePackages;Clean;BuildDebug;BuildRelease;Test;BuildSetupDebug;BuildSetupRelease" />
168+
DependsOnTargets="ForceRestorePackages;Clean;BuildDebug;Test;BuildSetupDebug" />
167169

168170
<!-- Build the Cmdlets in Release configuration -->
169171
<Target Name="BuildRelease" DependsOnTargets="ForceRestorePackages">
@@ -172,6 +174,7 @@
172174
Projects="@(AzurePowerShellSln)"
173175
Targets="Build"
174176
Properties="$(ReleaseBuildConfig)"
177+
BuildInParallel="$(BuildInParallel)"
175178
ContinueOnError="false" />
176179
</Target>
177180

@@ -182,20 +185,21 @@
182185
Projects="@(AzurePowerShellSln)"
183186
Targets="Build"
184187
Properties="$(DebugBuildConfig)"
188+
BuildInParallel="$(BuildInParallel)"
185189
ContinueOnError="false" />
186190
</Target>
187191

188192
<PropertyGroup>
189193
<RunTestLive Condition="'$(RunTestLive)' == ''">false</RunTestLive>
190-
<XUnitExcludedTrait Condition="!$(RunTestLive)">RunType=LiveOnly</XUnitExcludedTrait>
194+
<XUnitIncludedTrait Condition="!$(RunTestLive)">AcceptanceType=CheckIn</XUnitIncludedTrait>
191195
</PropertyGroup>
192196
<!-- Note: all testing related target should go to 'AzurePowershell.test.targets' file except the one used by CI run -->
193197
<Import Project="$(MSBuildThisFileDirectory)AzurePowershell.test.targets"/>
194198

195199
<!-- Run checkin tests for each pull request -->
196200
<Target Name="Test" DependsOnTargets="BuildDebug;BeforeRunTests">
197201
<Message Importance="high" Text="Running check in tests..." />
198-
<CallTarget Targets="KeyVaultTests; SqlTests; CommonTests; TestManagement; TestHDInsight; TestManagedCache; TestServiceManagement; TestServiceManagementExtensions; TestSqlDatabase; TestStorage; TestResourceManager; MockedScenarioTests; TestDSCExtension_x64; TestBatch; TestDataFactoryManager; TestRecoveryServices; TestStreamAnalyticsManager"/>
202+
<CallTarget Targets="InvokeXUnit"/>
199203
</Target>
200204

201205
<!-- Run Full switch with scenario tests -->

packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="xunit.runners" version="2.0.0-beta4-build2738" />
3+
<package id="xunit.runner.console" version="2.0.0" />
44
<package id="xunit.runners" version="1.9.2" />
55
</packages>

setup/azurecmd.wxs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
33

4-
<?define productName="Microsoft Azure PowerShell - January 2015" ?>
4+
<?define productName="Microsoft Azure PowerShell - September 2015" ?>
55
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
66
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>
77

8-
<?define version="0.8.13" ?>
8+
<?define version="0.9.8" ?>
99
<?define versionedStartMenuFolder="Microsoft Azure" ?>
1010
<?define staleStartMenuFolder="Windows Azure" ?>
1111

0 commit comments

Comments
 (0)