Граф коммитов

410 Коммитов

Автор SHA1 Сообщение Дата
Mitch Denny e942aca8eb
Enable 1ES pools for live tests. (#13216) 2021-01-20 20:50:39 +11:00
Azure SDK Bot 2bb6a75dce
Update error message in tools repo (#13286)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-19 21:34:40 -08:00
Chidozie Ononiwu e1f8788193
Add LanguageDisplayName variable to Language-Settings file (#13282) 2021-01-19 15:54:16 -08:00
Jeff Fisher 3273d72573
[core] Add documentation for core-https, core-client, and an overview README (#13089)
This PR adds some key concepts to both `core-https` and `core-client`, as well as creating a new overview README for the core namespace. This is intended to be a start of more detailed documentation that we can link to when ramping up new library authors.

Suggestion comments are greatly appreciated! 😄
2021-01-16 00:59:37 +00:00
KarishmaGhiya 4bd67241be
Removing npm clean step from build samples and run step before pack (#13199) 2021-01-15 08:10:27 -08:00
Chidozie Ononiwu ea1f4e75eb
Add condition for making TestPipeline true. (#13175) 2021-01-13 18:59:01 -08:00
praveenkuttappan d3a1e78a52
Removed step to build samples temporarily (#13197) 2021-01-13 08:52:03 -08:00
Azure SDK Bot 1defe3701d
Update pipeline generation tool to support test variant pipelines (#13177)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-01-12 15:03:16 -08:00
Jeff Fisher b484888d99
[monitor] Fix monitor CI script (#13171)
Forgot to update this path when we renamed the package
2021-01-12 20:20:22 +00:00
Azure SDK Bot 464ce839c0
Sync eng/common directory with azure-sdk-tools for PR 1304 (#13145)
* Add quotes around the parameter

* Add variable group for test options.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2021-01-11 16:59:24 -08:00
Mitch Denny 969d598cf9
Enable 1ES pools in JS repository (#13064)
* Initial pass of enabling 1ES pools in JS repo.
2021-01-12 11:17:06 +11:00
Azure SDK Bot ea5128d010
Fix condition for test generation in prepare-pipelines (#13140)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2021-01-11 10:46:45 -08:00
Azure SDK Bot 6e03f889d9
Revert "Remove old Update-Change-Log.ps1 (#1301)" (#13130)
This reverts commit b967cb62bd8db451a2f02d903f3658cf21f92db1.

Co-authored-by: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com>
2021-01-08 15:57:01 -08:00
Azure SDK Bot 1a77bd79f7
allow configuration of a suffix for each config item. (#13127)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2021-01-08 12:36:12 -08:00
Azure SDK Bot eba91b540b
Remove old Update-Change-Log.ps1 (#13097)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-07 09:42:17 -08:00
Azure SDK Bot 8d3c760305
Sync eng/common directory with azure-sdk-tools for PR 1302 (#13098)
* 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:45 -08:00
Chidozie Ononiwu 8c30af4fb0
Update update changelog (#13079)
* Add function for retrieving existing versions of packages

* Add SetPackageVersion function

* Update versioning tools

* Add GetPackageInstallNotes function

* Remove changes not related to changelog
2021-01-06 16:02:27 -08:00
Azure SDK Bot 736de0823c
Sync eng/common directory with azure-sdk-tools for PR 1298 (#13071)
* 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:29 -08:00
Azure SDK Bot d6f67a425c
Add Devops Release Item scripts (#13074)
- 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:32 -08:00
Azure SDK Bot 741ad612ba
Update to Update-Changelog.ps1 (#13058)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-05 12:59:16 -08:00
Jeremy Meng d6d5163251
Add support to test multi service API version (#12719)
* [WIP] prototype: multi-service-version test support

* Move multi-version test support into its own package

* Add some unit tests

* Add README

* Fix missing rollup error in CI build

* Disable browser test bundling

* Remove option to specify custom string comparison function

Now it's required to have a sorted list of API version strings
supported by the service from the oldest to the latest. This list is
used to compare version strings.

Add missing `skip` method to the chain object.

Add unit tests

* Fix README analysis issue

* Move `forEach()` and `onVersions()` into `versionsToTest()`

* Ignore README verification errors

* Fix rollup error

* Undo file moves

* Minor README tweak

* Fix build error in pipeline

* Add `DISABLE_MULTI_VERSION_TESTING` env var
2021-01-05 11:33:43 -08:00
Harsha Nalluru 91b0caaba2
[Service Bus] Perf tests for track 2 and update track 1 ones to latest (#11854)
* perf tests for track 2 and update track 1 ones to latest

* Add memory consumption too

* batch API call update

* Update _messages increment in send track 1 test

* \t in logged output

* Add peeklock variation for streaming test

* Batch api perf test

* fix converting to bool

* Move to GA v7

* "private": true,

* Import v7

* fix instructions

* omit paths

* Update sdk/servicebus/service-bus/test/perf/service-bus-v1/receiveBatch.ts

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>

* Update sdk/servicebus/service-bus/test/perf/service-bus-v7/receive.ts

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>

* Update sdk/servicebus/service-bus/test/perf/service-bus-v7/receiveBatch.ts

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>
2020-12-23 10:54:13 -08:00
Harsha Nalluru a640bde2e2
[Service Bus] Delete v1 stress tests and move track 2 tests to "stress" folder (#13008)
This PR does nothing more than cleaning up.
2020-12-23 01:13:52 +00:00
praveenkuttappan adeac3ecbf
Create API review from scheduled CI (#12965)
* Create API review from scheduled CI
2020-12-18 00:27:12 -08:00
Azure SDK Bot 5b0fe950b1
Sync eng/common directory with azure-sdk-tools for PR 1287 (#12946)
* Move common code to create API review into eng common in tools
2020-12-17 13:52:15 -08:00
Deyaaeldeen Almahallawi 78db83fe14
Standardization of our documentation comments (#12912)
# Status quo
Some of our documentation comments are [TypeDoc](http://typedoc.org/guides/doccomments/) and some of them are JSDoc with type description in the comments even though it is for typed TS code.

# Standardization
I decided the best way to go about this is to migrate to [TSDoc](https://github.com/Microsoft/tsdoc) and enforcing it using the [tsdoc eslint plugin](https://www.npmjs.com/package/eslint-plugin-tsdoc).

Pros:
- TSDoc is a proposal to standardize the doc comments used in TypeScript code, so that different tools can extract content without getting confused by each other’s markup.
- It is being developed at Microsoft, with the TypeScript team.
- It has an ESLint plugin that enforces it and will error when it sees unsupported tags (e.g. `@memberof`, `@class`, `@constructor`, `@type`, etc).

Cons:
- It is still in early stages (adoption is ongoing though, e.g. it is being used by the API extractor tool).
- TSDoc != TypeDoc (the tool we currently use for generating our documentation). However, TypeDoc plans to officially support TSDoc in v1.1 (see https://github.com/TypeStrong/typedoc/issues/1266).

# Notable tag changes
- `@ignore` is a JSDoc tag and was used in conjunction with `@internal`. These tags were needed because [TypeDoc does not yet support documenting only definitions exported by the entry point](https://github.com/TypeStrong/typedoc/pull/1184#issuecomment-650809143) and still documents everything exported from all files. I removed `@ignore` because [`@internal`](https://tsdoc.org/pages/tags/internal) only should suffice
- `@ignore` when used alone is replaced with TypeDoc's [`hidden`](http://typedoc.org/guides/doccomments/#hidden-and-ignore). EDIT: I replaced `@ignore` with [`@hidden`](https://github.com/TypeStrong/typedoc/releases/tag/v0.12.0) because the TypeDoc version used for `docs.microsoft.com` is v0.15.0 which does not support `--stripInternal`. After, they upgrade, I will remove all `@hidden` tags. 
- `@summary` is gone because it is not part of TSDoc or TypeDoc

This PR applies the changes to packages that respect our linting rules. Ones that do not yet will be migrated later when we start fixing their linting issues.

Here are vanilla examples of TypeDoc 0.18.0 (version used by our EngSys) after the changes here as a sanity check:
- random method:
![typedoc](https://user-images.githubusercontent.com/6074665/102302881-f6186380-3f27-11eb-8cc6-93e4c8f7d42d.PNG)
- a class constructor that used to have type information in the documentation comments:
![constructor](https://user-images.githubusercontent.com/6074665/102357078-f8a4a880-3f7b-11eb-92d1-c086ecc39c0b.PNG)

# `@hidden` works the same way as `@ignore`
Here are the list of documented functions generated by `TypeDoc v0.15.0` for the text analytics package and there is no function that was marked `@hidden`, e.g. `combineSuccessfulAndErroneousDocumentsWithStatisticsAndModelVersion`
![image](https://user-images.githubusercontent.com/6074665/102426196-e018aa80-3fdc-11eb-8b69-1ac265391fad.png)

# Things to consider
- Our documentation must be generated using the TypeDoc flag [`--stripInternal`](http://typedoc.org/guides/options/#stripinternal)
- Should we add a `docs` npm script to our `package.json`s (similar to [Cosmos's](2424b74f02/sdk/cosmosdb/cosmos/package.json (L60))) so that we can see how our docs are generated as we write our comments?

Fixes https://github.com/Azure/azure-sdk-for-js/issues/3027.
2020-12-17 02:01:34 +00:00
Azure SDK Bot 15efda523a
Fixed the bug of replacing img src with href text (#12921)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-12-16 10:36:32 -08:00
Azure SDK Bot ceb5c5e2c0
Sync eng/common directory with azure-sdk-tools for PR 1273 (#12871)
* 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:17 -08:00
Azure SDK Bot 0ca336bd54
Sync eng/common directory with azure-sdk-tools for PR 1274 (#12866)
* 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:44 -08:00
Azure SDK Bot 5bf239993c
Sync eng/common directory with azure-sdk-tools for PR 1270 (#12867)
* resolve git longpath error when applying documentation updates

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2020-12-11 12:46:54 -08:00
Will Temple 6ffd578ecd
Add PR CI step to build samples (#12715)
* Add PR CI step to build samples

* Made a change to rush-runner

* Fixed an issue with rush-runner patch

* Repaired metricsadvisor and anomalydetector samples builds

* Repaired storage samples build scripts, added skip to storage-internal-avro

* Added skips to core packages without samples

* Resolved conflicting options in identity samples

* Skipped broken test scripts

* pnpm-lock

* [eventhubs-checkpointstore-blob] fix build:samples script (#3)

* [event-processor-host] fix build:samples script

* Revert sorting of package.json script entries

* Fixed merge artifact in dev-tool package.json

* pnpm-lock

* Revert formatting changes to anomalydetector

* Run build phase with transitive dependencies.

* Add stub build:samples commands for synapse

* Added samples build setup for tables

* Repaired two broken links in EPH

Co-authored-by: chradek <51000525+chradek@users.noreply.github.com>
Co-authored-by: chradek <chradek@microsoft.com>
2020-12-11 11:22:12 -05:00
Azure SDK Bot f2e7f0620c
Create PR to target against master (#12852)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-12-10 13:53:11 -08:00
Azure SDK Bot 90166f004c
Clean up modules direcotry in eng/common since they are no longer being used. (#12754)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2020-12-09 12:56:19 -08:00
Will Temple 41599bdfc9
Added build:samples support to rush-runner.js (#12817)
* Added build:samples support to rush-runner.js

* It's not spelled pacakge
2020-12-09 15:15:45 -05:00
Azure SDK Bot af8e1b05d1
Sync eng/common directory with azure-sdk-tools for PR 1257 (#12814)
* 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:50 -08:00
praveenkuttappan 00cb89b703
Fix undeclared var issue in versioning tool (#12786) 2020-12-04 14:04:06 -08:00
Azure SDK Bot b4231841aa
Sync eng/common directory with azure-sdk-tools for PR 1233 (#12766)
* 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:30 -08:00
Sima Zhu 3fd0d66d40
Delete redandunt packages and move to the right yaml (#12739) 2020-12-02 16:47:44 -08:00
Scott Beddall a8d53e177c
add the additional metadata (#12749) 2020-12-02 15:04:28 -08:00
KarishmaGhiya df0db1635d
enable min max for form recognizer (#12624) 2020-12-02 11:22:29 -08:00
Deyaaeldeen Almahallawi c88d1faf32
[core-arm] delete it! (#12682)
* delete core-arm

* remove core-arm from a bunch of places

* rush update
2020-12-02 14:09:19 -05:00
Azure SDK Bot d860125f6d
Exclude bypass-local-dns step when a container variable is specified (#12647)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2020-11-30 17:40:01 -05:00
Azure SDK Bot 0943a125fd
Fixed the bug of the wrong parameter (#12674)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2020-11-23 19:28:39 -08:00
Azure SDK Bot ad52b4f6c1
Sync eng/common directory with azure-sdk-tools for PR 1226 (#12651)
* 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:27 -08:00
Azure SDK Bot 8bd1c19aec
Sync eng/common directory with azure-sdk-tools for PR 1219 (#12640)
* 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:22 -08:00
Ramya Rao 3ce1a57596
Service level readmes for Service Bus, Event Hubs and Key Vault (#12599) 2020-11-19 20:47:16 -08:00
Azure SDK Bot 19d5a675a5
Sync eng/common directory with azure-sdk-tools for PR 1222 (#12625)
Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/1222  See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/master/eng/common/README.md#workflow)
2020-11-20 02:13:11 +00:00
Azure SDK Bot 70b4b380d4
Sync eng/common directory with azure-sdk-tools for PR 1203 (#12618)
* 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:41 -08:00
KarishmaGhiya 15a9503b3f
simplify min-max testing (#12613) 2020-11-18 18:17:51 -08:00
Chidozie Ononiwu 1c2e8c4573
Updates to Language Settings file (#12589)
* Add Update-javascript-CIConfig

* Add Update-javascript-CIConfig

* Switch from using BuildNumber to BuildID for test versions
2020-11-18 14:49:54 -08:00