Commit Graph

170 Commits

Author SHA1 Message Date
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
Azure SDK Bot
814a7b9203
Sync eng/common directory with azure-sdk-tools for PR 1146 (#873)
* Remove resource group asynchronously and do not wait for completion

* Verify resource group has reached Deleting state before exiting script

* Use $_ instead of $Error[0] for resource group removal handling

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-10-29 19:25:21 -04:00
Mitch Denny
2119734438
Add Check Enforcer timeout message. (#866) 2020-10-28 13:49:07 +11:00
Azure SDK Bot
b5ef113d04
Fix script syntax error (#865)
Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2020-10-27 16:21:50 -07:00
Victor Vazquez
c764052e7c
Add Code coverage (#830)
* Add code coverage scripts
2020-10-27 15:35:15 -07:00
Azure SDK Bot
7f46381cdd
Sync eng/common directory with azure-sdk-tools repository (#859) 2020-10-26 17:55:27 -07:00
Azure SDK Bot
7ce2d3e57c
Use pre-installed Azure PowerShell modules (#853)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2020-10-26 13:34:48 -07:00
Azure SDK Bot
c6d2505f9b
Update eng/common workflow docs (#854)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-23 19:27:27 -07:00
Azure SDK Bot
07c7293276
Sync eng/common directory with azure-sdk-tools for PR 1135 (#848)
* Add check of http link.

* Fixed the tool http link

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-10-23 17:49:01 -07:00
Azure SDK Bot
a09ceeaa01
Update Delete-RemoteBranches.ps1 (#849)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-23 17:39:49 -07:00
Azure SDK Bot
ec67c8091f
retarget master as the base branch for docs metadata release (#846)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2020-10-23 12:37:29 -07:00
Azure SDK Bot
d904267489
Fix create-pull-request bug (#842)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-22 15:28:26 -07:00
Azure SDK Bot
2f10cdf30b
Update New-TestResources.ps1 parameter documentation to match defaults (#832)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-10-22 17:24:48 -04:00
Azure SDK Bot
61dab6d92c
Add conditions to test pipeline generation. (#840)
Co-authored-by: Mitch Denny <midenn@microsoft.com>
2020-10-22 20:40:47 +11:00
Azure SDK Bot
fb53bde6a8
Fix issue with .NET pipeline preparation. (#838)
Co-authored-by: Mitch Denny <midenn@microsoft.com>
2020-10-22 02:21:37 -07:00
Mitch Denny
64ddc30abd
Add prepare pipelines. (#831)
* Add prepare pipelines.

* Add training blank line.
2020-10-22 12:24:23 +11:00
Sima Zhu
2d8694a8f4
Scan the entire repo to cover root path (#818) 2020-10-21 09:41:08 -07:00
Azure SDK Bot
a5de5dbd1b
Fix condition in prepare pipeline. (#827)
Co-authored-by: Mitch Denny <mitch@mitchdenny.com>
2020-10-20 22:19:15 -07:00
Azure SDK Bot
740b63210d
Moved install template and prepare template to eng/common. (#826)
Co-authored-by: Mitch Denny <mitch@mitchdenny.com>
2020-10-20 19:56:52 -07:00
Azure SDK Bot
84e79a9e4f
Sync eng/common directory with azure-sdk-tools repository (#823) 2020-10-20 18:05:53 -07:00
Azure SDK Bot
d8aaeba838
Restructure eng ommon sync control flow (#822)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-20 16:47:46 -07:00