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

3698 Коммитов

Автор SHA1 Сообщение Дата
Ray Chen 8cb87e4436
Correct the variable name in spec location validation script (#7528) 2024-01-15 17:11:54 +08:00
Ray Chen 7edea26ebe
New validation for REST API spec location before SDK release (#7451)
* Added script and pipeline for spec location validation

SDK release pipeline would run this validation to ensure the spec comes from
the main branch of Azure/azure-rest-api-specs repo

* Update parameter

* Use github rest api to validate commit

* Added token parameter

* Support more yaml cases and other languages

* Removed the default setting in yaml template

* Only validate in case of GA package

* Follow APIView to retrieve package version for verification

* Get github token from env variable

* Removed obsolete parameter
2024-01-15 11:50:11 +08:00
Charles Lowell 2936978652
apiviewgo skips nested modules (#7524) 2024-01-12 16:42:45 -08:00
Travis Prescott 85b98a5d24
Changelog and version bump. (#7516) 2024-01-11 12:56:20 -08:00
Ben Broderick Phillips 13ff660779
Add package filter parameter for release (#7445)
* Add package filter parameter to select recursively found packages in release

* Handle empty value for packageFilter
2024-01-11 15:45:32 -05:00
Travis Prescott 79497aa30d
[Python APIView] Remove epylint dependency (#7473)
* Initial fix.

* Update pylint parsing.

* Update min python versions to 3.8.
2024-01-11 12:42:05 -08:00
Scott Beddall c4b002df37
make the messagetext a structured log (#7507) 2024-01-10 13:12:23 -08:00
Patrick Hallisey e69d7de359
Fix PipelineWitness's app insights logging config (#7506)
* Fix the logging levels for app insights
* Remove default overides in appsettings.development.json
2024-01-10 12:56:29 -08:00
Liudmila Molkova 11b9b80662
Fix image tag for multiimage deployments (#7498) 2024-01-09 21:54:11 +00:00
Scott Beddall b698da72b9
Script Feedback (#7459)
* check for the presence of a compatible powershell. ensure that we always return a list of tags

* allow the script to require pshell6+

* remove the en-us from the link
2024-01-09 12:53:33 -08:00
Patrick Hallisey 99c8f2db76
Scheduled autorest preview builds should reuse the branch and pr (#7497)
* Scheduled autorest preview builds should reuse the branch and pr

* Remove failure indication from scheduled PR title

* Fix spelling in yaml comment
2024-01-09 11:04:47 -08:00
Wes Haggard 100254c1da
Fix storage account clean up (#7496)
* Revert "Add extra handling for errors during clean-up"

This reverts commit 3eb8cb7329.

* Skip container clean-up for file storage accounts as it has none
2024-01-08 14:32:18 -08:00
Anton Kolesnyk bd788682d7
Fix spelling (preceeding=> preceding) (#7468) 2024-01-05 14:24:42 -08:00
Scott Kurtzeborn 890ab71df7
Update PostConfigureKeyVaultSettings.cs (#7485)
Code change to address this s360 item (which is out of SLA now): https://msazure.visualstudio.com/One/_workitems/edit/25965784/
2024-01-05 12:49:19 -08:00
Wes Haggard 064399d0d4
Update all projects to v5 of graph api (#7488)
Part of the tools used v5 and others v4 which causes runtime exceptions
because of the breaking changes between those version, so updated all projects
to be using v5.

Fixed bug when user doesn't have permission to update an endpoint/service connection
so it correctly errors instead of throwing null ref exception.
2024-01-05 11:00:33 -08:00
Wes Haggard 3eb8cb7329
Add extra handling for errors during clean-up 2024-01-04 11:10:31 -08:00
Wes Haggard f85e4fded7
Disable translation sub cleanup (#7489)
The environment is currently broken and we aren't even running tests currently see https://github.com/Azure/azure-sdk-for-python/pull/33483. Disabling this to reduce noise until that is fixed.
2024-01-04 09:07:27 -08:00
catalinaperalta 9572148d3f
[tsp-client] fix output dir path (#7484)
* fix output dir path

* use resolvePath

* clean up
2023-12-21 16:53:48 -08:00
catalinaperalta de40f27177
[tsp-client] Fix additional directory support for remote project scenario (#7483)
* fix additional directory support for url scenario

* changelog

* clean up

* newline
2023-12-21 15:43:21 -08:00
catalinaperalta 0c65b7cf7b
use typespec/compiler path helpers (#7481) 2023-12-21 11:48:52 -08:00
catalinaperalta 7908338c1c
update package version for release (#7482) 2023-12-21 11:44:32 -08:00
catalinaperalta 544816473d
[tsp-client] Improve additional directory processing (#7479)
* improve additional directory output

* add utils file

* fix additional directories for local specs

* remove variable

* update changelog

* fix type in formatAdditionalDirectories()
2023-12-21 11:16:39 -08:00
Praven Kuttappan 17558008c8
Include apireview URL in comment only if API surface changes (#7475)
Co-authored-by: praveenkuttappan <praveenkuttappan@gmail.com>
2023-12-20 10:16:22 -05:00
catalinaperalta b7c22df944
[tsp-client] Fix typespec compiler usage (#7471)
* fix compiler call

* fix additional emitter options scenario

* clean up

* changelog

* changelog

* use joinPaths on resolved entrypoint

* refactor code
2023-12-19 09:50:09 -08:00
Praven Kuttappan 0ea9091511
Redirect and show error message when diff revision id is not active (#7456)
* Redirect and show error message when diff revision id is not active
2023-12-15 16:11:15 -05:00
Praven Kuttappan ad0aab26d4
Modify PR api change detection to calculate diff only between base… (#7467)
* Restructure PR api change detection and calculate diff only between baseline and modified swagger
2023-12-15 15:34:42 -05:00
Ben Broderick Phillips 044cd03aee
Switch busybox image source in stress example (#7470) 2023-12-15 15:15:03 -05:00
Libba Lawrence b2bed9b781
[Pylint] bump version (#7461)
* bump version

* Update tools/pylint-extensions/azure-pylint-guidelines-checker/CHANGELOG.md

* Update tools/pylint-extensions/azure-pylint-guidelines-checker/CHANGELOG.md
2023-12-15 11:55:33 -08:00
Libba Lawrence 669c18bd79
[Pylint] incorrect-naming-convention bug fix (#7460)
* resolving pylint bug

* order

* update test to avoid flaky test due to arg positioning
2023-12-15 11:41:06 -08:00
Liudmila Molkova 614e05d893
don't return 200 when error happens (#7462) 2023-12-14 23:26:50 -08:00
Wes Haggard 7ed55bda27
Testing merge options for typespec repo 2023-12-14 15:19:01 -08:00
Heath Stewart 249b429531
Fix PR trigger in agent-software-inventory.yml (#7454) 2023-12-14 14:29:12 -08:00
Wes Haggard baa84b781b
Add typespec-azure to the mirror list (#7453)
- Switch clone and fetch to --filter:tree=0 to cut down on unnecessary syncing time
2023-12-14 13:52:16 -08:00
Heath Stewart 6c52303ecb
Collect and combine inventory across agents (#7424)
* Collect and combine inventory across agents

* Relocate strategy

Forgot to move it

* Fix az-inventory

* Do appropriate checkouts

* Use explicit BUILD_SOURCESDIRECTORY

* Use runtime expressions instead of compile-time expressions

* Remove runtime expressions

Can't use them as conditions

* Use matrix variables simply

* Fix Windows ARP filter
2023-12-14 11:37:48 -08:00
Heath Stewart 111f392331
Only trigger PR build on inventory for itself (#7440) 2023-12-14 19:16:31 +00:00
Praven Kuttappan f98d50caf3
Return correct URL when processing PR review from spec (#7452)
Co-authored-by: praveenkuttappan <praveenkuttappan@gmail.com>
2023-12-14 12:57:42 -05:00
Praven Kuttappan 68f14a9469
Automatic approval copy issue (#7448)
* Copy approver name when copying approval status
2023-12-14 09:16:19 -05:00
Praven Kuttappan dff04c39ef
Fix automatic review exception (#7450)
* Handle null pointer when creating API review
2023-12-13 22:37:21 -05:00
Chidozie Ononiwu 94c1cca652
Enable Usage Samples for cases where there is no existing data (#7449) 2023-12-13 14:09:57 -08:00
Libba Lawrence e39bdcbca0
[pylint] Bump 3.0 checker (#7443)
* run balck

* update tests failures

* update setup

* update

* order
2023-12-13 13:12:08 -08:00
Praven Kuttappan 54378afa82
Set Samples page model and use correct property to find active revision (#7441)
Co-authored-by: praveenkuttappan <praveenkuttappan@gmail.com>
2023-12-12 16:36:10 -05:00
Praven Kuttappan 8240399328
Process swagger file cross reference when generating API review (#7438) 2023-12-12 13:39:41 -05:00
Ben Broderick Phillips f55acff0a8
Update stress infra to use mirrored images (#7374) 2023-12-11 17:01:54 -05:00
Praven Kuttappan a5a274587c
Add delay between processing cleanup of PR API review revisions (#7433)
Co-authored-by: praveenkuttappan <praveenkuttappan@gmail.com>
2023-12-11 13:51:17 -08:00
Wes Haggard b842845450
Enable continue on error for our mirror steps (#7430)
- Enable continueonerror for our mirroring steps so one bad
  repo doesn't stop the others from mirroring
- React to recent change to git cli 54f98fee50
  Instead of passing --theirs we can get away with --ignore-unmerged given
  we are tryig to avoid any merge conflicts at all and want to simply pick
  and choose which files we want to include from which branches
2023-12-11 11:43:11 -08:00
Praven Kuttappan 9b4ae8c5a3
Avoid caching code file when running background task (#7425) 2023-12-08 22:53:47 -05:00
Chidozie Ononiwu a1730ac7fd
Update SampleRevision to match DB (#7423) 2023-12-08 18:29:52 -08:00
catalinaperalta 25f151914c
update date (#7416) 2023-12-08 14:54:23 -08:00
Scott Beddall ca624e0179
ensure all the headers get applied to (#7417) 2023-12-08 14:53:12 -08:00
Praven Kuttappan a92a4a1d2b
Optimize swagger diff calculation and avoid cleanup of approved PR re… (#7415)
* Optimize swagger diff calculation and avoid cleanup of approved PR reviews
2023-12-08 17:34:23 -05:00