Commit Graph

141 Commits

Author SHA1 Message Date
Azure SDK Bot
ed428a1a52
Add quotes around the parameter (#1318)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-01-11 16:59:20 -08:00
Azure SDK Bot
7dd0e2409b
Fix condition for test generation in prepare-pipelines (#1316)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-01-11 10:46:35 -08:00
Azure SDK Bot
ae4b70875f
Revert "Remove old Update-Change-Log.ps1 (#1301)" (#1292)
This reverts commit b967cb62bd8db451a2f02d903f3658cf21f92db1.

Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
2021-01-08 15:05:37 -08:00
Azure SDK Bot
31f3a99ce0
allow configuration of a suffix for each config item. (#1290)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-01-08 12:29:22 -08:00
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
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
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
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
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
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