Skip to content

Commit e26cea5

Browse files
authored
Merge pull request #8 from NMijat1024/master
Master
2 parents f24a0d6 + b383e95 commit e26cea5

File tree

835 files changed

+214133
-75229
lines changed

Some content is hidden

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

835 files changed

+214133
-75229
lines changed

.azure-pipelines/powershell-core.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
variables:
2+
WindowsName: windows
3+
WindowsImage: VS2017-Win2016
4+
LinuxName: linux
5+
LinuxImage: Ubuntu-16.04
6+
MacOSName: macOS
7+
MacOSImage: macOS-10.13
8+
TestFramework: netcoreapp2.1
9+
TestTarget: Test
10+
Configuration: Debug
11+
12+
jobs:
13+
- job: Build
14+
displayName: Build
15+
condition: succeeded()
16+
strategy:
17+
matrix:
18+
windows:
19+
OSName: ${{ variables.WindowsName }}
20+
ImageName: ${{ variables.WindowsImage }}
21+
linux:
22+
OSName: ${{ variables.LinuxName }}
23+
ImageName: ${{ variables.LinuxImage }}
24+
macOS:
25+
OSName: ${{ variables.MacOSName }}
26+
ImageName: ${{ variables.MacOSImage }}
27+
pool:
28+
vmImage: $(ImageName)
29+
30+
steps:
31+
- template: util/build-steps.yml
32+
parameters:
33+
osName: $(OSName)
34+
testFramework: ${{ variables.TestFramework }}
35+
configuration: ${{ variables.Configuration }}
36+
37+
- job: Analyze
38+
displayName: Analyze
39+
dependsOn: Build
40+
condition: succeeded()
41+
strategy:
42+
matrix:
43+
windows:
44+
OSName: ${{ variables.WindowsName }}
45+
ImageName: ${{ variables.WindowsImage }}
46+
linux:
47+
OSName: ${{ variables.LinuxName }}
48+
ImageName: ${{ variables.LinuxImage }}
49+
macOS:
50+
OSName: ${{ variables.MacOSName }}
51+
ImageName: ${{ variables.MacOSImage }}
52+
pool:
53+
vmImage: $(ImageName)
54+
55+
steps:
56+
- template: util/analyze-steps.yml
57+
parameters:
58+
osName: $(OSName)
59+
configuration: ${{ variables.Configuration }}
60+
61+
- job: Test
62+
displayName: Test
63+
dependsOn: Build
64+
condition: succeeded()
65+
timeoutInMinutes: 120
66+
strategy:
67+
matrix:
68+
windows:
69+
OSName: ${{ variables.WindowsName }}
70+
ImageName: ${{ variables.WindowsImage }}
71+
linux:
72+
OSName: ${{ variables.LinuxName }}
73+
ImageName: ${{ variables.LinuxImage }}
74+
macOS:
75+
OSName: ${{ variables.MacOSName }}
76+
ImageName: ${{ variables.MacOSImage }}
77+
pool:
78+
vmImage: $(ImageName)
79+
80+
steps:
81+
- template: util/test-steps.yml
82+
parameters:
83+
osName: $(OSName)
84+
testFramework: ${{ variables.TestFramework }}
85+
testTarget: ${{ variables.TestTarget }}
86+
configuration: ${{ variables.Configuration }}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
parameters:
2+
osName: ''
3+
configuration: ''
4+
5+
steps:
6+
- template: download-build-steps.yml
7+
parameters:
8+
osName: ${{ parameters.osName }}
9+
10+
- pwsh: 'Install-Module platyPS -Force -Confirm:$false -Scope CurrentUser'
11+
displayName: 'Install platyPS'
12+
13+
- task: DotNetCoreCLI@2
14+
displayName: 'Generate Help'
15+
inputs:
16+
command: custom
17+
custom: msbuild
18+
arguments: 'build.proj /t:GenerateHelp /p:Configuration=${{ parameters.configuration }}'
19+
20+
- task: DotNetCoreCLI@2
21+
displayName: 'Static Analysis'
22+
inputs:
23+
command: custom
24+
custom: msbuild
25+
arguments: 'build.proj /t:StaticAnalysis /p:Configuration=${{ parameters.configuration }}'
26+
27+
- template: publish-artifacts-steps.yml
28+
parameters:
29+
artifactName: analyze-${{ parameters.osName }}

.azure-pipelines/util/build-steps.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
parameters:
2+
osName: ''
3+
testFramework: ''
4+
configuration: ''
5+
6+
steps:
7+
- task: DotNetCoreCLI@2
8+
displayName: Build
9+
inputs:
10+
command: custom
11+
custom: msbuild
12+
arguments: 'build.proj /t:Build /p:Configuration=${{ parameters.configuration }};TestFramework=${{ parameters.testFramework }}'
13+
14+
- template: publish-artifacts-steps.yml
15+
parameters:
16+
artifactName: build-${{ parameters.osName }}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
parameters:
2+
osName: ''
3+
4+
steps:
5+
- task: DownloadPipelineArtifact@0
6+
displayName: 'Download build-${{ parameters.osName }}'
7+
inputs:
8+
artifactName: build-${{ parameters.osName }}
9+
targetPath: artifacts
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
parameters:
2+
artifactName: ''
3+
4+
steps:
5+
- task: PublishPipelineArtifact@0
6+
displayName: 'Save ${{ parameters.artifactName }}'
7+
inputs:
8+
artifactName: ${{ parameters.artifactName }}
9+
targetPath: artifacts
10+
condition: succeededOrFailed()

