Commit Graph

1686 Commits

Author SHA1 Message Date
Azure SDK Bot
203028a180
Sync eng/common directory with azure-sdk-tools for PR 2513 (#3226)
* Update test resources SP password creation to support Az >= 7.1.0

* Check Az.Resources module version

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-11 12:20:24 -08:00
Daniel Jurek
afe34f63ef
Upload map files to specific artifact locations (#3229)
* Require success to upload map files

* Use a different artifact name for each attempt

* Agent.JobAttempt -> System.JobAttempt, add some display names
2022-01-10 15:25:32 -08:00
Azure SDK Bot
8978973ddd
Sync eng/common directory with azure-sdk-tools for PR 2500 (#3227)
* Update pipeline generator tool feed to azure-sdk-for-net

* Update pipeline generator tool version

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-07 21:48:51 -05:00
Azure SDK Bot
12bae6e64b
Handle skipping docker build when PushImages is set and there is no dockerfile (#3174)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-06 17:25:52 -05:00
Anton Kolesnyk
4f8f96eb88
Macro rename compatibility layer (#3186)
* Macro rename compatibility layer

* pragma once + doxy comment

* Update sdk/core/azure-core/inc/azure/core/azure_assert.hpp

Co-authored-by: Ahson Khan <ahkha@microsoft.com>

* clang format

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2022-01-06 13:08:09 -08:00
Azure SDK Bot
ae3e5e021b
Sync eng/common directory with azure-sdk-tools for PR 2484 (#3213)
* Add weekly pipeline generation to prepare-pipelines template

* Add succeeded condition to pipeline generation pipelines

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-05 15:59:24 -08:00
Victor Vazquez
e7c610dcb3
aver (#3212) 2022-01-05 12:24:55 -08:00
Victor Vazquez
add1496338
Fix Storage test-resources config - add one extra year (#3208)
use value 2099 for test-resources
2022-01-04 16:33:52 -08:00
George Arama
f60db74f21
Enable extra logging for tests (#3202)
* enable -VV

* verbose

* PR comments

* PR discussion
2022-01-04 12:03:04 -08:00
Azure SDK Bot
5ff89bb9e5
Sync eng/common directory with azure-sdk-tools for PR 2464 (#3206)
* Support AAD graph and Microsoft Graph service principal APIs

* Consolidate service principal wrapper creation

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-01-03 16:00:40 -08:00
Daniel Jurek
fa0fa97155
Generate map files (#3181)
* Generate map files in build

* Add .map file artifact publishing

* Add Xlinker to spelling exceptions

* Remove PublishMapFiles from clang builds

* Generate the map file artifact name

* CXX_COMPILER_ID and some logging for Clang which might be linking using the GNU linker by default

* More logging

* Move logging out of conditional

* Logging up high, use OS to determine which link flags to set

* Use linker options specific to AppleClang's context, publish map files for all platforms
2022-01-03 13:56:41 -08:00
George Arama
468b84c170
increalse live test timeout (#3205) 2022-01-03 11:45:46 -08:00
Anton Kolesnyk
b4fe751310
RequestFailedException: decouple Message and what(). (#3201)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-18 09:00:04 -08:00
Rick Winter
33aca0caaf
Add trademark section to readme (#3200)
Add trademark section to readme
2021-12-17 22:04:44 +00:00
Anton Kolesnyk
487c7ce542
Do not mix inline and non-inline delegating constructors in polymorphic types (#3197)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-17 13:56:40 -08:00
Anton Kolesnyk
5de42570e2
Make Template to pass the default goals set for code coverage (#3198)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-17 13:56:01 -08:00
Azure SDK Bot
f937eae89c
Preserve kubectl context namespace if set for active stress cluster (#3187)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-17 11:41:13 -08:00
Anton Kolesnyk
5f97ac1b3d
Fix nightly tests compilation on GCC5 (#3190) 2021-12-16 10:44:22 -08:00
Victor Vazquez
0bde2ad3f8
Define env from each service ci (#3184)
use env vars by service config
2021-12-14 17:23:44 -08:00
Azure SDK Bot
f73c9626fa
Increase github get issues fetch limit (#3183)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-12-14 20:19:18 -05:00
Anton Kolesnyk
07d20e78e3
Exclude uncoverable lines from code coverage (#3179)
* Use code coverage annotations in places that never can be covered

* Comments

* Increment goal

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-14 15:25:48 -08:00
Victor Vazquez
7301f348b0
Recordings for identity (#3156)
Adding test recordings for Identity
2021-12-14 21:42:08 +00:00
Anton Kolesnyk
a2b2b74080
Add a few simple unit tests to boost coverage (#3163) 2021-12-13 14:50:30 -08:00
Anton Kolesnyk
12a2ca31bc
Fix DateTime::Parse validation for dates past year 9999 due to adjustments (#3177) 2021-12-13 12:55:00 -08:00
Anton Kolesnyk
d4ffa7dbc1
Remove static curl transport (#3178)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-10 15:53:17 -08:00
Azure SDK Bot
11e625596f
Sync eng/common directory with azure-sdk-tools for PR 2417 (#3176)
* Add logic for retrieving package infro from DevOps feed

* Add template for docwarden

* Remove Invoke-DevOpsAPI changes

* Update verify readme logic

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-12-09 17:37:19 -08:00
Azure SDK Bot
8daec30172
Added more parameter for JS use (#3175)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2021-12-09 16:10:58 -08:00
Azure SDK Bot
e5e637afa3
Ensure ownership grant (#3173)
The focus of these changes is to ensure that the service principal is
explicitly granted the "Owner" role on the active resource group, whether
the principal was newly created or a cached instance was used.

Co-authored-by: Jesse Squire <jesse.squire@gmail.com>
2021-12-09 15:43:15 -05:00
Azure SDK Bot
8e66a46e71
Use named parameter arguments and explicitly set switch argument values (#3171)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-08 16:42:51 -08:00
Azure SDK Bot
ccb435daa8
Added new API to get list of github issues (#3170)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-12-08 13:55:26 -08:00
Daniel Jurek
ef12972c5c
Move macos up to 10.15 or remove where there is sufficient 10.15 coverage (#3169) 2021-12-08 13:08:00 -08:00
Ahson Khan
894cd75198
Update vcpkg and dependencies to the newer commit sha from 11-10-2021, after last SDK release (#3154)
* Update vcpkg to the newest published tag

* Update to latest commit sha from 12-02-2021

* Update to a commit sha from 11-10-2021, after last SDK release

* Treat third-party dependencies as system to avoid triggering warnings in code we don't control
2021-12-08 12:13:57 -08:00
Azure SDK Bot
f758b5917a
Taking the parameter literally (#3166)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2021-12-07 21:57:30 -08:00
Azure SDK Bot
1ae6ecd0a5
Sync eng/common directory with azure-sdk-tools for PR 2363 (#3159)
* Use stress test environment defaults for group and subscription

* Fix parameter passing from deploy-stress-tests.ps1 script

* Redact stress deployment logs and simplify image handling

* Use DevopsLogging parameter to prevent secret logging in non-devops CI environments

* Use switch type for DevopsLogging parameter

* Remove boolean parameter usage in favor of [switch]

* Add default parameter set usage comment

* Throw when clusterGroup and/or subscription is not specified for custom environments

* Add helper function for logging azure pipelines vso commands

* Invert SuppressVsoCommands binary default value

* Vso command fixes

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-07 13:45:51 -08:00
Azure SDK Bot
2520b2b359
Sync eng/common directory with azure-sdk-tools for PR 2381 (#3162)
* Add disk metrics script and template

* Support linux disk matrics

* Add continueOnError to write-filesystemmetrics.yml

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2021-12-07 12:52:30 -08:00
Azure SDK Bot
68c7e28523
Sync eng/common directory with azure-sdk-tools for PR 2327 (#3158)
* Use docker validation on release pipeline

* format

* Update Update-DocsMsMetadata.ps1

* Update Update-DocsMsMetadata.ps1

* Update Update-DocsMsMetadata.ps1

* For testing null purpose

* Update eng/common/scripts/Update-DocsMsMetadata.ps1

* Update eng/common/scripts/Update-DocsMsMetadata.ps1

Co-authored-by: Ben Broderick Phillips <ben@benbp.net>

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2021-12-06 13:29:33 -08:00
Victor Vazquez
50e984f35c
Recording for Key Vault Keys (#3146)
* test recordings for KeyVault Keys
2021-12-06 20:58:33 +00:00
Wes Haggard
aecfa8b925
Update eng code owners
Switch away from using engsys team alias for codeowners
2021-12-06 09:27:49 -08:00
Azure SDK Bot
aa324ab9f5
Sync eng/common directory with azure-sdk-tools for PR 2380 (#3155)
* Add PowerShell Script for Validating READMEs

* Remember my VSCode doesn't use autosave

Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
2021-12-02 19:07:07 -08:00
Azure SDK Bot
575af58bfb
Restore deploymentOutputs variable in scope for post deployment script (#3153)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-02 15:01:54 -05:00
Anton Kolesnyk
98d9664dc9
Boost code coverage by adding tests (#3123)
* Boost code coverage by adding tests

* Increase Code Coverage min bar goals

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-12-02 08:43:07 -08:00
Azure SDK Bot
18300fa13c
Sync eng/common directory with azure-sdk-tools for PR 2352 (#3145)
* Add spell check pin changes

* Apply suggestions from code review

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Add package-lock.json

* Set node version and upgrade npm in check-spelling.yml

* Do not mutate local NPM environment

* Remove unnecessary comment, we no longer use npm exec

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-12-02 08:39:07 -08:00
Azure SDK Bot
411331d0ec
Sync eng/common directory with azure-sdk-tools for PR 2248 (#3122)
* Exclude certain live test deployment outputs from being marked as log secrets

* debug

* Update subscription configuration merge jobs to use secret handler

* Rename subscription config helper function script

* Fix variable name reference in scope

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-12-01 16:11:10 -05:00
Azure SDK Bot
6ed5696c7c
Pipeline auto-discover stress test (#3142)
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2021-11-30 14:33:34 -08:00
Anton Kolesnyk
b57bb33400
Fix unit tests on Mac (#3143)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-11-30 11:20:03 -08:00
Azure SDK Bot
38e42875a1
Sync eng/common directory with azure-sdk-tools for PR 2348 (#3144) 2021-11-29 16:41:23 -08:00
Azure SDK Bot
f0a743e02b
Sync eng/common directory with azure-sdk-tools for PR 2086 (#3138) 2021-11-23 18:13:48 -08:00
Azure SDK Bot
74a764a88b
Sync eng/common directory with azure-sdk-tools for PR 2333 (#3135)
* updating target testproxy output path

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-11-23 10:50:54 -08:00
Sima Zhu
b28496a9fb
Fixed the get-codeowner in release step. (#3130) 2021-11-22 17:31:43 -08:00
Azure SDK Bot
1a5c3f7f30
Sync eng/common directory with azure-sdk-tools for PR 2322 (#3133)
* Install and Run code owner tools in get-codeowner.ps1

* return command when exists

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Address comments

* Added test to script

* change return type

* change wrong params

* default to toolpath

* typo

* correct exit on Test

* change to right function name

* Fixed log message

* log message

* Added more test cases

* Correct the parameters

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Remove exit 0 in test function

* change the path delimiter

* More changes on var

* Hide error behind

* Comment back all tests

* exit 0

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* remove default value

* changes for new get-codeowners

* Update eng/common/scripts/get-codeowners.ps1

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* update version and parameter

* add user

* more fix

* add messages

* Added real cases

* fixed typo

* Make program work

Co-authored-by: sima-zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-11-22 16:29:47 -08:00