Commit Graph

190 Commits

Author SHA1 Message Date
Azure SDK Bot
f2d3befda1
Remove old Update-Change-Log.ps1 (#1279)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-07 09:42:10 -08:00
Azure SDK Bot
1897f9ee85
Sync eng/common directory with azure-sdk-tools for PR 1302 (#1280)
* Make the user agent configurable.

* Address comments

* Default to current Chrome version

* Revert the yaml file changes

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2021-01-06 20:09:40 -08:00
Azure SDK Bot
49c81c20be
Sync eng/common directory with azure-sdk-tools for PR 1298 (#1262)
* Update latest folder with one index.html includes the redirect links

* Update the redirect links and remove everything in latest

* Address feedback

* Have the entire copy for latest GA.

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2021-01-05 19:30:25 -08:00
Azure SDK Bot
e697a7939b
Add Devops Release Item scripts (#1264)
- Add set of helpers to work with devops work items
- Add script to create devops release package items
- Update SemVer to support version type

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-01-05 15:51:23 -08:00
Azure SDK Bot
bce390946b
Update to Update-Changelog.ps1 (#1257)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-05 12:59:04 -08:00
Victor Vazquez
674a8b623a
Auto release notes (#1197)
fixes: #671
2020-12-17 23:29:51 +00:00
Azure SDK Bot
60a18e3c3f
Sync eng/common directory with azure-sdk-tools for PR 1287 (#1204)
* Move common code to create API review into eng common in tools
2020-12-17 13:53:36 -08:00
Azure SDK Bot
ed1908efa1
Fixed the bug of replacing img src with href text (#1193)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-12-16 10:36:22 -08:00
Victor Vazquez
5e7dc42df8
add verbose to windows builds and use 4 parallel jobs (#1183)
* add verbose to windows build and use 4 parallel jobs
2020-12-15 14:54:49 -08:00
Azure SDK Bot
1699bb72d5
Sync eng/common directory with azure-sdk-tools for PR 1273 (#1152)
* Support alpha and azure pipeline build version formats for SemVer parsing and sorting

* Minor build number fixes

* Support zero-padding of build versions more generically in SemVer script

* Fix pre-release label conditional for HasValidPrereleaseLabel in semver script

* Set default convention for build number separator in semver script

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-12-11 16:51:07 -08:00
Azure SDK Bot
4c269ed610
Sync eng/common directory with azure-sdk-tools for PR 1274 (#1149)
* Added a step of skipping package json update for spring boot packages

* Added skip package json config

* Update the indentation

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-12-11 15:10:53 -08:00
Azure SDK Bot
a706396571
Sync eng/common directory with azure-sdk-tools for PR 1270 (#1151)
* resolve git longpath error when applying documentation updates


Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2020-12-11 12:45:14 -08:00
Ahson Khan
0f854ffa9b
Add WinHTTP Transport support to the SDK for windows clients as another HTTP Transport. (#897)
Fixes https://github.com/Azure/azure-sdk-for-cpp/issues/354
2020-12-10 22:00:52 +00:00
Azure SDK Bot
2f09ce7c7b
Create PR to target against master (#1145)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-12-10 13:52:59 -08:00
Azure SDK Bot
fc7d82f6c7
Clean up modules direcotry in eng/common since they are no longer being used. (#1067)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-12-09 12:53:47 -08:00
Azure SDK Bot
6ff9b7b605
Sync eng/common directory with azure-sdk-tools for PR 1257 (#1100)
* Make up the css using for .net sdk github io pages

* Remove index.html

* Make changes to js

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-12-08 13:43:41 -08:00
Azure SDK Bot
8df6ecf9f9
Sync eng/common directory with azure-sdk-tools for PR 1233 (#1075)
* reformatted parameter arguments to both update-docs scripts. added parameter requirements and renamed CIRepository to DocRepoLocation which is a lot clearer. Added additional CIConfig parameter to update-docs-metadata to support specific write locations per moniker.

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2020-12-03 13:57:11 -08:00
Victor Vazquez
c3afb7798f
Remove CMake nlohmann module (#1042)
fixes: https://github.com/Azure/azure-sdk-for-cpp/issues/1041

Make nlohmann a 3rd party required lib. Do not fetch it with CMake if it is not found
2020-12-03 01:52:56 +00:00
Sima Zhu
8d1450b855
Delete the redundant files and point to common scripts (#1062) 2020-12-02 17:23:58 -08:00
Azure SDK Bot
84b76c30d4
Exclude bypass-local-dns step when a container variable is specified (#1011)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-30 17:39:50 -05:00
Azure SDK Bot
72019486a1
Fixed the bug of the wrong parameter (#1017)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-11-23 19:28:28 -08:00
Azure SDK Bot
6a2eeb8e83
Sync eng/common directory with azure-sdk-tools for PR 1226 (#1012)
* Fixed the docindex.yml and rename the files

* Reset the mutated changes

* Force checkout as the changes have already copied out

* Minor changes for parameters

* Update Generate-DocIndex.ps1

* Update Generate-DocIndex.ps1

* Update Generate-DocIndex.ps1

* Added function to common

* Update Generate-DocIndex.ps1

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2020-11-23 16:22:18 -08:00
Azure SDK Bot
a09584a925
Sync eng/common directory with azure-sdk-tools for PR 1219 (#1008)
* Move entire docgeneration into common tools

* Move docindex to common

* Added the package replacement logic

* Fixed on parameters

* Fixed param

* Change function to dash

* Added regex on function

* Added display name.

* Update eng/common/docgeneration/Generate-DocIndex.ps1

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

* Deal with js

* Add no new line args

* revert some test changes

* Need to default to the double quotes for JS regex

* Update Generate-DocIndex.ps1

* Added the appTitle

* type

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>
2020-11-20 08:15:29 -08:00
Azure SDK Bot
71c5cca9d5
Swtich back to smoke-test before doc publishing error gets fixed. (#1006)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-11-19 18:31:00 -08:00
Victor Vazquez
ac09ee6f44
Fix coverage report for template and core pipelines (#1002)
Root Cause:
Storage project generates coverage files in a different location (sdk/*/*cov_xml.xml) from where Core and Template (sdk/*/*/*cov_xml.xml). Basically one level up.

When I added the coverage for Storage, I didn’t know we were also running live tests for Core and Template pipelines. It failed on them because the xml files were not found.

In the PR, I add a new parameter to pipelines to change the default path, and also I am disabling LiveTests from Core and Template, since it only runs the same thing that we run on CI pipelines (We can enable it if we ever have some live tests)


fix: #1001
2020-11-19 20:19:57 +00:00
Azure SDK Bot
e2bfa85d8b
Sync eng/common directory with azure-sdk-tools for PR 1203 (#999)
* Refactoring artifact-metadata-parsing.ps1, update-docs-metadata.ps1, and create-tags-and-git-release.ps1

* Clean up common imports

* Refactor Update-docs-ci.ps1

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-18 21:50:29 -08:00
Victor Vazquez
84f690e968
Allow exclude for codecoverage (#939)
* Add support for EXCLUDE path from code coverage

* code coverage for live tests
2020-11-18 09:57:56 -08:00
Azure SDK Bot
c9258ee33f
Sync eng/common directory with azure-sdk-tools for PR 1210 (#984)
* Cache created service principal for iteration

Useful when testing changes over and over again without passing your own -TestApplicationId and -TestApplicationSecret.

* Restore initial AzContext for New-TestResources

* Make sure PSBoundParameters is correct

Fixes #1177

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2020-11-16 13:42:08 -08:00
Chidozie Ononiwu
af8cb73006
Update LanguageSetting.ps1 (#985) 2020-11-16 10:03:09 -08:00
Sima Zhu
8aebd51c22
Add collapsible version on github io. (#982) 2020-11-14 17:13:22 -08:00
Azure SDK Bot
be87eb5de6
Sync eng/common directory with azure-sdk-tools for PR 1153 (#983)
* Improve Update-ChangeLog Logic

* Updates to ChangeLog-Operations.ps1, copy-docs-to-blobstorage.ps1, Invoke-GitHubAPI.ps1 and Package-Properties.ps1

* More changeLog Logic Improvements

* Update date parsing

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-13 13:22:32 -08:00
Azure SDK Bot
941d33fe90
Sync eng/common directory with azure-sdk-tools for PR 1202 (#970)
* Add debugging link on resource deployment failures to log output

* Update aka link for live test help docs. Use here string and empty throw.

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-12 17:31:23 -08:00
Azure SDK Bot
de005643ce
Change live test resource DeleteAfterHours tag to 8 hours (#969)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-12 13:57:03 -08:00
Azure SDK Bot
bc5ab8fd1d
Add Invoke-DevOpsAPI.ps1, Add functions for Canceling and Listing Builds (#899)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-12 13:03:44 -08:00
Azure SDK Bot
3979bd2b56
Sync eng/common directory with azure-sdk-tools for PR 1170 (#916)
* Added the preprocess scripts.

* string array to string

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-11-11 17:53:27 -08:00
Azure SDK Bot
2ce6e28eb0
Remove invalid characters in basename sourced from username (#948)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-11 13:53:23 -08:00
Azure SDK Bot
44cfd6c1dd
Sync eng/common directory with azure-sdk-tools for PR 1188 (#947)
* Add debug flag to arm deployment command

* Only set debug preference when $CI is true

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-11 13:35:57 -08:00
Azure SDK Bot
71457f89d8
Fix broken eng/common doc link (#940)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-10 11:39:16 -08:00
Azure SDK Bot
f40c8a3243
Sync eng/common directory with azure-sdk-tools for PR 1178 (#937)
* Refactor eng/common/README.md

* Add doc directory

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-09 21:12:58 -08:00
Azure SDK Bot
038d02fd50
Sync eng/common directory with azure-sdk-tools for PR 1163 (#919)
* Update subscription configuration schema to include new parameters

* Support platform specific arm template parameters and legacy hashtable format

* Update arm template parameter comment to include top level key

* Restore AdditionalParameters. Merge ArmTemplateParameters from stringified hash literal

* Handle duplicate keys more explicitly for arm and env vars

* Regenerate New-TestResources.ps1 markdown

* revert variable name to environmentVariables to fix post-scripts

* Handle empty arm template parameters better

* Remove arm template parameter merge logic from deploy template

* Add merge hashes function to New-TestResources.ps1

* Add merge hashes function to New-TestResources.ps1

* Add env variable overwrite warning. Use ContainsKey checks

* Temporarily manually fix invalid generated markdown links

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-09 20:49:45 -05:00
Victor Vazquez
66f4d223a8
upgrade vcpkg version (#903) 2020-11-06 12:04:17 -08:00
Azure SDK Bot
088a4c85db
Make sure we always log in as app or provisioner (#908)
This also adds previously-required parameters back into
@PSBoundParameters to pass down to pre- and post-scripts.

Co-authored-by: Heath Stewart <heaths@microsoft.com>
2020-11-06 10:03:07 -08:00
Sima Zhu
758b532dcf
Added publish to GH pages steps. (#894) 2020-11-05 15:57:31 -08:00
Daniel Jurek
20349daf11
Live test framework (#608)
- Add live test framework
- Enable storage live tests
2020-11-05 14:59:05 -08:00
Azure SDK Bot
b36adc7bd1
Fix bug in git branch push (#900)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-04 17:55:01 -08:00
Sima Zhu
202fc466fc
Centralize the docindex scripts and regenerate Github IO landing page. (#892)
* Centralize the docindex scripts and regenerate Github IO landing page.
2020-11-02 21:19:46 -08:00
Azure SDK Bot
c76fe99788
Remove AmendCommit parameter (#893)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-11-02 19:48:58 -08:00
Azure SDK Bot
2f93294fb1
Use different commit SHA instead (#884)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-30 19:43:24 -07:00
Azure SDK Bot
e958544ffc
Fix verify-path-length.yml to report all paths longer than the allowed limit (#883)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-30 15:09:01 -07:00
Azure SDK Bot
6450133774
Add manual merge instructions to eng/common workflow (#875)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2020-10-29 17:52:54 -07:00