Commit Graph

214 Commits

Author SHA1 Message Date
Azure SDK Bot
a3a4709ba9
Sync eng/common directory with azure-sdk-tools for PR 1341 (#1479)
* Run the link verification step even previous step failed.

* Make the tab right

* Address comments

* Run default condition if no RunOnFailure set.

* Changed back to simple condition

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2021-01-26 18:14:46 -08:00
Daniel Jurek
583120d3ef
Add timeout parameter to live test job (#1478) 2021-01-26 15:04:37 -08:00
Azure SDK Bot
153a6dd8b8
Fixed the problem of no display name issue (#1476)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2021-01-26 10:52:46 -08:00
Ahson Khan
a850513e28
Update clang format validate script instructions when it fails to be accurate (#1460)
Syncing the instructions based on changes from https://github.com/Azure/azure-sdk-for-cpp/pull/1438

Currently, the instructions suggest running a command which may not work on all OSes:
https://dev.azure.com/azure-sdk/public/_build/results?buildId=701256&view=logs&j=0585f5d6-0937-5c15-894c-06e189e06847&t=a45688da-a69e-5817-f832-3aa6246959b7
```text
Some files were not formatted correctly according to the .clang-format file.
Please run clang-format version 10 or greater to fix the issue by using this bash command at the root of the repo:
find sdk/ -regex '.*\.\(cpp\|hpp\)' -exec clang-format -style=file -i {} \;
```
2021-01-26 01:44:04 +00:00
Azure SDK Bot
469bf2ca2d
Sync eng/common directory with azure-sdk-tools for PR 1335 (#1441)
* Lossen up $RELEASE_TITLE_REGEX to accomodate wrongly formated changelogs

* Update changelog logic to use ordered hashtable

* Update semver and Changelog logic

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-25 10:50:56 -08:00
Victor Vazquez
4455ac577c
Move clang-format check to include tests (#1438)
* Move clang-format check to include tests
2021-01-22 13:35:59 -08:00
Victor Vazquez
385a7887a2
Moving json to internal (#1378)
Wrap nlohmann json lib inside core internal api
2021-01-22 11:12:27 -08:00
Daniel Jurek
cc1aeb4d3f
Fix Language-Settings.ps1 to use correct logic (#1427) 2021-01-21 21:59:12 -08:00
Azure SDK Bot
4b8dbb696a
Sync eng/common directory with azure-sdk-tools for PR 1251 (#1429)
* Add PrepareRelease Script

* Generalize Prepare-Release Script

* Update Update-ChangeLog.ps1

* Update Package-Properties.ps1

* Update Collect-ChangeLog Script

* Update Collect-ChangeLog.ps1 and Collect-Unreleased.ps1

* Update GeneralReleaseNotesParser.ps1 script

* Update Prepare-Release Script to use recent DevOps Scripts

* Move Get-LanguageName to eng\common\scripts\Helpers\DevOps-WorkItem-Helpers.ps1, improve error message, add logic to detect changes made by prepare-release script

* Use LanguageDisplayName, move Get-CSVMetadata to Package-Properties.ps1

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-21 16:48:02 -08:00
Victor Vazquez
a2bc2e9d99
remove static analysis from CI (#1423)
fixes: #1422
2021-01-21 20:20:27 +00:00
Chidozie Ononiwu
1310c8e0ea
Add LanguageDisplayName variable in LanguageSettings file (#1406) 2021-01-21 09:57:10 -08:00
Victor Vazquez
473c7ee0b0
add libcurl to livetest pipeline (#1413) 2021-01-20 19:39:00 -08:00
Azure SDK Bot
bae689aee2
Ensure bypass conditional template gets run for 1es ubuntu image (#1420)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-01-20 18:30:27 -08:00
Azure SDK Bot
aae5fc8186
Sync eng/common directory with azure-sdk-tools repository (#1418) 2021-01-20 15:37:08 -08:00
Azure SDK Bot
2fe1ab8a4b
Sync eng/common directory with azure-sdk-tools for PR 1317 (#1419)
* retarget the tool clone to a release tag

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-01-20 23:19:16 +00:00
Azure SDK Bot
7d04092708
Update error message in tools repo (#1405)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-19 21:34:30 -08:00
Victor Vazquez
f285aaead9
Make CI fail if there are clang format errors (#1328)
Won't pass until #1330 is merged first

fixes: #1329
2021-01-20 01:09:29 +00:00
Daniel Jurek
f15c823e79
Automate publishing to vcpkg (#1283)
* Disable dependency on azure-core until azure-core releases to vcpkg.

* Remove release artifact creation script and pipeline step

* Copy items from root cmake generate outputs (no need to do individual project preparation)

* Space

* Add VcpkgPortName (package port names may change in the future to include non v1 version numbers like azure-template-cpp-v2)

* Destination should be artifact name, not vcpkg port name

* Disable PR steps

* SHA512 1 -> SHA512 %SHA512%

* New release procedure

* Unblock publishing process

* Increment azure-template version

* Update branch strategy, uncomment final release of template

* Increment version to test release

* Fix remote branch checkout logic

* Increment version

* Exit successfully

* Increment version

* Increment Version

* Version Increment

* Add a difference in the output file to validate multiple runs against a target PR branch

* Enable existing PR branches in create-pull-request.yml

* Increment version

* Fix archetype-cpp-release.yml syntax

* Skip checkout instead

* Increment version

* Fix automated version incrementing

* Increment version

* Update CHANGELOG.md

* Update CHANGELOG.md date

* Revert CONTROL file

* Remove Build-Depends

* Increment version

* Output commands

* Check out branch in either branch scenario

* Increment version

* Fetch the .tar.gz file using convention, the REST API does not give the location of the .tar.gz

* Increment Version

* ToLower

* Increment

* Increment version

* Version updater should not append a new line to the end of the file contents (existing new line at the end of the file will remain, if present)

* Add azure-template2 to validate base case of shipping different packages instead of file replacement validation from previous runs

* Remove extra backtick

* Add template2 to root CMakeLists.txt

* Review feedback: Support main scenario with packages coming from different location (no new file conflicts)

* Remove file blocking link check step. This is ok because the whole azure-template2 folder will be removed after this verification is complete

* Version increment

* Make template2 install in different locations

* Increment version

* Remove azure-template2 that was used for validating publishing multiple packages

* Remove template2 from ci.yml

* Use "SHA512 1" syntax as proposed by vcpkg documentation and regex replacement

* Review feedback

* Increment version

* Quotes

* Review feedback and re-add New-ReleaseAsset.ps1
2021-01-13 14:35:18 -08:00
Mitch Denny
ab6ec8ef0b
Initial cut over to 1ES hosted pools. (#1321) 2021-01-13 10:14:59 +11:00
Azure SDK Bot
f8aebf5634
Update pipeline generation tool to support test variant pipelines (#1336)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-01-12 15:03:03 -08:00
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
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