Commit Graph

360 Commits

Author SHA1 Message Date
Azure SDK Bot
f6ec0bd87f
Sync eng/common directory with azure-sdk-tools for PR 1763 (#2514)
* Disable release date check

* Release check is not finding release date

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-06-30 14:33:29 -07:00
Daniel Jurek
83b8feeb35
Add dependency on LiveTest to release (#2457)
* Add dependency on LiveTest to release

* Add DependsOn to archetype-cpp-release.yml stages, conditions around LiveTest (if we don't execute live tests don't require them for release)

* Remove template conditions for LiveTest and always require it

* Revert "Remove template conditions for LiveTest and always require it"

This reverts commit dc0615ca084b7bb476cbc3806df70f92f2bf0304.
2021-06-30 13:41:16 -07:00
Azure SDK Bot
468b78cdfb
Sync eng/common directory with azure-sdk-tools for PR 1725 (#2509)
* Bring changes from JS docs metadata

* Move business logic inside Update-DocsMsMetadata.ps1

* Update with the latest changes in JS PR

* Update from latest PR feedback

* Add check for empty path to prevent crashes when creating relative paths

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-06-30 08:43:17 -07:00
Azure SDK Bot
a8ea5261b0
Update devops workitem helpers (#2511)
- Switch to using rest instead of cli for querying work items
  as cli is limited to 1000 items only.
- Fix issues with Generated fields not being set.
- Correctly sort older workitems by version isntead of string.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-06-29 16:17:55 -07:00
Wes Haggard
015c34a029
Update links from master to main (#2488)
* Update links from master to main

* Upate other references from master to main
2021-06-24 22:27:14 -07:00
Azure SDK Bot
187fc867f4
Update references from master to main (#2492)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-06-24 17:36:15 -07:00
Azure SDK Bot
9dde20e021
Add Ubuntu 20 to local dns bypass template (#2475)
Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-06-24 14:42:07 -07:00
Azure SDK Bot
5c55a82933
Sync eng/common directory with azure-sdk-tools for PR 1729 (#2473)
* Check for API review status only if release date is set in changelog

* Change property name to ReleaseStatus

Co-authored-by: Praveen Kuttappan <praveen.kuttappan@gmail.com>
2021-06-24 12:14:09 -07:00
Wes Haggard
e1d53996dc
Fix Prepare-Release and version update code (#2469)
- Passes through ReleaseDate
- Removes old version.txt logic
- Cleans up version scripts to import common.ps1
2021-06-23 16:56:49 -07:00
Victor Vazquez
7a31ca5dd3
Fix Main - ignore warning 6101 (#2471)
* Ignoring msvc warning 6101

* remove not required

* not required

* perf issues

* fix livetests build args
2021-06-23 23:50:07 +00:00
Azure SDK Bot
5a0882f770
Sync eng/common directory with azure-sdk-tools for PR 1719 (#2468)
* Update pipeline generation tool version

Consume latest changes from pipeline generation tool in https://github.com/Azure/azure-sdk-tools/pull/1708

* Update tool version to include fix for public ci

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-06-21 16:42:43 -07:00
Azure SDK Bot
8b0ebb39f5
Sync eng/common directory with azure-sdk-tools for PR 1716 (#2467)
* Update links with master to use main

* Update ci.yml files

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-06-21 12:18:52 -07:00
Azure SDK Bot
0163b09994
Fix hard-coded master (#2463)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-06-18 13:42:32 -07:00
Daniel Jurek
fda88bf7b8
Update for "master" -> "main" branch rename (#2455)
* vcpkg.json -- update all links to point to "main" .. This is hardcoded and will go out in future releases.
* ci.yml -- add `- main` to trigger criteria near `- master` ... This adds forward compatilbitiy when we rename the branch in the repo
* archetype-cpp-release.yml use a script which evaluates a repo's default branch and sets that in a global variable, then use that variable instead. When vcpkg updates their branch the publishing scripts will work transparently.
* Collect-Changelogs.ps1 -- Add default hardcoded branch name for use with future releases. This can be optionally overridden with a parameter when invoking the script.
* eng/pipelines/client.yml -- Delete this file. It is no longer in use.
2021-06-18 09:09:27 -07:00
Azure SDK Bot
36cee34fbd
Sync eng/common directory with azure-sdk-tools for PR 1688 (#2453)
* Add verification of changelog sections

* Update eng/common/scripts/ChangeLog-Operations.ps1

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

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-06-15 17:15:49 -07:00
Victor Vazquez
a63a892002
CI builds Perf test (#2446) 2021-06-14 14:29:09 -07:00
Azure SDK Bot
d5d585500d
Strict mode needs the variables initialized (#2443)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-06-09 18:48:16 -07:00
Azure SDK Bot
f9bf94d018
Sync eng/common directory with azure-sdk-tools for PR 1633 (#2429)
* Update format of new Changelog Entry

* Add parsing of changelog sections

* Update ChangeLog Logic

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-06-08 12:05:10 -07:00
Azure SDK Bot
7f21263cc9
Use generate matrix job name parameter as display name (#2404)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-06-04 16:26:13 -07:00
Azure SDK Bot
63a0116197
Fetch specific branch name only in git-branch-push script (#2374)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-06-04 16:11:15 -07:00
Victor Vazquez
05ef02de90
add multithread build to macOS (#2400) 2021-06-03 21:44:45 -07:00
Azure SDK Bot
e279c9220b
Add the ability to check for open pull request to a different repo. (#2396)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-06-03 15:51:40 -07:00
Daniel Jurek
cdda8104a7
Fix docs version dropdown (#2389)
* Populate dropdown with correct URL

* Use correct version evaulation

* Remove extra code to insert current version in cases where hosting locally
2021-06-03 08:25:47 -07:00
Azure SDK Bot
dfd2933a66
Sync eng/common directory with azure-sdk-tools for PR 1611 (#2349)
* Add API status check

* Revert temp change

* Update as per review comments

* Removed blank line

* Review comments to use az cli

* Changes to move az cli commands to caller script and other review comments

* Skip languages that's not supported in APIView

* Fix bug in language mapping

Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2021-06-01 14:22:44 -04:00
Azure SDK Bot
5e071a07d7
Enable Caching of PS Modules (#2363)
- Remove copied AzPowershell utilities
- Add latest AZ module path already on hosted agents to PSModulePath
- Rename setup-az-modules template setup-environments to reflect what is is doing
- Add support for Caching the current user PS Module folder
- Add support for install-module if not already present in module folder
- Organize the live test clean-up script to be in the standard location

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-05-27 19:04:12 -04:00
Azure SDK Bot
97ba448859
Sync eng/common directory with azure-sdk-tools for PR 1635 (#2353)
* Update common engineering system for docs onboarding

* Add updates from review feedback

* Space nit

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-05-26 18:15:25 -04:00
Azure SDK Bot
55cd432693
Add Get-ChangeLogEntriesFromContent (#2345)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-05-25 20:03:58 -04:00
Azure SDK Bot
0feac90f09
Sync eng/common directory with azure-sdk-tools for PR 1627 (#2344)
* Refactor sparse checkout template: idempotency and no yaml loops

* Add logging, re-organize sparse checkout script

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-05-25 16:53:57 -04:00
Daniel Jurek
26f43fd359
Narrow $packagePattern to exclude vcpkg.json files which are now part of the publishing process (#2330) 2021-05-20 17:19:18 -07:00
Azure SDK Bot
bb0d1287bc
Sync eng/common directory with azure-sdk-tools for PR 1615 (#2335)
* Move docindex.yml from steps -> jobs

* Add docindex.yml

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-05-20 17:20:46 -04:00
Azure SDK Bot
d6d5120931
Sync eng/common directory with azure-sdk-tools for PR 1585 (#2308)
* Sparse checkout docs repository in release step

* Detect default branch for custom sparse checkout repository

* Use sparse checkout paths parameter in docs metadata release

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-05-18 19:43:29 -04:00
Azure SDK Bot
ea072fff4d
allow multiple invocations of archetype-sdk-tests-generate (#2269)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-05-14 18:23:12 +00:00
Azure SDK Bot
5d46edbe65
Sync eng/common directory with azure-sdk-tools for PR 1594 (#2243)
* Update sparse checkout create directory step name

* plumb BaseBranchName to create pull request

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-05-12 14:44:10 -04:00
Azure SDK Bot
5e6d4be92c
Add better error handling in Prepare-Release (#2233)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-05-07 23:34:45 -04:00
Ahson Khan
fd9c3e5ebb
Fix true spelling errors across all source and header files within the SDK and add exceptions for false positives. (#2209)
Part of https://github.com/Azure/azure-sdk-for-cpp/issues/1277, checking what types of warnings the CI emits.

Verified all SDK product `.cpp`, `.hpp`, `.txt`, and `.md` files, primarily focused on azure-core. They are all clean now. There are some exceptions that needs to be added for keyvault and storage, but they are false positives, so not a concern.

> `cspell lint --config .vscode/cspell.json *.hpp */**/*.hpp`

CSpell: Files checked: 188, Issues found: 0 in 0 files

> `cspell lint --config .vscode/cspell.json *.cpp */**/*.cpp`

CSpell: Files checked: 186, Issues found: 88 in 15 files (keyvault and storage false positives, or tests)

> `cspell lint --config .vscode/cspell.json *.md */**/*.md`

CSpell: Files checked: 45, Issues found: 5 in 2 files (eng/common)

> `cspell lint --config .vscode/cspell.json *.txt */**/*.txt`

CSpell: Files checked: 44, Issues found: 0 in 0 files

> `cspell lint --config .vscode/cspell.json *.* */**/*`

CSpell: Files checked: 646, Issues found: 328 in 69 files (most of these are in eng\docs\api\assets\style.css or eng/common)

Deprioritize and ignored the errors from the test files (including test resource json files), and `eng/common` since those need to be centrally fixed.
2021-05-07 21:04:58 +00:00
Mitch Denny
30dfa8d668
Extend Check Enforcer timeout (#2202)
Extend the timeout that Check Enforcer applies when waiting for a pipeline to start.
2021-05-07 14:02:36 +10:00
Azure SDK Bot
f5d9a25d41
Revert changes to SetDevVersion. (#2213)
Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-05-07 09:35:53 +10:00
Daniel Jurek
8cf7746b6b
Add spellcheck (#2181)
* Add spellcheck

* Add spelling error

* Format cspell.json

* Revert "Add spelling error"

This reverts commit 37446522791492e8ee2c1c54af0d2da1e162d2e4.
2021-05-03 19:13:02 +00:00
Azure SDK Bot
cdb5fbfb35
Sync eng/common directory with azure-sdk-tools for PR 1524 (#2179)
* Make RELEASE_TITLE_REGEX more specific

* Update eng/common/scripts/ChangeLog-Operations.ps1

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

* Update release REGEX

* tighten up changelog verification

* Ensure releaseDate is in the appriopriate format.

* Update error messages.

* Retrun false after error

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-05-03 10:27:04 -07:00
Azure SDK Bot
3bb84c8de6
Sync eng/common directory with azure-sdk-tools for PR 1579 (#2171)
* Allow propogation of SetDevVersion.

* Allow use of SetDevVersion locally and across stages.

Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-05-02 17:49:56 -07:00
Azure SDK Bot
aafdeeb526
Sync Devops helper scripts from azure-sdk repo (#2177)
DevOps helper scripts were updated in azure-sdk repo
so syncing those changes into the tools repo so they
can be used prepare-release script.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-04-29 15:42:28 -07:00
Azure SDK Bot
ead97d476b
Set multiple sparse checkout paths in one command/job (#2169)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-04-29 13:23:33 -04:00
Azure SDK Bot
df2ffc0577
Sync eng/common directory with azure-sdk-tools for PR 1572 (#2172)
* Update prepare pipelines template.

* Update prepare-pipelines as well.

* Remove default line.

Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-04-29 03:39:14 +00:00
Anton Kolesnyk
cd36753d76
PackageVersion made constexpr and moved to src/package_version.hpp (#2166) 2021-04-28 17:34:24 -07:00
Azure SDK Bot
248dc0b96a
Parse MD files coming over http as raw markdown files (#2168)
This will allow us to point our verify-link script at a raw
MD file in a github repo and have it parsed correctly for
links.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-04-28 13:41:26 -07:00
Daniel Jurek
61aa827d5c
EngSys updates to support new vcpkg.json format (#2153)
* Use linux for vcpkg release

* Force lf line endings

* Set config correctly

* Better core.eol syntax and sequencing

* Try using linux host which uses LF by default

* Revert "Try using linux host which uses LF by default"

This reverts commit 160eb22b647e851a50f9d1e7b157a1e385fe946f.

* Use vcpkg.exe to format the manifest

* Spell correctly

* Move format-manfiest
2021-04-26 15:56:37 +00:00
Mitch Denny
79c9e12741
Enable retain runs. (#2145) 2021-04-23 09:17:08 +10:00
Azure SDK Bot
85e358a2ba
Add caching support to verify-links (#2150)
- Update link checking pipeline to enable caching
- Add loading cache file from a http endpoint
- Add retry logic when hitting 429

Fix verify link renaming scenarios

- Correctly error if link format is incorrect
- Handle case where the replace regex is not passed
- Improve the error logging so it is easier to
  identify the broken links
2021-04-22 14:14:23 -07:00
Azure SDK Bot
2ea6ee6d54
Sync eng/common directory with azure-sdk-tools for PR 1565 (#2137)
* Fix retain runs auth.

* Emit encoded token as secret.

Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-04-21 10:14:16 +10:00
Azure SDK Bot
5408d199eb
Sync eng/common directory with azure-sdk-tools for PR 1558 (#2142) 2021-04-20 15:47:03 -07:00