Commit Graph

785 Commits

Author SHA1 Message Date
Azure SDK Bot
b1efed36d5
MMS2022 -> windows-2022 (#4368) 2023-02-16 18:32:36 -08:00
Azure SDK Bot
0fc14a7464
Sync eng/common directory with azure-sdk-tools for PR 5103 (#4367)
* - improve $commandOutput processing - capitalization fixups + some naming refactoring - update ToolVersion to 1.0.0-dev.20230213.7 - fix param: --codeowners-file-path -> --codeowners-file-path-or-url; minor fixes - update Azure.Sdk.Tools.RetrieveCodeOwners package ver to 20230213.2 - document params + add TargetPath

* update ToolVersion to 1.0.0-dev.20230214.3

* Add diag output + tests

* replace sima-zhu with konrad-jamrozik

---------

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-02-16 13:40:53 -08:00
Azure SDK Bot
afaefd3d05
Sync eng/common directory with azure-sdk-tools for PR 5456 (#4362)
* Add parameter TimeoutInMinutes

* Update pools and images to latest

* Remove all usage of vmImage

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-15 00:47:08 -08:00
Azure SDK Bot
f8a1e7fc5c
remove obsolete tests (#4357)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-02-14 14:34:41 -08:00
Azure SDK Bot
466c82a361
Sync eng/common directory with azure-sdk-tools for PR 5427 (#4356)
Co-authored-by: archerzz <archerzz@gmail.com>
2023-02-14 10:54:18 +08:00
Azure SDK Bot
5e0159d8fa
Improve diagnostics for copy-docs-to-blobstorage script (#4351)
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
2023-02-13 11:01:48 -08:00
Mike Harder
fd1695ebba
[Perf] Refactor tests.yml into one file per package per language (#4270) 2023-02-09 21:18:03 -08:00
Azure SDK Bot
cf1490fe80
Sync eng/common directory with azure-sdk-tools for PR 5083 (#4348)
* Remove language from profile zip

* Revert "Remove language from profile zip"

This reverts commit 2f670435b25f89955338170a7bdfbe4432cbe23f.

* Remove Services parameter

* Fix path to tests-file

* Run both sync and async tests by default

* Add LanguageVersion to common perf.yml

---------

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-02-09 21:13:26 -08:00
George Arama
3762c59552
Test proxy start (#4295)
* lll

* sss

* oipio

* vcvc

* enable test proxy start at test suite start for KV and storage , example created for attestation, we cannot find the base definitions for the test suites,

* Contrib

* clangs

* clangs

* test logs

* pipeline

* more clangs

* pipeline

* clang

* try try again

* try try again

* try again

* try again

* again

* update paths , moved to macro , call macro in target code

* core

* capitalization
2023-02-07 10:52:20 -08:00
George Arama
cad042256b
proper regex for win 2022 (#4339) 2023-02-03 14:46:35 -08:00
Daniel Jurek
72f8721e26
Add credscan to GenerateReleaseArtifacts (#4328)
* Add credscan to GenerateReleaseArtifacts

* trigger pipelines

* try again

* tryyrt

* s

* revert changes that trigger pipelines

* remove empty lines

---------

Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com>
2023-02-02 13:28:11 -08:00
Azure SDK Bot
57072c8af3
Temporarily disable error handling for Get-AzKeyVault -InRemovedState (#4329)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-02-02 15:20:59 -05:00
Azure SDK Bot
1b2378be73
Enable nodepool update via bicep and update node SKUs (#4322)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-02-02 11:03:30 -08:00
Azure SDK Bot
f1a714585d
update target version to newest one that includes .NET body bugfix as well as renames the proxy back to azure.sdk.tools.testproxy (#4325)
Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-02-02 11:01:10 -08:00
Azure SDK Bot
eeaace3e51
Handle multi-line string concatenation with Write-Warning (#4321)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-02-01 20:44:41 -05:00
Azure SDK Bot
fbba3f9b60
Sync eng/common directory with azure-sdk-tools for PR 5291 (#4308)
* Move migration script to eng/common

* Remove localization from link

* Ignore the improper link

---------

Co-authored-by: Timo van Veenendaal <timov@microsoft.com>
2023-02-01 16:56:42 -08:00
Azure SDK Bot
b8ddcc616f
Consume cosmos emulator from install path on agent (#4316)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2023-01-31 21:33:57 -08:00
Azure SDK Bot
75e91ce668
Sync eng/common directory with azure-sdk-tools for PR 5272 (#4309)
* add documentation for cadl sync and generate

* move the file to doc/common and link to it from each script

* update links after file rename

---------

Co-authored-by: m-nash <prognash@gmail.com>
2023-01-31 14:44:23 -08:00
Azure SDK Bot
d6a2fedb88
Sync eng/common directory with azure-sdk-tools for PR 5231 (#4288)
* move scripts to common

* add reference to common script

* address feedback

* couple tweaks to relative path updates

* update copy paste issue with emitter path

* updates to make scripts more generic

---------

Co-authored-by: m-nash <prognash@gmail.com>
2023-01-30 12:43:04 -08:00
Azure SDK Bot
c88d0287e9
Sync eng/common directory with azure-sdk-tools for PR 5242 (#4294)
* Consolidate naming logic and generate short hash names for local use

* Shorten long lines

* Handle issues with EnvironmentVariable parameter ref being updated

* Warn on env variable overwrite. Base name generation off resource group

* Use SHA256 algorithm for short name hash

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-01-27 15:17:58 -05:00
Azure SDK Bot
a3e9ad1d2c
Sync eng/common directory with azure-sdk-tools for PR 5224 (#4274)
* feature/upload-proxy-artifact

* update template to ensure that having the file in use on windows doesn't break the build

* incoming PR fixes where test-proxy stores its log. as as result, we also need to update the location of where we read out the test-proxy log

Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
2023-01-26 16:47:47 -08:00
Ahson Khan
876a7baaa5
Add CI pipeline step and script that validates all files in the repo contain ASCII-only bytes and no UTF-8 BOM (#4134)
* Add CI pipeline step and script that validates all files in the repo contain ASCII-only bytes and no UTF-8 BOM

* Update platform-matrix.json to turn on CHECK_ASCII_CHARACTERS

* Fix missing comma in json.

* Update indentation in the ci.test.yml for the bash script

* Exclude the .github folder and test recording json files.

* Remove "recordings" exclusion since it doesn't exist anymore.

* Fixed UTF-8 with BOM and other non-ASCII character issues within the
files in the repo.

* Exclude nlohmann json tests from ASCII validation check.

* Log an intro to the CI console for the validation step.

* Remove codecoverage.cmake exclusion.

* Remove exclusion for docs and tools directories.
2023-01-25 17:33:26 -08:00
Azure SDK Bot
dd58487030
Handle service principal creation quota errors (#4261)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2023-01-24 16:19:05 -05:00
Ben Broderick Phillips
b8872e14dd
Remove CHECKENFORCER file (#4267) 2023-01-24 12:05:40 -05:00
Azure SDK Bot
ed2732dd80
ongoing (#4249)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-13 17:12:04 -08:00
Azure SDK Bot
90a4316ae5
Update on existing metadata json file. (#4247)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2023-01-13 12:41:51 -08:00
Azure SDK Bot
d0c2234be4
Fix Github to GitHub (#4243)
Co-authored-by: Sima Zhu <sizhu@microsoft.com>
2023-01-12 15:27:06 -08:00
Azure SDK Bot
42e91a5c91
fix paths + add diagnostic output on failure (#4231)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-09 19:14:15 -08:00
Azure SDK Bot
aec83d672b
update package versions (#4229)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-09 14:24:13 -08:00
Azure SDK Bot
df430901be
Adding test pipeline for common-tests (#4228) 2023-01-08 22:32:19 -08:00
Azure SDK Bot
f2201b1d8d
Hyperlink from eng/common job-matrix README to matrix_generator.md (#4227)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-07 04:35:16 -08:00
Azure SDK Bot
61649db9f3
Revert "Migrate eng/common (except job-matrix) to Ubuntu 22.04 (#5005)" for perf.yml (#4225)
This reverts commit 81c78afd563a32c224eb45b0cf864078d55b68eb.

Co-authored-by: Mike Harder <mharder@microsoft.com>
2023-01-05 12:52:09 -08:00
Azure SDK Bot
bf5e9bb757
Sync eng/common directory with azure-sdk-tools for PR 5027 (#4221)
* move things out from eng/common/scripts/job-matrix

* fix broken link for CI/CD verification

Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-04 22:05:53 -05:00
Azure SDK Bot
8f28aabe67
Migrate eng/common (except job-matrix) to Ubuntu 22.04 (#4218)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2023-01-03 22:12:02 -05:00
Daniel Jurek
8891d30f4e
Use Azure Pipelines and workaround for WSL installation (#4215)
* Use Azure Pipelines and workaround for WSL installation
2023-01-03 10:35:01 -08:00
Azure SDK Bot
fa6ebb26b7
Migrate from win2019 to win2022 (#4157) 2022-12-22 10:12:28 -08:00
Azure SDK Bot
b67b46b059
Sync eng/common directory with azure-sdk-tools for PR 4985 (#4209) 2022-12-21 09:42:17 -08:00
Ben Broderick Phillips
8747eacbc5
Update prepare-pipelines flags (#4207) 2022-12-20 16:07:54 -05:00
Azure SDK Bot
c2e6607f0b
Sync eng/common directory with azure-sdk-tools for PR 4880 (#4203) 2022-12-20 11:15:36 -08:00
Azure SDK Bot
122eb3cfb1
Sync eng/common directory with azure-sdk-tools for PR 4998 (#4205)
* Update pipeline generation yaml

* Bump pipeline generator to 20221220.1

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-12-20 12:59:03 -05:00
Azure SDK Bot
37f197c383
Sync eng/common directory with azure-sdk-tools for PR 4988 (#4202)
Mirror of https://github.com/Azure/azure-sdk-tools/pull/4988
2022-12-20 00:16:22 +00:00
Azure SDK Bot
ffbafa165e
Add load-testing to list of valid sample slugs (#4192)
Co-authored-by: Harshan B <Harshan01@gmail.com>
2022-12-16 14:39:01 -05:00
Azure SDK Bot
c73ad854c2
Sync eng/common directory with azure-sdk-tools for PR 4962 (#4193)
* prepare pipeline job bug fix

* Update eng/common/pipelines/templates/jobs/prepare-pipelines.yml

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

* Update eng/common/pipelines/templates/jobs/prepare-pipelines.yml

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
Co-authored-by: Albert Cheng <38804567+ckairen@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-12-15 13:19:31 -08:00
Azure SDK Bot
ceeda9c7b4
Update the regex to embrace more image names (#4190)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
2022-12-15 11:31:59 -08:00
Azure SDK Bot
111776e6af
Sync eng/common directory with azure-sdk-tools for PR 4944 (#4191)
* Helm template for deploy script

* Update eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>

* fixing helm upgrade command

Co-authored-by: Albert Cheng <albertcheng@microsoft.com>
Co-authored-by: Albert Cheng <38804567+ckairen@users.noreply.github.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2022-12-14 12:48:57 -08:00
Konrad Jamrozik
db6f71fbbb
Update prepare-pipelines.yml (#4187) 2022-12-13 22:42:00 -08:00
George Arama
7a39344c3b
exclude template from test proxy (#4189)
* exclude template from test proxy

* exclute testproxy log also
2022-12-13 18:57:59 -08:00
George Arama
ef4d41267f
Test proxy (#4118)
* start

* recording

* playback

* refactor, playback and record

* recordings for kv

* klklk

* open telemetry, identity

* attest

* all tests recorded except storage

* STORAGE RECORDINGDS

* some cleanup

* ignore result

* testproxy remade

* fiiine , do something with the result , goooosh

* install test proxy

* clang

* clang

* certs maybe

* cmake generate fix,

* start test proxy script

* start test proxy on env

* clang, move TP after build

* reregen

* certs

* sda

* dss

* allow insecure connections

* put back

* debug

* iuy

* try again

* ewew

* chmod

* try again

* update sanitizer

* output testproxy log

* sjhgasjgdajh

* folder

* worxy

* fix tests and log file

* format files

* clang format

* clang

* sa

* sa

* cleanup

* cspell

* oops

* remove redundant method

* tests

* put back original

* restore to 933486385a

* recordings

* remove storage values

* storage recordings

* disable non functioning tests

* remove core install of test proxy

* _LIVEONLY_ tests

* clang install when needed

* logs on condition

* skip tests

* revert cpp to original version

* quick test

* right that one

* one skip

* identity pushed

* maybe

* override

* clang

* clang

* attestetion

* keyvault

* reenable 20+ tests

* 5 tests left , lease related

* a bit of cleanup

* try now

* snitizers

* some fixes

* capitalization

* clang , cover, peakA

* WEIRD NAME THING ON WINDOWS

* storage recordings

* one more livee

* createappenddelete_liveonly

* CreateWithTags_LIVEONLY_

* try capitalization

* another onw

* maybe now

* all liveonly

* try restore before test

* typo

* condition

* clang and cc

* azure core ci

* qwqwq

* dsasdas

* cleanup1

* typo

* spaces

* cleanup2

* cleanup 3

* remove start proxy

* cleanup +1

* Update cmake-modules/TestProxyPrep.cmake

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Update eng/scripts/Start-TestProxy.ps1

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* Update eng/scripts/Stop-TestProxy.ps1

Co-authored-by: Rick Winter <rick.winter@microsoft.com>

* PR comments

* clangs

* Update sdk/core/azure-core-test/src/test_proxy_policy.cpp

* build

Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2022-12-13 10:58:19 -08:00
Azure SDK Bot
066db23d4d
Sync eng/common directory with azure-sdk-tools repository (#4186) 2022-12-12 22:01:05 -08:00
Azure SDK Bot
7a729bed81
introduce job version of "prepare-pipelines.yml" (#4185)
Co-authored-by: Konrad Jamrozik <kojamroz@microsoft.com>
2022-12-12 15:46:55 -08:00