Skip to content

Commit 9ac4de7

Browse files
dingmeng-xuexaliciayanggkostalnagula-ritvikawyunchi-ms
authored
Add check on ignored files (#11451)
* ltr policy record * Updated ChangeLog.md * re-recorded backup tests * update virtualhub cmdlets also * add resource types * comment edits * Get-AzGalleryImageVersion fix example args Update samples to use proper argument -GalleryImageDefinitionName not -ImageDefinitionName * for RC2 release * update changelog * updated changelog * updated changelog for upcoming release * Fix typo infomation→information * PR comments has been resolved * Updated help content * Display ResourceManager correlationIds in error output * close ticket function. * For final RC * For final RC * Adding SensitivityRank parameter to DataClassification Set Cmdlets * typo, unused imports. - enable severity, status tests. update properties count( since prod outage was removed). add tests for ticket status. * properties count to 5 * count for prob class to 5 * fix get-azresource -ResourceGroupName -Name -ResourceType to use correct ApiVersion * Complete cmdlet implementations * fix get-azresource -ResourceGroupName -Name -ExpandProperties -ResourceType to use correct ApiVersion * Fix Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.dll.json #10826 * Fix changelog merge issue * remove override DefaultContext * Restore-AzSqlInstanceDatabase - fix "an" -> "a" Examples: fix "an deleted instance" to "a deleted instance" * Add changelog entry * chore) update privacy notice text * Update changelog.md per contributing.md * chore) minor text correction * Improve PolicyInsights error messages * Address reviwer comments * Add note about the version of PowerShell * fix changelog merge error * Minor helper file fix * update macos to 10.14 * Add DisableAzureSqlServerActiveDirectoryOnlyAuthentication.cs file itself. * Add DisableAzureSqlServerActiveDirectoryOnlyAuthentication.cs file itself. * disable one test case that is unstable on linux * remove file * add DisableAzureSqlServerActiveDirectoryOnlyAuthentication.cs * Create DisableAzureSqlServerActiveDirectoryOnlyAuthentication.cs * Update ChangeLog.md add cmdlet Disable-AzSqlServerActiveDirectoryOnlyAuthentication * Update ChangeLog.md * SAP AEM: add support for the new VM Extension for SAP * Update ChangeLog.md remove edit to this file * Update ChangeLog.md * Add cmdlet Disable-AzSqlServerActiveDirectoryOnlyAuthentication to upcoming section. * Fixing the parameter name IsAzureADOnlyAuthentication and documentation * reprotect and Update bug fixes * add an alias to avoid breaking change * Update the azure powershell developer guide with autorest powershell generator related materials * Update the category. * change log * Update syntax in help files. * Update C# SDK to throw Cloud Exception, Update default SKU to be ST2 * Escape single quote * add TestGetResourceByNameAndType test for apiversion check * updating tests and adding completer * fix changelog merge error * updating help files and tests * add breaking changes * Update files * Update encoding to UTF8 * Add breaking changes (#11329) * add breaking changes * Change useragent to align to Az3.0 modules * Update Get-AzResourceLock.md Added an example that uses the -AtScope parameter. * Update ChangeLog.md * Consume modified SDK clients. * Remove unnecessary changes. * Fix doc Microsot→Microsoft add dot * Add a test case for Save-AzDeploymentScript cmdlet; update test recordings; update help messages; address reviewer comments * Remove duplicate cmdlet names in Az.Resources.psd1 * Add change log comment * Update Network SDK & test recordings * add license header to ArrayExtension.cs * Update New-AzNetworkInterface.md Removed reference to the manual subnet entry and added code to allow retrieval of subnetID via PowerShell from Virtual Network. This would be a best practice rather than hard-coding subnet ID entry. * Updated error messages and help files. - Share service provided details for 4xx HTTP status codes - Updated help file examples to be accurate and consistent * Update tests, tests records and help files. * Update New-AzVmss for AutomaticRepairsPolicy issue. * Update Compute SDK version to 33.0.0 * Updated CosmosDB Management version * Updated TEE type name VSMEnclave to VBSEnclave * Updated ChangeLog * Removed the new version header from ChangeLog * Added option of Byte encoding for New-AzDataLakeStoreItem, Add-AzDAtaLakeStoreItemContent, Get-AzDAtaLakeStoreItemContent * Update URLs in help files * AppGw recordings * Updated CosmosDB Management SDK version (#11351) * Updated CosmosDB Management version * Updated ChangeLog * Removed the new version header from ChangeLog Co-authored-by: Meha Kaushik <[email protected]> * [ASR] [V2A] Adding properties for VMware DR monitoring * Update * bump up version * Fix the bug that RunVerioncontroller.ps1 act different under different directory. * CredSan suppression * Update tests file. * Adding SensitivityRank parameter to DataClassification Set Cmdlets * Update syntax in help files. * Consume modified SDK clients. * Remove unnecessary changes. * Update tests, tests records and help files. * Update tests file. * Update ChangeLog.md * Update Management.Sql package version * Add rerun support to create pipeline run cmdlet * Update changeLog * Fix * addressing review comments * ChangeLog update * add comment, add byte encoding for auto completion * 1.Support customers specify min TLS version when creating cluster 2. Update New-AzHDInsightConfig.md * Added retrying policy update * updated paramsets and added help file * Fix after merge * initital commit * Updated cmdlets with disk exclusion parameters * Added test coverage * Added ExcludeAllDataDisks Parameter * Added disk exclusion tests * updated markdown help * updated param sets * fixed tests * Added unmanaged vm restore warning * Updated Markdown Help file * updated tests * Update README.md * Fixing bugs and Allowing Gremlin, Cassandra, Table api account creation * Allow Encryption property to Target parameter of New-AzGalleryImageVersion cmdlet Add the following parameters to New-AzDiskConfig: DiskIOPSReadOnly, DiskMBpsReadOnly, MaxSharesCount, GalleryImageReference Fix tempDisk issue * suppress breaking change issue from int to long * Update Set-AzApiManagementGroup.md GroupId is a required parameter, please add this in the example as well. * Replace Sql client using generic rest client * Update change log * Fixing Cassandra schema and Mongo shard key null values * Adding in ChangeLog * Updated Help * Revise according to review * updated param help messages * updated markdown help files with examples * update cmdlet syntax * Update ChangeLog.md fix readme * Polish changelog * Comment out the exportchildproperties test in aliastest of testfilesystem, and unskip the adlstest.testfilesystem * Rephrase changelog * initial commit for afs multiple file restore * added test for multiple file restore * Fix error * Added tests for multiple file restore * Updated Markdown help file * updated changelog * resolving comments * updated help file with examples * Added user rg feature * updated changelog * GA Support module * Update Az.Support.psd1 * Update ChangeLog.md Move changelog from version 1.4 to upcoming release. * Remove file * Remove issue file * "\" -> "/" Co-authored-by: xaliciayang <[email protected]> Co-authored-by: gkostal <[email protected]> Co-authored-by: Ritvika Nagula <[email protected]> Co-authored-by: Yunchi Wang <[email protected]> Co-authored-by: Yabo Hu <[email protected]> Co-authored-by: aygoya <[email protected]> Co-authored-by: Bill Sproule <[email protected]> Co-authored-by: bashahee <[email protected]> Co-authored-by: Yeming Liu <[email protected]> Co-authored-by: Yeming Liu <[email protected]> Co-authored-by: Ikko Ashimine <[email protected]> Co-authored-by: Sapan Saxena <[email protected]> Co-authored-by: Anthony Martin <[email protected]> Co-authored-by: bashahee <[email protected]> Co-authored-by: Jason Gilbertson <[email protected]> Co-authored-by: Filiz Topatan <[email protected]> Co-authored-by: msJinLei <[email protected]> Co-authored-by: Hans De Mulder <[email protected]> Co-authored-by: Sudhindra Kovalam <[email protected]> Co-authored-by: Chris Eggert <[email protected]> Co-authored-by: Damien Caro <[email protected]> Co-authored-by: Nilambari <[email protected]> Co-authored-by: Nilambari <[email protected]> Co-authored-by: Amol Agarwal <[email protected]> Co-authored-by: Amol Agarwal <[email protected]> Co-authored-by: MSSedusch <[email protected]> Co-authored-by: ayfathim <[email protected]> Co-authored-by: Xiaogang Ding <[email protected]> Co-authored-by: Teng Lu <[email protected]> Co-authored-by: shahbj79 <[email protected]> Co-authored-by: Bhavin Shah <[email protected]> Co-authored-by: Peter Lorenzen <[email protected]> Co-authored-by: erich-wang <[email protected]> Co-authored-by: Anton Evseev <[email protected]> Co-authored-by: Thomas Thornton <[email protected]> Co-authored-by: Hyonho Lee <[email protected]> Co-authored-by: Meha Kaushik <[email protected]> Co-authored-by: Rahul Dutta <[email protected]> Co-authored-by: Meha Kaushik <[email protected]> Co-authored-by: Vidyadhari Jami <[email protected]> Co-authored-by: wyunchi-ms <[email protected]> Co-authored-by: lijzha <[email protected]> Co-authored-by: Jin Lei <[email protected]> Co-authored-by: Zhenyu Zhou <[email protected]> Co-authored-by: sambitratha <[email protected]> Co-authored-by: Sambit Rath <[email protected]> Co-authored-by: erwinkramer <[email protected]> Co-authored-by: Yeming Liu <[email protected]>
1 parent 4f6edad commit 9ac4de7

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ parameters:
44
configuration: ''
55

66
steps:
7+
- task: PowerShell@2
8+
displayName: 'Check Ingored File'
9+
inputs:
10+
filePath: tools/CheckIgnoredFile.ps1
11+
712
- task: DotNetCoreCLI@2
813
displayName: Build
914
inputs:
@@ -13,4 +18,4 @@ steps:
1318

1419
- template: publish-artifacts-steps.yml
1520
parameters:
16-
artifactName: build-${{ parameters.osName }}
21+
artifactName: build-${{ parameters.osName }}

tools/CheckIgnoredFile.ps1

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# ----------------------------------------------------------------------------------
2+
# Copyright Microsoft Corporation
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
# ----------------------------------------------------------------------------------
13+
14+
$ignoredFiles = @(
15+
"src/DataFactory/DataFactoryV2.Test/SessionRecords/Microsoft.Azure.Commands.DataFactoryV2.Test.RunTests/TestRunV2.json"
16+
)
17+
$hasIssue = $false
18+
foreach($file in $ignoredFiles) {
19+
if(Test-Path $file) {
20+
Write-Warning ("Contains: " + $file)
21+
$hasIssue = $true
22+
}
23+
}
24+
25+
if($hasIssue) {
26+
throw "Above file(s) should be removed."
27+
}

0 commit comments

Comments
 (0)