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
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
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
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
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
f5d9a25d41
Revert changes to SetDevVersion. ( #2213 )
...
Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-05-07 09:35:53 +10: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
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
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
Azure SDK Bot
6b50feb0d4
Sync eng/common directory with azure-sdk-tools for PR 1559 ( #2123 )
...
* Handle empty files in Test-SampleMetadata
Relates to Azure/azure-sdk-for-java#20684
* Remove condition from verify-samples
* Use forward slash in path
* Fix directory typo
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2021-04-14 22:37:40 -07:00
Azure SDK Bot
8002b63f61
Sync eng/common directory with azure-sdk-tools for PR 1555 ( #2120 )
...
* Verify samples during CIs
Replaces Azure/azure-sdk-for-python#17999 for use in all language repos.
* Move exit to proper scope
Co-authored-by: Heath Stewart <heaths@microsoft.com>
2021-04-14 17:56:19 -07:00
Azure SDK Bot
df69a35c88
Call bypass-local-dns.yml from verify-agent-os.yml - Easy way to ensure the DNS workaround is run in (almost) all pipelines ( #2119 )
...
Co-authored-by: Mike Harder <mharder@microsoft.com>
2021-04-14 17:23:12 -07:00
Azure SDK Bot
c297b63b9b
Sync eng/common directory with azure-sdk-tools for PR 1552 ( #2110 )
2021-04-13 11:12:50 -07:00
Azure SDK Bot
edd6152632
Sync eng/common directory with azure-sdk-tools for PR 1553 ( #2108 )
...
* Remove condition.
* Fix up system access token usage.
Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-04-13 16:02:29 +10:00
Azure SDK Bot
7da44d90bb
Update eng/common dev version template. ( #2106 )
...
Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-04-13 10:45:42 +10:00
Azure SDK Bot
cf071db26a
Sync eng/common directory with azure-sdk-tools for PR 1551 ( #2104 )
...
* make -checkout: none an optional phase
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-04-13 00:01:50 +00:00
Azure SDK Bot
05b73d3232
Removed the update CI target packages step. ( #2102 )
...
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2021-04-12 14:05:52 -07:00
Azure SDK Bot
2a945c3053
Sync eng/common directory with azure-sdk-tools for PR 1515 ( #2088 )
...
* Add lease to runs.
2021-04-12 00:39:39 +00:00
Azure SDK Bot
642c311676
Use single quotes for matrix generator command line arguments ( #2028 )
...
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-04-05 12:53:33 -04:00
Azure SDK Bot
0990a8599e
Add DependsOn parameter to matrix job generation template ( #2001 )
...
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-03-30 11:25:11 -07:00
Azure SDK Bot
b4110380f0
Sync eng/common directory with azure-sdk-tools for PR 1477 ( #1981 )
...
* Checked in the changes directly.
* Address feedback and remove the check of set-default-branch
* Fixed base repo branch
* Update git-branch-push.ps1
* Fixed the docs-metadata-release
* Change the typo
* Update eng/common/scripts/git-branch-push.ps1
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
* Keep origin format
* Update git-branch-push.ps1
* Keep fixing the typo
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>
2021-03-26 17:30:54 -07:00
Azure SDK Bot
8d435df2d3
Support default branch for the workflow. Part 1 ( #1979 )
...
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2021-03-26 10:28:32 -07:00
Azure SDK Bot
f1688491d9
Sync eng/common directory with azure-sdk-tools for PR 1508 ( #1956 )
...
* Skip API create step when running from feature branch with non GA version
2021-03-26 01:40:47 -07:00
Azure SDK Bot
ea57783e05
Sync eng/common directory with azure-sdk-tools for PR 1478 ( #1978 )
...
* actually pass the _content_ of the reviewers or teamreviewers variable within create-pull-request.yml, update logic in Set-GitHubParameter
2021-03-26 01:25:26 +00:00
Azure SDK Bot
d577d25041
Sync eng/common directory with azure-sdk-tools for PR 1489 ( #1928 )
...
* Add draft to Submit-PullRequest.ps1
* Add -Draft to create-pull-request.yml
* Add documentation
* Rename: Draft[Pr] -> OpenAsDraft
* Update docs
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-03-18 14:50:46 -07:00
Azure SDK Bot
ca1692e375
Sync eng/common directory with azure-sdk-tools for PR 1463 ( #1919 )
...
* Add 'replace' support. Improve handling of dynamic parameter types.
* Support display name import and overrides
* Support regex capture groups for replace. Force fully matching regex.
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-03-16 16:46:41 -07:00
Azure SDK Bot
23c1d891b7
Sync eng/common directory with azure-sdk-tools for PR 1490 ( #1905 )
...
* Create a publish-artifact.yml template step within eng/common. This template utilizes PublishPipelineArtifactV1 to upload your artifact only in the case where steps up till the invocation are succeeded(). Otherwise, the artifacts will be uploaded to an alternate artifact name.
2021-03-15 12:08:13 -07:00
Azure SDK Bot
d7924ce12f
Address PR feedback ( #1826 )
...
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com>
2021-03-15 10:04:22 -07:00
Azure SDK Bot
7a93457f42
Use latest pipeline generator. ( #1817 )
...
Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-03-09 15:43:04 -08:00
Azure SDK Bot
37454b68ef
Sync eng/common directory with azure-sdk-tools for PR 1452 ( #1814 )
...
* Use sparse checkout for generate matrix job
* Add repository parameter
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-03-08 18:07:54 -08:00
Azure SDK Bot
3b88c7bb83
move SetTestPipeline into its own template ( #1799 )
...
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-03-05 17:10:40 -08:00
Azure SDK Bot
2ffb694cdd
Enable APIView status check ( #1781 )
...
Co-authored-by: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com>
2021-03-05 03:11:34 -08:00
Azure SDK Bot
824853d948
Sync eng/common directory with azure-sdk-tools for PR 1421 ( #1720 )
...
* Add common tools for spell check
* Updates from further iteration
* Review feedback: Add check for git as well
* Review feedback * Use common approach to resolving base branch name * Eliminate default base branch "master" as this will be changed later, providing no default and using a mandatory parameter means a dev must provide the value * Check for existence of $CspellConfigPath * No need to Set-Location if run from the root of the repo (most common scenario) * -join
* Review feedback: Rename TargetRef -> TargetBranch, add SourceBranch, Add reference to spelling docs, exit 0, Rename to check-spelling-in-changed-files.ps1,
* Review feedback: Remove ValidateNotNullOrEmpty (we do more definitive validation farther down that will also catch these errors), Update comments and script name
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2021-02-22 22:16:09 -08:00
Azure SDK Bot
7e22da08b9
Restore pipeline output variable for Agent OS name ( #1709 )
...
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-02-22 16:47:08 -05:00
Azure SDK Bot
b8af41f79a
Update pipeline generator version to include weekly convention name fix ( #1710 )
...
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-02-19 15:27:28 -08:00
Azure SDK Bot
5a1fedd0d5
Sync eng/common directory with azure-sdk-tools for PR 1429 ( #1705 )
...
* Add job matrix generation scripts
* Add working job matrix example pipeline and common matrix generation pipeline.
* Update job matrix tests path
* Parameterize matrix generation job path
* Add global variable to override nuget security checks to sample matrix pipeline
* Update readme matrix pipeline example to match sample file
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2021-02-19 14:45:31 -08:00
Azure SDK Bot
6e4306dc93
Only run eng/common check when target branch is master ( #1688 )
...
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-02-19 11:06:36 -08:00
Azure SDK Bot
f929894274
Sync eng/common directory with azure-sdk-tools for PR 1374 ( #1686 )
...
* Create package property file using artifact name
* Add option to pass config file dir
* Set default config file directory to avoid script execution failure
Co-authored-by: praveenkuttappan <prmarott@microsoft.com>
2021-02-16 11:57:56 -08:00
Azure SDK Bot
74bfafcb52
Sync eng/common directory with azure-sdk-tools for PR 1371 ( #1634 )
...
* Rework verify agent OS step.
* Address feedback
* Justing string matching instead.
* ! instead of -not
Co-authored-by: Mitch Denny <midenn@microsoft.com>
2021-02-14 15:56:25 -08:00
Azure SDK Bot
65453834ae
Update eng-common-workflow-enforcer ( #1674 )
...
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-02-12 11:40:11 -08:00
Azure SDK Bot
3282a05d49
Sync eng/common directory with azure-sdk-tools for PR 1358 ( #1669 )
...
* Extend Get-GitHubPullRequest to return only files
* Add check to prevent eng/common changes that are not proper syncs
* Update eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
* Update eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml
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-02-11 10:12:13 -08:00
Azure SDK Bot
6fc06e80f3
Sync eng/common directory with azure-sdk-tools for PR 1365 ( #1587 )
...
* Updated cosmos emulator yml script to remove the existing installation, install latest version and run emulator with latest version
* Added default emulator start arguments if none provided
* Updated default start params
* Updated default start params in PS script
* Updated default start params in PS script
Co-authored-by: Kushagra Thapar <kuthapar@microsoft.com>
2021-02-03 14:19:41 -08:00