Commit Graph

1140 Commits

Author SHA1 Message Date
Albert Cheng
9f2b00be2b
[apiview] adding pr support (#5932)
* add detect api changes

* add detect api changes

* trigger test pipeline

* adding cpp.json ref

* yml syntax

* move partial script below artifact publish

* renaming + trimming down

* download parser

* download parser

* download parser

* fix parser download

* update to parser 2.0

* update to parser 2.1

* update parser version

* trigger pipeline

* trigger pipeline

* download ste7p testing

* download ste7p testing

* download ste7p testing

* download parser from blob

* download parser from blob

* download parser from blob

* download parser from blob

* cspell

* download parser from blob

* download parser from blob

* directory change for get artifacts

* directory change for get artifacts

* publish packageinfo artifact

* publish packageinfo artifact

* publish packageinfo artifact

* debug

* debug

* artifact name

* artifact name

* artifact name

* artifact name

* api file

* delete job

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* dupe package json

* dupe package json

* codefile

* codefile

* codefile

* codefile

* codefile

* test in staging

* cleanup

* use api parser 0.15.0

* ignore unfound package for apiview artifacts

* pr adjustments

* pr adjustments

* pr adjustments

* latest version update

* update latest parser version

* add api parser version

* Update sdk/template/azure-template/src/template_client.cpp

* add template testing for api changes

* add template testing for api changes

* out path change

* out path change

* delete parser path

* delete parser path

* move save package properties out of artifacts loop

* Update sdk/template/azure-template/src/template_client.cpp

* Update sdk/template/azure-template/src/private/package_version.hpp

* Update sdk/template/azure-template/inc/azure/template/template_client.hpp
2024-10-04 13:17:45 -07:00
Azure SDK Bot
519e208a00
Need to add environment to subscription configuration (#6068)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-10-04 13:16:42 -07:00
Azure SDK Bot
54e5e22b1a
Sync eng/common directory with azure-sdk-tools for PR 9092 (#6061)
* Export the subscription data from the service connection

* Update deploy-test-resources.yml

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-10-03 15:11:09 -07:00
Ben Broderick Phillips
02e54b9ee3
Default to sub config file paths/svc connection for public + sovereign live tests (#5845) 2024-10-02 16:45:23 -04:00
Azure SDK Bot
90bd17c5b4
Update New-TestResources.ps1 to add quotes around shell envvar (#6050)
Co-authored-by: swathipil <swathip@microsoft.com>
2024-10-02 13:14:52 -07:00
Anton Kolesnyk
b550ecc46d
CI: mac: update xcode version (#6055)
* CI: mac: update xcode version

* Use xcode 15.4

---------

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2024-10-01 18:40:43 -07:00
Azure SDK Bot
3fc099bfd0
Docs onboarding: ValidatePackageForOnboarding2 -> PackageIsValidForDocsOnboarding (#6045)
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-09-26 15:05:17 -07:00
Azure SDK Bot
da781f6c13
Update CodeownersLinter to 1.0.0-dev.20240926.2 (#6046)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-26 12:33:56 -07:00
Ahson Khan
aa728eed6d
Use code snippets from managed identity credential samples in identity readme doc and fix minor generation issues (#6020)
* Use code snippets from managed identity credential samples in identity readme doc.

* Generate readme from snippets.

* Update snippet generation script to remove unnecessary indentation and extra new line at eof.

* Update Snippet Generation doc to show a concrete example on how to run it.

* Update other repo READMEs with the generation fixes.

* Fix KeyVault Secrets sample and use the snippets in its README

* Use the added sample snippet.
2024-09-25 16:56:57 -07:00
Azure SDK Bot
9655b9f5b8
Sync eng/common directory with azure-sdk-tools for PR 9035 (#6032)
* don't verify changelog for packages that aren't actively published anymore
---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
Co-authored-by: Scott Beddall <45376673+scbedd@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <ben@benbp.net>
2024-09-25 11:46:31 -07:00
Azure SDK Bot
bc9aaa43cf
Sync eng/common directory with azure-sdk-tools for PR 9013 (#6013)
* Spelling: Remove deprecated --no-install, replace with --no

* Extract testing, use npm exec instead of npx

* Move tests to eng/common-tests/

* Cleanup, documentation

* More cleanup

* Update $command

---------

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
2024-09-24 09:50:14 -07:00
Ahson Khan
610c85d768
Disable static analysis for live test pipelines. (#6024)
* Disable static analysis for live test pipelines.

* Remove the AZURE_ENABLE_STATIC_ANALYSIS env var definition.
2024-09-23 22:36:18 +00:00
Wes Haggard
9789d540e8
Revert "Pin windows image version (#5995)" (#6010)
This reverts commit ea00a69e04.
2024-09-23 11:02:00 -07:00
Azure SDK Bot
bc7feb0784
Fix sparse-checkout commit (#6015)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-20 11:56:18 -07:00
Azure SDK Bot
3759f0b41a
Update TestProxy version to 1.0.0-dev.20240919.1 for net6->net8 update (#6012)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-19 15:23:28 -07:00
Azure SDK Bot
199a879a72
AdditionalValidationPackagesFromPackageSetFn now accepts all discovered packages (#6011)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-19 12:12:17 -07:00
Azure SDK Bot
ef728e9eda
we need the condition to be set on populateScanPaths step. if we don't, and there are previous failures in the analyze pipeline, we won't properly invoke verify readmes. (#6005)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-19 11:34:02 -07:00
Wes Haggard
6aee9b2702
Revert "Update PublishCodeCoverateResults task (#5972)" (#6009)
This reverts commit 62891eefd6.
2024-09-19 11:26:49 -07:00
Azure SDK Bot
fdfc6e0324
Update to newer resource id for open source api (#6006)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-09-18 15:00:28 -07:00
Azure SDK Bot
c363627f27
Update perf tests to use federated auth (#6004)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-18 14:07:57 -07:00
Wes Haggard
ea00a69e04
Pin windows image version (#5995) 2024-09-17 15:07:33 -07:00
Azure SDK Bot
efac2c35d8
Update CodeownersLinter for net6 to net8 update (#5998)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-09-17 14:57:11 -07:00
Azure SDK Bot
8a5bf54113
Sync eng/common directory with azure-sdk-tools for PR 8974 (#5994)
* updating package properties with direct/indirect (if named differently) as well as pulling BuildDocs from ci.yml artifact list if it exists

* eliminate the addition of buildDocs property. it requires powershell-yaml to be present on our base function. not good

* remove call to InitializeBuildDocs

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-16 16:01:04 -07:00
Azure SDK Bot
0c6d59b645
Update PublishCodeCoverageResults task to v2 (#5987)
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 11:58:55 -07:00
Azure SDK Bot
668c7acb2e
Sync eng/common directory with azure-sdk-tools for PR 8959 (#5982)
* Disable sbom generation for forked PR builds

* Update publish-1es-artifact.yml

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-13 09:20:41 -07:00
Azure SDK Bot
f00f07dfe0
Require minimum stress addons version of 0.3.0 (#5981)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-12 16:55:13 -07:00
Wes Haggard
658c1f317b
Don't warn on folders that aren't actually packages (#5974) 2024-09-12 22:45:41 +00:00
Ben Broderick Phillips
ac63f2618e
Add auto-baseline main pipeline config for core (#5979) 2024-09-12 16:08:24 -04:00
Wes Haggard
62891eefd6
Update PublishCodeCoverateResults task (#5972) 2024-09-11 13:43:50 -07:00
Larry Osterman
5afc447ff7
Use new clang-18 based ApiView (#5970) 2024-09-11 12:32:28 -07:00
Wes Haggard
f127982f53
Ignore non ascii chars under eng (#5971) 2024-09-11 00:31:30 +00:00
Azure SDK Bot
cfcfac67f7
Sync eng/common directory with azure-sdk-tools for PR 8902 (#5965)
* Add descriptive error when variable groups are not added to pipeline

* Add emoji to deploy step title to make it easier to find

* Move yaml json checking into powershell script

* Fix base sub config empty/string checking

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-09-10 17:04:41 -04:00
Wes Haggard
5f90646d3e
Refactor prepare-pipelines.yml (#5964) 2024-09-09 15:23:43 -07:00
Azure SDK Bot
d77c11839a
Sync eng/common directory with azure-sdk-tools for PR 8929 (#5966)
* Refactor prepare-pipelines

* Convert pipeling generation single to use template

* Convert to pwsh for setting the variables

* Fix switch expression

* Add path separator in front of devopspath

* Continue on error for individual step failures

* Remove unnecessary parameters

---------

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-09-09 10:44:03 -07:00
Wes Haggard
10025fd2a2
Fix vcpkg cache (#5963) 2024-09-06 09:57:58 -07:00
Azure SDK Bot
01d0ac359f
update package lock to deal with the component governance alert (#5961)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-09-04 14:30:16 -07:00
Azure SDK Bot
aeb335d14f
Add support for aka.ms, github wiki and crates.io checking (#5957)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-09-03 15:53:26 -07:00
Azure SDK Bot
14e5fcd057
Avoid adding the same package twice, use TrimStart instead of substring (#5956)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-09-03 15:51:44 -07:00
Wes Haggard
e636fc5f3e
Remove unused variable group (old cpp cache key) (#5955) 2024-09-03 11:04:40 -07:00
Azure SDK Bot
5a4a4a1b20
add quotes to powershell args (#5953)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-30 14:53:24 -07:00
Wes Haggard
11a61fa980
Switch to User Delegate SAS for vcpkg caching (#5950) 2024-08-30 10:33:47 -07:00
Azure SDK Bot
7e9246794a
Sync eng/common directory with azure-sdk-tools for PR 8900 (#5951)
* Add save-package-properties yaml

* Encapsulate Save-Package-Properties.ps1 invocation into yaml

* Fix output formatting

* Fix code style

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-29 14:44:37 -07:00
Azure SDK Bot
ab68436d2c
Sync eng/common directory with azure-sdk-tools for PR 8878 (#5949)
* Apply a few changes to Get-PRPackageProperties to make it more customizable for our users. Remove wonky gap + extra spacing that should pass the patch application process now that we've manually aligned common.ps1

* account for feedback -- rename CanaryPackages to AdditionalValidationPackages

* dependentPackagesforInclusion -> additionalValidationPackages

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-28 18:11:21 -07:00
Wes Haggard
45cb4a5f87
Turn off warnings from sdl disablement (#5945)
See https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/sdlanalysis/disablingtools for info on this new flag.
2024-08-28 16:32:49 -07:00
Azure SDK Bot
c9d308d6d5
Sync eng/common directory with azure-sdk-tools for PR 8875 (#5941)
* chore(): add playwright-testing to product slugs

* Update eng/common/scripts/Test-SampleMetadata.ps1

---------

Co-authored-by: Siddharth Singha Roy <ssingharoy@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-08-28 03:19:20 +05:30
Azure SDK Bot
5c082753ac
Sync eng/common directory with azure-sdk-tools for PR 8865 (#5933)
* bump proxy version

* bump proxy version

* restore most of the old performance, only fall back to json matching when something goes wrong

* use newest version with protection from invalid json

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-08-25 11:36:13 -07:00
Azure SDK Bot
227ae0ea0b
Allow Save-package-properties to exit 0 when prs produce no package changes (#5936)
Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-08-23 17:15:24 -07:00
Azure SDK Bot
758460d618
Add FilePattern support for .github\workflow sync (#5919)
Given we cannot create subfolders under .github\workflow folder
and we have repos that want additional workflows then we have
in the tools repo we need to setup a file pattern matching for
the sync processing to only sync the ones we want to be common.

For now just use the existing *event* pattern but we can move them
to another pattern similar to *common* or *sync* in the future as
we add more common workflows.

Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2024-08-16 14:03:15 -07:00
Wes Haggard
244b4b5d51
Remove azure-sdk-docs-prod-blob-name usage (#5911) 2024-08-16 12:25:19 -07:00
Azure SDK Bot
6d77ab85dc
Sync eng/common directory with azure-sdk-tools for PR 8842 (#5912)
* Clean-up publish-blobs.yml to have better defaults

* Update copy-docs-to-blobstorage.ps1

* Update publish-blobs.yml

---------

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-08-15 10:45:52 -07:00