.azure-pipelines/util/test-steps.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
parameters:
2+
osName: ''
3+
testFramework: ''
4+
testTarget: ''
5+
configuration: ''
6+
7+
steps:
8+
- template: download-build-steps.yml
9+
parameters:
10+
osName: ${{ parameters.osName }}
11+
12+
- task: DotNetCoreCLI@2
13+
displayName: Test
14+
inputs:
15+
command: custom
16+
custom: msbuild
17+
arguments: 'build.proj /t:${{ parameters.testTarget }} /p:Configuration=${{ parameters.configuration }};TestFramework=${{ parameters.testFramework }}'
18+
19+
- template: publish-artifacts-steps.yml
20+
parameters:
21+
artifactName: test-${{ parameters.osName }}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
variables:
2+
WindowsName: windows
3+
WindowsImage: VS2017-Win2016
4+
TestFramework: net472
5+
TestTarget: TestNet472
6+
Configuration: Debug
7+
8+
jobs:
9+
- job: Build
10+
displayName: Build
11+
condition: succeeded()
12+
pool:
13+
vmImage: ${{ variables.WindowsImage }}
14+
15+
steps:
16+
- template: util/build-steps.yml
17+
parameters:
18+
osName: ${{ variables.WindowsName }}
19+
testFramework: ${{ variables.TestFramework }}
20+
configuration: ${{ variables.Configuration }}
21+
22+
- job: Test
23+
displayName: Test
24+
dependsOn: Build
25+
condition: succeeded()
26+
timeoutInMinutes: 120
27+
pool:
28+
vmImage: ${{ variables.WindowsImage }}
29+
30+
steps:
31+
- template: util/test-steps.yml
32+
parameters:
33+
osName: ${{ variables.WindowsName }}
34+
testFramework: ${{ variables.TestFramework }}
35+
testTarget: ${{ variables.TestTarget }}
36+
configuration: ${{ variables.Configuration }}

ChangeLog.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,60 @@
1+
## 1.7.0 - April 2019
2+
### Highlights since the last major release
3+
* General availability of `Az` module
4+
* For more information about the `Az` module, please visit the following: https://aka.ms/azps-announce
5+
* Added Location, ResourceGroup, and ResourceName completers: https://azure.microsoft.com/en-us/blog/completers-in-azure-powershell/
6+
* Added wildcard support to Get cmdlets for Az.Compute and Az.Network
7+
* Added interactive and username/password authentication for Windows PowerShell 5.1 only
8+
* Added support for Python 2 runbooks in Az.Automation
9+
* Az.LogicApp: New cmdlets for Integration Account Assemblies and Batch Configuration
10+
11+
#### Az.Accounts
12+
* Updated Add-AzEnvironment and Set-AzEnvironment to accept parameter AzureAnalysisServicesEndpointResourceId
13+
14+
#### Az.AnalysisServices
15+
* Using ServiceClient in dataplane cmdlets and removing the original authentication logic
16+
* Making Add-AzureASAccount a wrapper of Connect-AzAccount to avoid a breaking change
17+
18+
#### Az.Automation
19+
* Fixed New-AzAutomationSoftwareUpdateConfiguration cmdlet bug for Inclusions. Now parameter IncludedKbNumber and IncludedPackageNameMask should work.
20+
* Bug fix for azure automation update management dynamic group
21+
22+
#### Az.Compute
23+
* Add HyperVGeneration parameter to New-AzDiskConfig and New-AzSnapshotConfig
24+
* Allow VM creation with galley image from other tenants.
25+
26+
#### Az.ContainerInstance
27+
* Fixed issue in the -Command parameter of New-AzContainerGroup which added a trailing empty argument
28+
29+
#### Az.DataFactory
30+
* Updated ADF .Net SDK version to 3.0.2
31+
* Updated Set-AzDataFactoryV2 cmdlet with extra parameters for RepoConfiguration related settings.
32+
33+
#### Az.Resources
34+
* Improve handling of providers for 'Get-AzResource' when providing '-ResourceId' or '-ResourceGroupName', '-Name' and '-ResourceType' parameters
35+
* Improve error handling for for 'Test-AzDeployment' and 'Test-AzResourceGroupDeployment'
36+
- Handle errors thrown outside of deployment validation and include them in output of command instead
37+
- More information here: https://github.com/Azure/azure-powershell/issues/6856
38+
* Add '-IgnoreDynamicParameters' switch parameter to set of deployment cmdlets to skip prompt in script and job scenarios
39+
- More information here: https://github.com/Azure/azure-powershell/issues/6856
40+
41+
#### Az.Sql
42+
* Support Database Data Classification.
43+
44+
#### Az.Storage
45+
* Report detail error when create Storage context with parameter -UseConnectedAccount, but without login Azure account
46+
- New-AzStorageContext
47+
* Support Manage Blob Service Properties of a specified Storage account with Management plane API
48+
- Update-AzStorageBlobServiceProperty
49+
- Get-AzStorageBlobServiceProperty
50+
- Enable-AzStorageBlobDeleteRetentionPolicy
51+
- Disable-AzStorageBlobDeleteRetentionPolicy
52+
* -AsJob support for Blob and file upload and download cmdlets
53+
- Get-AzStorageBlobContent
54+
- Set-AzStorageBlobContent
55+
- Get-AzStorageFileContent
56+
- Set-AzStorageFileContent
57+
158
## 1.6.0 - March 2019
259
### Highlights since the last major release
360
* General availability of `Az` module

Repo.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<RepoSrc>$(RepoRoot)src/</RepoSrc>
77
<RepoArtifacts>$(RepoRoot)artifacts/</RepoArtifacts>
88
<RepoTools>$(RepoRoot)tools/</RepoTools>
9-
<RepoBuild>$(RepoRoot)build/</RepoBuild>
109
</PropertyGroup>
1110

1211
</Project>

azure-powershell-linux.yml

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

azure-powershell-macOS.yml

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

azure-powershell-windows.yml

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

0 commit comments

Comments
 (0)