Skip to content

Commit 20bdcea

Browse files
authored
Merge pull request Azure#7042 from Azure/release-2018-08-24
[6.8.0] Merge release --> master
2 parents f25657c + 33ab6e6 commit 20bdcea

File tree

3,720 files changed

+111508
-71678
lines changed

Some content is hidden

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

3,720 files changed

+111508
-71678
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ If this issue is not a bug report, please remove the below template
2828

2929
### Module Version
3030

31-
<!-- Please run (Get-Module -Name AzureRM -ListAvailable) to get the version(s) of AzureRM installed on your machine -->
31+
<!-- Please run (Get-Module -ListAvailable) to get the version(s) of all modules, including Azure installed on your machine -->
3232

3333
```powershell
34-
Get-Module -Name AzureRM -ListAvailable
34+
Get-Module -ListAvailable
3535
```
3636

3737
### Environment Data
@@ -44,7 +44,7 @@ $PSVersionTable
4444

4545
### Debug Output
4646

47-
<!-- Please run the above script with $DebugPreference = "Continue" and paste the resulting debug stream in the below code block -->
47+
<!-- Please run the above script with $DebugPreference='Continue' and paste the resulting debug stream in the below code block -->
4848

4949
```
5050

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,3 +235,6 @@ launchSettings.json
235235
/src/StackAdmin/AzureRM/AzureRM.psm1
236236
/src/StackAdmin/AzureStack/AzureStack.psm1
237237
/tools/AzureRM.Netcore/AzureRM.Netcore.psm1
238+
/ModuleMappings.json
239+
/SolutionMappings.json
240+
/TestMappings.json

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sudo: required
22
language: csharp
33
mono: none
4-
dotnet: 2.1.200
4+
dotnet: 2.1.400
55
dist: trusty
66

77
env:
@@ -15,16 +15,20 @@ before_install:
1515
- sudo apt-get install docker-ce
1616
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
1717
- curl https://packages.microsoft.com/config/ubuntu/14.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list
18+
- wget -q https://packages.microsoft.com/config/ubuntu/14.04/packages-microsoft-prod.deb
19+
- sudo dpkg -i packages-microsoft-prod.deb
20+
- sudo apt-get install apt-transport-https
1821
- sudo apt-get update
1922
- sudo apt-get install -y powershell
2023
- sudo pwsh -NonInteractive -NoLogo -NoProfile -Command "Install-Module platyPS -Force -Confirm:\$false -Scope CurrentUser"
2124

2225
# https://github.com/travis-ci/travis-ci/issues/1066#issuecomment-383489298
2326
script:
2427
- sudo dotnet msbuild build.proj /t:BuildNetcore /p:Configuration=$CONFIG || travis_terminate 1
28+
- sudo dotnet tools/StaticAnalysis/bin/$CONFIG/netcoreapp2.1/StaticAnalysis.Netcore.dll -p src/Package/$CONFIG -r src/Package -u
2529
- sudo pwsh -NonInteractive -NoLogo -NoProfile -File tools/TestModuleLoading.ps1 || travis_terminate 1
2630
- sudo dotnet test src/Azure.PowerShell.Netcore.Test.sln --filter "AcceptanceType=CheckIn&RunType!=DesktopOnly" --configuration $CONFIG
27-
31+
2832
after_success:
2933
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
3034
docker build . -t $DOCKER_USER/$NAME:$TRAVIS_COMMIT --build-arg CONFIG=$CONFIG;
@@ -35,7 +39,7 @@ after_success:
3539
docker push $DOCKER_USER/$NAME:$TRAVIS_COMMIT;
3640
docker push $DOCKER_USER/$NAME:$TRAVIS_BRANCH;
3741

38-
if [ "$TRAVIS_BRANCH" == "master" ]; then
42+
if [ "$TRAVIS_BRANCH" == "master" ]; then
3943
docker tag $DOCKER_USER/$NAME:$TRAVIS_COMMIT $DOCKER_USER/$NAME:latest;
4044
docker push $DOCKER_USER/$NAME:latest;
4145
fi;

Azure.PowerShell.Netcore.sln

Lines changed: 27 additions & 209 deletions
Large diffs are not rendered by default.

AzurePowershell.Test.targets

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<TestSettings>.\src\Local.testsettings</TestSettings>
55
<TestSettings_x64>.\src\Local.x64.testsettings</TestSettings_x64>
66
<ScenarioTestDebug>.\src\ServiceManagement\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll</ScenarioTestDebug>
7-
<CommonTestDebug>.\src\ServiceManagement\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll</CommonTestDebug>
87
<BackupTestDebug>.\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll</BackupTestDebug>
98
<RecoveryServicesBackupTestDebug>.\src\ResourceManager\RecoveryServices\Commands.RecoveryServices.Backup.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll</RecoveryServicesBackupTestDebug>
109
<SqlTestDebug>.\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll</SqlTestDebug>
@@ -14,7 +13,7 @@
1413
<AzureRTTestSettings>.\src\AzureRT.testsettings</AzureRTTestSettings>
1514
<AzureRTSeqTestSettings>.\src\AzureRTSeq.testsettings</AzureRTSeqTestSettings>
1615
<AzureRTTestContainer>.\src\ServiceManagement\Compute\Commands.ServiceManagement.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Test.dll</AzureRTTestContainer>
17-
<StorageScenarioTestDebug>src\Common\Storage\Commands.Storage.ScenarioTest\bin\Debug\CLITest.dll</StorageScenarioTestDebug>
16+
<StorageScenarioTestDebug>src\Storage\Commands.Storage.ScenarioTest\bin\Debug\CLITest.dll</StorageScenarioTestDebug>
1817
<ManagementTestDebug>.\src\ServiceManagement\Services\Commands.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Test.dll</ManagementTestDebug>
1918
<ResourceManagerTestDebug>.\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll</ResourceManagerTestDebug>
2019
<DataFactoryManagerTestDebug>.\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll</DataFactoryManagerTestDebug>
@@ -240,13 +239,6 @@
240239
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false"/>
241240
</Target>
242241

243-
<!-- Run the common tests -->
244-
<Target Name="CommonTests">
245-
<Message Importance="high" Text="Running Common tests" />
246-
<Xunit.Runner.MSBuild.xunit Assemblies="$(CommonTestDebug)" Html="$(TestOutputDirectory)\CommonTests.xunit.dll.html" Verbose="false"
247-
IncludeTraits="$(XUnitIncludedTrait)" MaxParallelThreads="0" ParallelizeAssemblies="false" ParallelizeTestCollections="false"/>
248-
</Target>
249-
250242
<!-- Run the Compute tests -->
251243
<Target Name="ComputeTests">
252244
<Message Importance="high" Text="Running Compute tests" />

0 commit comments

Comments
 (0)