Commit Graph

464 Commits

Author SHA1 Message Date
Azure SDK Bot
57e7a4e4f3
Sync eng/common directory with azure-sdk-tools for PR 2265 (#3104)
* Improve devops logging for link checker

* Update eng/common/scripts/Verify-Links.ps1

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-11-15 11:18:47 -08:00
Azure SDK Bot
680871d584
simplify the commit history so that the patch can apply properly (#3102)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-11-12 16:32:52 -08:00
Azure SDK Bot
ed842fd92b
Add default cloud configuration values to source (#3099)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-11-12 10:36:10 -08:00
Azure SDK Bot
9b4672be93
Sync eng/common directory with azure-sdk-tools for PR 2249 (#3097)
* notify of running build

* get rid of extraneous path setting

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-11-10 17:42:01 -08:00
Azure SDK Bot
e6c77a0281
resolve mac agent failure (#3089)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-11-09 14:43:55 -08:00
Azure SDK Bot
cd607842db
Re-add get-codeowners.ps1 (#3088)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-11-09 22:06:22 +00:00
Azure SDK Bot
a583bc293b
updating chart.yaml for stress-test-addons (#3081)
Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2021-11-08 16:35:06 -08:00
Daniel Jurek
198327e16c
Reduce incidence of build storms (#3079)
* Narrower build trigger matrix, introduce batching so changes to main don't trigger builds for every checkin if there are other builds running, expand core to test everything in CI

* Wire up CtestExcludeRegex

* Improvements including scoping to exclude storage tests

* Use correct trigger settings for storage
2021-11-08 15:01:50 -08:00
Azure SDK Bot
50d6885714
Sync eng/common directory with azure-sdk-tools for PR 2219 (#3066)
* adding retry to docker container start

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-11-05 17:32:27 -07:00
Daniel Jurek
eae7b14f57
Add Xcode 12.5.1 (#3023) 2021-11-04 14:42:29 -07:00
Daniel Jurek
f1aae9d79e
Readd -V to ctest invocation (#3042) 2021-11-04 10:17:02 -07:00
Azure SDK Bot
9043580dbf
Add prompt before replasing latest release title on prepare release run (#3036)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-11-03 19:22:15 -07:00
Azure SDK Bot
35c4a7eb32
Stress test usability feedback (#3032)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-11-03 15:29:02 -07:00
Daniel Jurek
413b4b7665
Add coverage enforcement (#2992)
* Add coverage enforcement

* Add spelling exception for mspremier

* Use previous build coverage data, enforce 3% variance, use Skip.CoverageEnforcement feature flag

* Use version 8 of quality checks

* Remove forceCoverageImprovement, it doesn't allow 0% improvements (e.g. doc changes, etc.)

* branch -> branches

* Configure coverage thresholds per-service

* Use fixed coverage

* Review feedback

* Per-service coverage plumbing

* Flip branch and line coverage requirements for KV to accurately reflect current baseline
2021-11-03 10:56:32 -07:00
Daniel Jurek
52e0eeb393
Add test result uploading (#3017)
* Add test result uploading

* Use -T

* Add displayName and buildConfiguration

* Add live testing result upload

* buildConfiguration -> testRunTitle

* Live tests 'Validate' -> 'ValidateLive' to differentiate job names in Test results output
2021-11-03 10:54:43 -07:00
Azure SDK Bot
b3bd976866
Sync eng/common directory with azure-sdk-tools for PR 2053 (#3027)
* Changing inline bash for stress test resource deployment

* PR-mod

* pr-mod

* pr-mod

* pr-mod

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
2021-11-02 23:05:22 -07:00
Chidozie Ononiwu (His Righteousness)
58c1ecfc1d
Add ReplaceLatestEntryTitle parameter for updating changelog (#3008) 2021-11-02 12:29:38 -07:00
Azure SDK Bot
10861b3c3d
Use docker to do package validation. (#3020)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2021-11-01 23:04:13 -07:00
Azure SDK Bot
b028304d82
Use https for sparse checkout command (#3019)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-11-01 18:37:23 -07:00
Azure SDK Bot
fbe38f7fb3
Sync eng/common directory with azure-sdk-tools for PR 2177 (#3016)
* Create an issue template

* rename the function

* Add description

* Update eng/common/scripts/Invoke-GitHubAPI.ps1

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

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-01 13:40:53 -07:00
Azure SDK Bot
fe42c0f831
Sync eng/common directory with azure-sdk-tools for PR 2152 (#2999) 2021-10-27 14:19:48 -07:00
Azure SDK Bot
1055ff8c14
Add latest released version to prepare prerelease (#2998)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-10-26 14:10:46 -07:00
Azure SDK Bot
3fdf66bb55
Fully automate cluster buildout. Add azure file share mount to stress tests. (#2989)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-10-22 18:05:57 -04:00
Daniel Jurek
c534a1e160
Cognitive Matrix Consolidation (#2947)
* Refactor template to use multiple builds on the same machine resetting the machine and runtime varaibles along the way

Move template expression out of default matrix parameters

Remove extra reference to ci/jobs.yml

Remove unnecessary ci.yml, change param declaration in devops-variables-set.yml

Heredoc

Fix set/reset scripts after testing with devops outputs

-ErrorAction Ignore

Smaller matrix

OsVMImage comes from machine, not parameters

Add Ubuntu 20 to matrix

Remove checkout: self, it is implied

Move machine-setup steps outside of loop

CODE_COVERAGE handling

tab

Remove creation of CODE_COVERAGE

Use AptDependencies and add apt update to dependency install step

Remove extra preparation steps

Enable code coverage check scenario

Add MacOS 11

Disable vcpkg cache

Coverage configuration

Pass parameter properly

bool -> boolean

Install coverage tools if it's possible that coverage may run

More logging on code coverage

Show contents of Makefile

One vcpkg to build them all

Verbose

SourcesDirectory

Nesting VcpkgInstall

workingDirectory for vcpkg install

AptDependencies

complete the conditional

Enable all matrix entries

sudo

Remove extra chatter

More scrubbing post-build to help with Windows scenarios

sudo echo

Get-ChildItem

ErrorAction

sudo sh -c

More ErrorAction

output sourceListFile

Disable additional sources.list

Install coverage tools when used for coverage

COndition

Do not build testing for Windows arm64

Correct path for coverage tools

ne -> eq

Add more scenarios to the matrix

Remove libxml2

Add MacOS 10.15 to matrix

Revert "Remove libxml2"

This reverts commit 178af8b89abb21ee84dbcd25b4d54bd90ec1d44c.

Add libxml2 to MacOS 10.15 matrix entry

Display name decorator, refine the matrix

Remove OsVmImage variable

Add commentary to tests about matrix

Rebalance matrix, nest EnvVars, DisplayNameDecorator

Correct parameter access

AptDependencies

Ensure building for WindowsStore in UWP builds, Only build tests for debug builds in altered matrix entires, Linux build type specified as environment variable

Rebalance matrix for better timing

Remove all instances of libxml2 in vcpkg dependencies

Move common devops tasks to eng/common

Set eng/common paths in pipelines

Revert "Remove all instances of libxml2 in vcpkg dependencies"

This reverts commit 35ffbc7aac87f400fdf3351076346750c1c750ed.

https://github.com/Azure/azure-sdk-for-cpp/issues/2946

Permit words like iname in more pipeline .yml files

Remove libxml2 from vcpkg dependencies for Windows

Perf test matrix maxParallel: 10

Validate

apt install first

apt install first

maxParallel: 12

-j 8

-j 10

Use matrix generator

Add expected parameters

Move parameters to appropriate file, fix cloud spec

Specify correct platform matrix location

DependsOn

Platform matrix

Remove DisplayNameDecorator, try more clang information

Rapid iteration matrix

clang --version

install clang-11

Use correct pool

Use full matrix, revert additional logic in jobs/ci.yml

* Review feedback: newline

* Review feedback: Test in release, too

* Remove DisplayNameDecorator (it was useful when we were putting multiple builds into a single job, now it is redundant)

* Remove displayNames

* Matrix review feedback

* Conditions

* Rename ci.yml -> ci.tests.yml
2021-10-22 13:49:10 -07:00
Azure SDK Bot
24b34875ff
Sync eng/common directory with azure-sdk-tools for PR 2093 (#2984)
* Consume Codeowners parser library, ceperate users from teams in codeownerse

* Update get-pr-owners and related logic

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-10-20 12:07:56 -07:00
Azure SDK Bot
7efea8c523
update to latest test-proxy tag (#2980)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-10-19 14:44:38 -07:00
Azure SDK Bot
0d0810c349
Sync eng/common directory with azure-sdk-tools for PR 2085 (#2975)
* Fix up identity resolver to make it more reliable, publish notification configuration as a tool

* Use both username and email to resolve queuing user

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-10-18 19:53:29 -07:00
Azure SDK Bot
ebe9a75a68
Sync eng/common directory with azure-sdk-tools for PR 2100 (#2972)
* Add group id into metadata for java use

* Update Update-DocsMsPackages.ps1

* Update Update-DocsMsPackages.ps1

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

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

* Update eng/common/scripts/Update-DocsMsPackages.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: Ben Broderick Phillips <ben@benbp.net>
2021-10-18 16:10:59 -07:00
Azure SDK Bot
5d4024f683
adjust the docker-start-proxy to take advantage of the linux specific commands that allow contact of localhost (#2971)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-10-18 13:32:26 -07:00
Victor Vazquez
f4e6390dff
Enable no-rtti (#2963)
* Enable no-rtti
2021-10-14 18:12:03 -07:00
Azure SDK Bot
51e569e110
Sync eng/common directory with azure-sdk-tools for PR 2095 (#2960)
* Mitigate relative path calculation error on multiple iterations

* Revert "Mitigate relative path calculation error on multiple iterations"

This reverts commit 45baedd990c6a3085742a38a4891d8706a93be77.

* GetRelativePath should check if path is already relative before calling [IO.Path]::GetRelativePath

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-10-13 10:43:44 -07:00
Azure SDK Bot
eb2fab16a0
Avoid overwriting package info properties when dev version is added (#2957)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-10-08 14:50:22 -07:00
Azure SDK Bot
e7747b4af9
Skip unnecessary and misleading role assignment warnings in local test resource deployment (#2954)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-10-07 13:06:09 -04:00
Azure SDK Bot
aab2b798f8
Add devops variable setting/clearing to eng/common (#2952)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-10-06 10:30:24 -07:00
Azure SDK Bot
975ad22708
Sync eng/common directory with azure-sdk-tools for PR 2064 (#2953) 2021-10-06 09:30:57 -07:00
Azure SDK Bot
6303dd6d32
Revert change back (#2950)
Reverts back to a version that does not have mysterious Credential Issue

Co-authored-by: Sean Kane <68240067+seankane-msft@users.noreply.github.com>
2021-10-05 16:11:03 -04:00
Azure SDK Bot
e5f190c7a5
Handle multiple segments in service directory path (#2943)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-10-05 11:56:45 -07:00
Azure SDK Bot
cfd115ed59
Update docker-start-proxy.ps1 (#2941)
Update to the latest version of the container

Co-authored-by: Sean Kane <68240067+seankane-msft@users.noreply.github.com>
2021-10-01 17:06:49 -04:00
Azure SDK Bot
cde679782a
Sync eng/common directory with azure-sdk-tools for PR 2046 (#2931)
* Pass package name from calling pipeline to uniquely identify pull request review

* Update log summary

* Update eng/common/scripts/Detect-Api-Changes.ps1

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

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
Co-authored-by: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-09-29 07:05:08 -07:00
Azure SDK Bot
02be9fc757
Use stress-test-resources file naming to avoid live test auto-discovery (#2919)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-09-27 11:32:19 -07:00
Azure SDK Bot
6785c17149
Sync eng/common directory with azure-sdk-tools for PR 2027 (#2915)
* Handle assembly already loaded errors in deploy stress test script

* Add dependency checks and installation links to deploy-stress-tests.ps1

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-09-27 10:47:37 -07:00
Azure SDK Bot
58b19709c7
Add common policheck steps (#2920)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-09-24 16:39:08 -07:00
Azure SDK Bot
9ffa5c06cd
Sync eng/common directory with azure-sdk-tools for PR 2035 (#2918)
* Add

* Add more description to docs of where the variable is consumed

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-09-24 13:10:58 -07:00
Azure SDK Bot
b02dec3cf5
Clean-up changelog scripts (#2913)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-09-21 19:58:11 -07:00
Azure SDK Bot
0646d2ddfe
Sync eng/common directory with azure-sdk-tools for PR 2010 (#2907)
* Remove empty sections in changelog entry as part of prepare release

* Update SECTIONS_HEADER_REGEX to accomodate various header levels

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-09-17 10:20:51 -07:00
Azure SDK Bot
d0991c71d2
Sync eng/common directory with azure-sdk-tools for PR 2011 (#2903)
* Common pipeline template and script to detect API changes

* Cahnges as per review comments

* Review comment changes

* CCahgnes as per review comments

* Show warning for list of failed packages to detect API changes

* Apply suggestions from code review

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

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
Co-authored-by: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-09-16 12:33:40 -07:00
Azure SDK Bot
8070ab2392
Sync eng/common directory with azure-sdk-tools for PR 2016 (#2904)
* Make ServiceName optional for verify-changelog

In cases like go where we don't pass a service name having this default to "not-specified" breaks things so we should allow for ServiceName and/or ServiceDirectory to be empty.

* Put quotes around the strings to allow for empty

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-09-15 15:32:47 -07:00
Azure SDK Bot
15b6a7abc4
Sync eng/common directory with azure-sdk-tools for PR 2009 (#2897)
* Skip PSModule caching in container jobs

* Add succeeded check to condition

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

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-09-15 12:45:36 -07:00
Azure SDK Bot
818cab9a2a
Add for multiple levels of Atx Headers in the CHANGELOG.md (#2900)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-09-14 16:56:12 -07:00
Daniel Jurek
14aa1516d0
Add spell check exceptions and enable CI failure for spelling errors in changed files (#2865)
* Add spell check exceptions and enable spell check failures

* Add HRESULT and sort spelling list

* Add exceptions for cmake-modules
2021-09-13 14:38:49 -07:00