Commit Graph

122 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
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
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
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
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
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
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
Azure SDK Bot
b5ef113d04
Fix script syntax error (#865)
Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2020-10-27 16:21:50 -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
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
Azure SDK Bot
89ecd9fe85
Allow test PRs in SubmitPullRequest.ps1 script, updates to Invoke-GitHubAPI (#810)
update Repos format

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-20 10:27:30 -07:00
Azure SDK Bot
d67bed6973
Sync eng/common directory with azure-sdk-tools for PR 968 (#808)
* Restructure Language Specific Code

* Restructure Copy to Blob Storage

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-19 14:59:53 -07:00
Azure SDK Bot
43a13e4958
Remove extra newline at the end of the file (#806)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-10-19 12:56:56 -07:00
Azure SDK Bot
07e34c3e4e
Enable the link check for link verification step. (#805)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-10-19 11:28:35 -07:00
Azure SDK Bot
7ccb5f0420
Switch the content from array to string. (#803)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-10-19 10:26:27 -07:00
Azure SDK Bot
fbc6d2c6cb
Failed the anchor links with Uppercase. (#785)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-10-16 14:13:03 -07:00
Azure SDK Bot
50a1354aaf
Sync eng/common directory with azure-sdk-tools for PR 1091 (#790)
* Refactpr Submit Pull Request Script

* Refactor logic for interacting with Pull Requests

* Rework API Lib

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-10-16 13:06:31 -07:00
Azure SDK Bot
33025d7b23
Sync eng/common directory with azure-sdk-tools for PR 1088 (#775)
Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1088
 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/master/eng/common/README.md#workflow)
2020-10-14 03:09:12 +00:00
Azure SDK Bot
2ca2aad77d
Sync eng/common directory with azure-sdk-tools for PR 1081 (#751)
Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1081
 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/master/eng/common/README.md#workflow)
2020-10-12 23:07:54 +00:00
Azure SDK Bot
e3503f8575
Support env vars with hyphens when printing output (#720)
Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com>
2020-10-09 11:56:41 -07:00
Azure SDK Bot
453545afd6
Sync eng/common directory with azure-sdk-tools for PR 1077 (#711)
* Simplify Net-TestResources usage

* docs and windows check

* Update eng/common/TestResources/New-TestResources.ps1

Co-authored-by: Heath Stewart <heaths@outlook.com>

* update markdown

* make service directory the default parameter

* Fix links

* Doc change

Co-authored-by: Pavel Krymets <pavel@krymets.com>
Co-authored-by: Heath Stewart <heaths@outlook.com>
2020-10-08 10:53:54 -07:00
Azure SDK Bot
326d8f8ddb
Sync eng/common directory with azure-sdk-tools for PR 1066 (#713)
* Update cache-control for newly created blobs

* remove extra

* remove extra space

* Added the cache control for existing blobs as well

* Update copy-docs-to-blobstorage.ps1

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2020-10-08 09:09:03 -07:00