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

1197 Коммитов

Автор SHA1 Сообщение Дата
Wes Haggard 2eb45986b8
Fix package type in pipeline (#7836) 2024-03-07 17:34:24 +00:00
Ben Broderick Phillips 4257744690
TestResources - Bubble up errors in Retry with pipe statements (#7823) 2024-03-07 00:15:08 +00:00
Ben Broderick Phillips 2038a7ba2f
Run publish on failed or succeeded (#7810)
* Run publish on failed or succeeded

* Expand agent os string detection

* Check agent job status env var for artifact name detection

* Add sbomEnabled flag to publish template

* Fix image and artifact name conditional
2024-03-05 17:53:04 -05:00
Ben Broderick Phillips 7ea5f09967
Add 1es changes for job/matrix generation and publish (#7758)
* Add 1es changes for job/matrix generation and publish

* Use more flexible pool filter for prev/next pool matches

* consolidate displayname definition

* use linux pool variables for generate matrix job

* Fix publish artifact

* Use single publish task for publish artifact
2024-03-04 22:02:55 +00:00
Ben Broderick Phillips 9542023f7e
Fix matrix CI tests (#7686) 2024-03-01 19:15:47 +00:00
Wes Haggard 46729b221c
Exclude cspell.json from auto-sync (#7788) 2024-03-01 18:19:47 +00:00
Ben Broderick Phillips 3ecd831c04
Support resolving environment variable references in matrix config (#7682)
* Support resolving environment variable references in matrix config

* Improve type and null handling

* Fix reference bug

* Change behavior on missing env vars to throw
2024-02-29 21:42:10 +00:00
Patrick Hallisey af3b1eb371
Allow relative EmitterPackageJsonPath in New-EmitterPackageLock.ps1 (#7729) 2024-02-27 23:07:57 +00:00
Ben Broderick Phillips 50444bee3a
Add otel collector to image publish pipeline (#7772) 2024-02-27 14:57:02 -05:00
James Suplizio 4220a04040
Updates to tools for CodeownerUtils updates (#7767) 2024-02-27 19:11:29 +00:00
Jonathan Cárdenas 29b300b03b
Fix errors in repo structure cache script and improve pipeline (#7733)
* Update repo URLs and requirements file path for cache job

* Fixing bug in script

* Update yaml to match PPE and PROD database names and repo branches

* Use git owner uppercase to match DB key in PPE and PROD

* Update both PPE and PROD in different steps using the same pipeline
2024-02-22 16:22:59 -08:00
Jonathan Cárdenas 1966675219
Update script path in the specs repo structure cache pipeline (#7728) 2024-02-21 20:46:34 -08:00
Jonathan Cárdenas bc58438eb0
New script to cache specs repo structure (#7678)
* Script

* Pipeline

* Change env var names

* Fix the path of the script in the yml file

* Fix script path

* Move script to eng/scripts

* Rename script file

* Update script path

* Update repo-structure-cache-job.yml

* Update repo-structure-cache-job.yml

* Use pat instead of token kv

* Use correct pat kv var

* Comments addressed for the script

* Addressing comments in pipeline yaml file

* Fix bug in args name

* Rename folders and move script

* Uncoment code
2024-02-21 14:45:07 -08:00
James Suplizio 7169786511
Updates to tools for the CodeownersUtils updates (#7704) 2024-02-16 11:57:41 -08:00
Patrick Hallisey e69aed5183
Move emitter-package.json scripts to eng/common (#7655) 2024-02-14 11:29:39 -08:00
Anton Kolesnyk 6f871edbee
Fix case-sensitive spelling in scripts that get deployed to C++ repo (#7665)
* Fix case-sensitive spelling in scripts that get deployed to C++ repo

* Removed cspell:ignore per https://github.com/Azure/azure-sdk-for-cpp/pull/5346#discussion_r1486546416

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-02-13 17:07:50 -08:00
Ben Broderick Phillips 5a3666d389
Add stress test arm/bicep template prefix to New-TestResources ResourceType set (#7664) 2024-02-12 10:40:20 -08:00
Wes Haggard f4253c4a9a
Add azure-sdk to eng/common sync (#7652) 2024-02-08 10:22:44 -08:00
Peng Jiahui 585e7c6a23
Add ContentType header to Update-GitHubIssue (#7630)
* Add ContentType header to Update-GitHubIssue

* replaced application/json

* Update eng/common/scripts/Invoke-GitHubAPI.ps1

Co-authored-by: Daniel Jurek <djurek@microsoft.com>

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-02-06 16:51:37 +08:00
Daniel Jurek b2d2c4d93c
Fix sparse-checkout git command line behavior (#7634)
* Fix sparse-checkout git command line behavior

* Use command arg parsing behavior in sparse-checkout.yml
2024-02-05 20:24:40 -08:00
Daniel Jurek 4ccb62a34f
Fix BOM issue Generate-DocIndex.ps1 (#7629) 2024-02-05 16:28:24 -08:00
Chidozie Ononiwu efa8a15c81
Update APIView Sync Pipeline (#7618) 2024-02-02 14:03:37 -08:00
Wes Haggard ae0bef4bd1
Add rust to the mirroring list (#7626) 2024-02-02 20:01:09 +00:00
Wes Haggard 7e317add72
Fix issue in Verify-Link.ps1 after PS 7.4 update (#7623)
https://learn.microsoft.com/en-us/powershell/scripting/whats-new/what-s-new-in-powershell-74?view=powershell-7.4
- Add AllowInsecureRedirect switch to Web cmdlets (#18546)

That new option cause a new exception type that exposed
a bug where we assumed if InnerException property existed
that it was not null. This fix verifies that the property
is not null.
2024-02-02 11:33:50 -08:00
Anton Kolesnyk 996d965780
Prepare-Release.ps1: Make dateTime.ToString("MM/dd/yyyy") to work on exotic setups (#7615)
* Prepare-Release.ps1: Make dateTime.ToString("MM/dd/yyyy") to work on exotic set-ups

On my machine, I experimented with the registry, and the worst part is that I don't remember/know how to reset it back.

The work items that script produces, do have datetimes for the upcoming releases in the `MM-dd-yyyy` format, and then I have to correct them by hand.

`dateTime.ToString("MM/dd/yyyy")` does produce the date in the format of `MM-dd-yyyy` on my machine. This also happens if I write a corresponding .NET app.

The fix that I am proposing makes it work on my specific setup and hopefully breaks no one else. I understand if you are hesitant to take it. Let me know, I'll see how I can restore my setting.

But on the other hand, I don't think it makes anything worse, it only makes things more robust, so maybe take it?

* Use [CultureInfo]::InvarialtCulture
2024-02-02 10:43:33 -08:00
Ray Chen 37c14df92c
Remove package retrieval when verify pkg version (#7585)
* Remove package retrieval when verify pkg version

* Modified description of PackageName parameter
2024-01-31 16:33:48 +08:00
JoshLove-msft f23c1aaec3
Fix role assignment for user auth (#7584)
* Fix role assignment for user auth

* PR fb

* Apply suggestions from code review

Co-authored-by: Heath Stewart <heaths@outlook.com>

---------

Co-authored-by: Heath Stewart <heaths@outlook.com>
2024-01-25 17:44:54 -08:00
Ray Chen 06cb15a78d
Correct the name of JS package folder (#7569)
* Correct the name of JS package folder

* Uncomment the package verification

* Logging more info for troubleshooting

* Get sdkType and directory from the package info
2024-01-25 18:16:51 +08:00
JoshLove-msft 693b937b9c
Support creating test resources based on logged in user (#7580)
* Support creating resources with user auth

* Log warning if TestApplicationId is set

* missing space

* regenerate md file

* Rename
2024-01-24 23:40:20 +00:00
Wes Haggard b9e696068f
Remove providerhub from mirror pipeline (#7582) 2024-01-24 13:57:40 -08:00
Christopher Scott 7787c1b232
Introduce new InternalsVisibleToAnalyzer analyzer (ACZ0112) with `FriendAttribute` concept (#7086) 2024-01-23 10:27:04 -06:00
Scott Beddall 653f5bf1ef
use merge instead of cherry-pick within merge-proxy-tags.ps1 (#7556) 2024-01-22 00:55:16 -08:00
Matt Ellis 1188403b95
Fix typos in ps1 scripts (#7270)
Co-authored-by: Lukasz Kokot <lkokot@kumojin.com>
2024-01-19 10:29:16 -08:00
Ray Chen b1c3dcea11
Fix Language value for JS (#7548) 2024-01-19 14:07:47 +08:00
Ben Broderick Phillips 460152dd18
Add git commit details to stress environment (#7543) 2024-01-18 17:01:21 -05:00
Scott Beddall 1a4819df7f
auto-merge conflicted assets.json (#7537)
* Add ConflictedFile to git-helpers.ps1, add git-helpers.tests.ps1 to exercise basic functionality.
* Add `resolve-asset-conflict.ps1` a script that can autoresolve an assets.json file.

---------

Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-01-17 14:14:23 -08:00
Ben Broderick Phillips 91ef67fec8
Use apk update for chaos mesh image (#7533) 2024-01-17 19:17:49 +00:00
Scott Beddall 4106af9369
Add script which generates a changeset for pipelinev3 (#7512)
* generate an artifact with the updated files

* bring in Wes's feedback
2024-01-16 18:29:25 -08:00
Ben Broderick Phillips 61b21fa95f
Filter packages at verify step (#7536) 2024-01-16 19:09:40 -05:00
Ben Broderick Phillips b15f499305
Apply optional changes to mirrored image (#7532) 2024-01-16 16:12:59 -05:00
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
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
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
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