Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit b2bdfe6
Author: Travis Prescott <tjprescott@users.noreply.github.com>
Date:   Fri Sep 10 11:48:44 2021 -0700

    [Search] Regenerate with latest autorest (#20597)

    * Regenerate with latest autorest.

    * Bump azure.core dependency to resolve CI issues.

commit 53ea0c0
Author: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com>
Date:   Fri Sep 10 16:30:02 2021 +0800

    Add auto-close and auto-run-pipline (#20516)

    * release_iseus_status_auto_reply

    * issue_aoto_close_revert

    * Update main.py

    * Update main.py

    * Update update_issue_body.py

    * Update reply_generator.py

    * Update reply_generator.py

    * Update update_issue_body.py

    * Update main.py

    * Update update_issue_body.py

    * Update update_issue_body.py

    * Update main.py

    * Update reply_generator.py

    * Update main.py

    * Update update_issue_body.py

    * Update main.py

    * Update scripts/release_issue_status/update_issue_body.py

    * Update update_issue_body.py

    * Update main.py

    * Update reply_generator.py

    * Update update_issue_body.py

    * Update main.py

    * Update scripts/release_issue_status/main.py

    * Update main.py

    * Update scripts/release_issue_status/main.py

    * Update scripts/release_issue_status/main.py

    * Update scripts/release_issue_status/main.py

    * Update scripts/release_issue_status/update_issue_body.py

    * Update scripts/release_issue_status/main.py

    * Update scripts/release_issue_status/update_issue_body.py

    * Update reply_generator.py

    * Update main.py

    * Update scripts/release_issue_status/update_issue_body.py

    Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>

    * Update scripts/release_issue_status/update_issue_body.py

    Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>

    * Update reply_generator.py

    * Update update_issue_body.py

    * Update main.py

    * Update main.py

    * Update update_issue_body.py

    * Update main.py

    * Update scripts/release_issue_status/main.py

    * Update main.py

    * Update reply_generator.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update main.py

    * Update update_issue_body.py

    * Update main.py

    * Update update_issue_body.py

    * Update reply_generator.py

    * Update update_issue_body.py

    * Update main.py

    * Update update_issue_body.py

    * Update update_issue_body.py

    * Update update_issue_body.py

    * Update update_issue_body.py

    * Update update_issue_body.py

    * Update main.py

    * Update main.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update main.py

    * Update reply_generator.py

    * Add files via upload

    * Update reply_generator.py

    * Update update_issue_body.py

    * Update reply_generator.py

    * Update auto_pipeline_run.py

    * Update auto_pipeline_run.py

    * add auto-close

    * Update release_issue_status.yml for Azure Pipelines

    * Update auto_close.py

    * Update main.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update auto_pipeline_run.py

    * fix bug

    * Update main.py

    * Update auto_close.py

    * Update auto_close.py

    * Update main.py

    * Update reply_generator.py

    * Update main.py

    * Update main.py

    * Update auto_close.py

    * Update main.py

    * Update auto-close

    * Update auto_pipeline_run.py

    * Update update_issue_body.py

    * Update auto_pipeline_run.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update auto_pipeline_run.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update auto_pipeline_run.py

    * Update auto_pipeline_run.py

    * Add pipeline link

    * Update pipeline link

    * Update auto_pipeline_run.py

    * Update release_issue_status.yml for Azure Pipelines

    * Update auto_pipeline_run.py

    * Update requirement.txt

    * Update auto_pipeline_run.py

    * Add get_python_pipeline

    * Update auto_pipeline_run.py

    * test

    * test

    * add outputfolder

    * add label

    * Update main.py

    * Update get_python_pipeline.py

    * Update main.py

    * Update auto_pipeline_run.py

    Co-authored-by: Zed <601306339@qq.com>
    Co-authored-by: Zed Lei <59104634+RAY-316@users.noreply.github.com>
    Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>

commit acfb309
Author: Azure CLI Bot <azclibot@microsoft.com>
Date:   Fri Sep 10 11:28:30 2021 +0800

    [AutoRelease] t2-containerservice-2021-09-09-17236 (#20614)

    * CodeGen from PR 15954 in Azure/azure-rest-api-specs
    Merge Dev-containerservice-microsoft.containerservice-2021-08-01 branch to main (#15954)

    * Adds base for updating Microsoft.ContainerService from version stable/2021-07-01 to version 2021-08-01

    * Updates readme

    * Updates API version in new specs and examples

    * add publicNetworkAccess property per network platform's request (#15489)

    * add publicNetworkAccess per network platform's request

    * fix quota

    Co-authored-by: Li Ma <lima2@microsoft.com>

    * update readme for 2021-08-01 sdk generation (#15476)

    * update readme for sdk generation

    * update readme for sdk generation

    Co-authored-by: Charlie Li <charlili@microsoft.com>

    * allow disabling of runcommand (#15481)

    * allow disabling of runcommand

    * rename file

    * another rename

    * fix prittier check

    * fix stupid prettier check

    * change publicNetworkAccess to enum (#15564)

    Co-authored-by: Li Ma <lima2@microsoft.com>

    * Add CreationData property to Agentpool level in 2021-08-01 API (#15563)

    * Add CreationData property to Agentpool level in 2021-08-01 API

    * fix json format

    * fix swagger spell check

    Co-authored-by: Charlie Li <charlili@microsoft.com>

    * chore: add enableMultipleStandardLoadBalancers to loadBalancerProfile (#15579)

    * Add snapshot related new APIs and properties to AKS 2021-08-01 swagger (#15586)

    * Add CreationData property to Agentpool level in 2021-08-01 API

    * Add snapshot related APIs and properties to AKS 2021-08-01 swagger

    * fix lint and spell checks

    * fix lint and spell checks

    * fix PrettierCheck

    * Change some Nodepool to NodePool

    * some changes according to ARM team's review comments

    Co-authored-by: Charlie Li <charlili@microsoft.com>

    * fix tag typo to match tag convention (#15683)

    * add workload runtime to agent pool api (#15726)

    * add workload runtime to agent pool api

    * reference example

    * add custom words

    * fix: workload runtime description (#15782)

    * fix: workload runtime description

    * add wasmtime to custom words

    * clarify single workload type per node

    Co-authored-by: Matthew Christopher <matthchr@microsoft.com>

    Co-authored-by: Matthew Christopher <matthchr@microsoft.com>

    * fix typo in readme.python.md (#15903)

    * Add CreationData property to Agentpool level in 2021-08-01 API

    * fix typos in readme.python.md

    Co-authored-by: Charlie Li <charlili@microsoft.com>

    * merge recent custom-words.txt changes from main branch to resolve conflicts (#15938)

    * Add CreationData property to Agentpool level in 2021-08-01 API

    * merge recent custom-words.txt changes from main branch to resolve conflicts

    Co-authored-by: Charlie Li <charlili@microsoft.com>

    * pull custom-words.txt from main

    * add a new word - NodePool

    * add two more words

    Co-authored-by: Super <mali_no2@hotmail.com>
    Co-authored-by: Li Ma <lima2@microsoft.com>
    Co-authored-by: Charlie Li <charlili@microsoft.com>
    Co-authored-by: Haitao Chen <haitch@users.noreply.github.com>
    Co-authored-by: Qi Ni <pomelonicky@gmail.com>
    Co-authored-by: Ariel Silverman <asilverman@users.noreply.github.com>
    Co-authored-by: Ace Eldeib <alexeldeib@gmail.com>
    Co-authored-by: Matthew Christopher <matthchr@microsoft.com>

    * version,CHANGELOG

    Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
    Co-authored-by: Super <mali_no2@hotmail.com>
    Co-authored-by: Li Ma <lima2@microsoft.com>
    Co-authored-by: Charlie Li <charlili@microsoft.com>
    Co-authored-by: Haitao Chen <haitch@users.noreply.github.com>
    Co-authored-by: Qi Ni <pomelonicky@gmail.com>
    Co-authored-by: Ariel Silverman <asilverman@users.noreply.github.com>
    Co-authored-by: Ace Eldeib <alexeldeib@gmail.com>
    Co-authored-by: Matthew Christopher <matthchr@microsoft.com>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

commit 05aec3d
Author: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
Date:   Thu Sep 9 18:41:31 2021 -0700

    Redact account keys in recordings (#20537)

commit 6a9cb86
Author: Xiang Yan <xiangsjtu@gmail.com>
Date:   Thu Sep 9 18:30:08 2021 -0700

    Update to latest swagger (#20642)

commit cd459a7
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Thu Sep 9 17:21:31 2021 -0700

    Increment version for keyvault releases (#20638)

    Increment package version after release of azure-keyvault-administration

commit bd89c09
Author: luc <44377201+LuChen-Microsoft@users.noreply.github.com>
Date:   Thu Sep 9 17:09:01 2021 -0700

    Update Communication Chat Swagger & Tests Record (#20578)

    * update swagger
    * update changelog

commit 71871eb
Author: Rakshith Bhyravabhotla <sabhyrav@microsoft.com>
Date:   Thu Sep 9 15:41:35 2021 -0700

    Update CHANGELOG.md (#20631)

commit 28bb632
Author: swathipil <76007337+swathipil@users.noreply.github.com>
Date:   Thu Sep 9 15:35:48 2021 -0700

    [SchemaRegistry] update Avro version + changelog (#20624)

    fixes: #20606

commit 3d29229
Author: Leighton Chen <lechen@microsoft.com>
Date:   Thu Sep 9 15:06:15 2021 -0700

    rpc (#20563)

commit 5c1cf92
Author: Rakshith Bhyravabhotla <sabhyrav@microsoft.com>
Date:   Thu Sep 9 14:32:22 2021 -0700

    Prepare for release (#20627)

commit 43a17d2
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Thu Sep 9 14:01:18 2021 -0700

    Install az module if not installed in deploy-stress-tests.ps1 (#20605)

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

commit 6d34b90
Author: Yalin Li <yall@microsoft.com>
Date:   Thu Sep 9 13:36:32 2021 -0700

    Address incorrect links in README.md (#20626)

commit 0c0b975
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Thu Sep 9 13:34:52 2021 -0700

    Increment version for keyvault releases (#20625)

    Increment package version after release of azure-keyvault-keys

commit 0e5e53d
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Thu Sep 9 11:03:54 2021 -0700

    Explicitly exit 0 so a failed inner command (like mvn) doesn't propagate up to a failure of the pipeline (#20609)

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

commit 476acd5
Author: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
Date:   Thu Sep 9 11:02:40 2021 -0700

    [Identity] Resolve CredScan warnings (#20543)

commit 853db90
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Thu Sep 9 10:59:29 2021 -0700

    Increment version for identity releases (#20620)

    Increment package version after release of azure-identity

commit 92a676d
Author: Xiang Yan <xiangsjtu@gmail.com>
Date:   Thu Sep 9 09:15:26 2021 -0700

    update changelog (#20619)

commit 7373db2
Author: Yalin Li <yall@microsoft.com>
Date:   Wed Sep 8 18:49:45 2021 -0700

    Run mypy in azure-keyvault-keys CI (#20545)

commit 51f09fa
Author: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>
Date:   Wed Sep 8 18:21:08 2021 -0700

    [Key Vault] Update changelogs for release (#20607)

commit bad587d
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Wed Sep 8 17:28:20 2021 -0700

    Sync eng/common directory with azure-sdk-tools repository (#20604)

commit 1f2218a
Author: swathipil <76007337+swathipil@users.noreply.github.com>
Date:   Wed Sep 8 17:13:33 2021 -0700

    [SchemaRegistry] update API for consistency (#20538)

    * changes

    * updated failing tests

    * keep Dict for now

    * pylint errors

    * nit

    * add recordings

    * tests recordings

commit 40c9060
Author: Xiang Yan <xiangsjtu@gmail.com>
Date:   Wed Sep 8 16:01:33 2021 -0700

    update release date (#20601)

commit c11e835
Author: Xiang Yan <xiangsjtu@gmail.com>
Date:   Wed Sep 8 15:29:40 2021 -0700

    add interactive_browser_client_id (#20591)

    * add interactive_browser_client_id

    * Update sdk/identity/azure-identity/azure/identity/_credentials/default.py

    Co-authored-by: Charles Lowell <chlowe@microsoft.com>

    * Update sdk/identity/azure-identity/azure/identity/_credentials/default.py

    Co-authored-by: Charles Lowell <chlowe@microsoft.com>

    * update

    * update

    * update

    * update

    * update

    * Update sdk/identity/azure-identity/azure/identity/_credentials/default.py

    Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>

    * update

    Co-authored-by: Charles Lowell <chlowe@microsoft.com>
    Co-authored-by: McCoy Patiño <39780829+mccoyp@users.noreply.github.com>

commit aa44b02
Author: Yalin Li <yall@microsoft.com>
Date:   Wed Sep 8 15:17:39 2021 -0700

    Run mypy in azure-keyvault-secrets CI (#20507)

commit 0af2ce5
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Wed Sep 8 13:00:40 2021 -0700

    Add Skip.SetTestPipelineVersion to allow overidiing of use of BuildID for test version (#20589)

    Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>

commit 50ff989
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Wed Sep 8 12:57:35 2021 -0700

    Increment package version after release of azure-ai-translation-document (#20596)

commit 8be2477
Author: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com>
Date:   Wed Sep 8 12:24:05 2021 -0700

    [STG78]Address comments (#20539)

commit e089b1b
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Wed Sep 8 12:17:32 2021 -0700

    Increment version for search releases (#20586)

    Increment package version after release of azure-search-documents

commit c0d33d7
Author: annatisch <antisch@microsoft.com>
Date:   Wed Sep 8 12:11:49 2021 -0700

    Release notes (#20587)

commit 1795106
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Wed Sep 8 11:42:36 2021 -0700

    Increment version for servicebus releases (#20593)

    Increment package version after release of azure-servicebus

commit 82c7e67
Author: Krista Pratico <krpratic@microsoft.com>
Date:   Wed Sep 8 10:11:08 2021 -0700

    update changelog + some edits (#20588)

commit c458c42
Author: Rodrigo Souza <rosouz@microsoft.com>
Date:   Wed Sep 8 09:57:51 2021 -0700

    Update README.md (#20574)

    * Update README.md

    * Update README.md

    * Update README.md

commit dcbd6d9
Author: Charles Lowell <chlowe@microsoft.com>
Date:   Wed Sep 8 08:48:03 2021 -0700

    Allow overriding client_id for token exchange (#20571)

commit 6ccb4ad
Author: iscai-msft <43154838+iscai-msft@users.noreply.github.com>
Date:   Wed Sep 8 11:25:45 2021 -0400

    [rest] correctly pickle rest aiohttp responses (#20577)

commit 84bd0e9
Author: Azure CLI Bot <azclibot@microsoft.com>
Date:   Wed Sep 8 13:55:53 2021 +0800

    [AutoRelease] t2-web-2021-09-08-84447 (#20583)

    * CodeGen from PR 15283 in Azure/azure-rest-api-specs
    Fix WebApps.json for App Service Auth (#15283)

    * changes

    * revert some changes

    * fix 1-01

    * done

    * Update readme.md

    * update 02-01

    * version,CHANGELOG

    Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
    Co-authored-by: PythonSdkPipelines <PythonSdkPipelines>

commit 60b4e77
Author: Jiefeng Chen <51037443+BigCat20196@users.noreply.github.com>
Date:   Wed Sep 8 09:53:06 2021 +0800

    Update auto-release (#20582)

    * version auto-calculation rule

    * single api version rule

    * Update main.py

    * additional rule for track1

    * when changelog is null

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    Add `ISSUE_LINK`

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update livetest_package.txt

    * Create create_pr.py

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    use python script tu create pr

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * create py

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update token

    * Update token

    * test create_pr

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update create_pr.py

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * add_comment

    * update by jf

    * Update PythonSdkLiveTest.yml

    * Update create_auto_release_pr

    * Update create_auto_release_pr.py

    * Update create_auto_release_pr.py

    * Update yaml and py

    * Update create_auto_release_pr.py

    * Update create_auto_release_pr.py

    * Update create_auto_release_pr.py

    * Update PythonSdkLiveTest.yml

    * Update create_auto_release_pr.py

    * Update PythonSdkLiveTest.yml

    * Update PythonSdkLiveTest.yml for Azure Pipelines

    * Update create_auto_release_pr.py

    Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>

commit 63d21c5
Author: Yalin Li <yall@microsoft.com>
Date:   Tue Sep 7 18:09:20 2021 -0700

    Run mypy in azure-keyvault-certificates CI (#20525)

commit 10979de
Author: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date:   Tue Sep 7 16:07:07 2021 -0700

    updating proxy to use latest version (#20579)

    Co-authored-by: seankane-msft <seankane@microsoft.com>

commit 8568a83
Author: ckairen <38804567+ckairen@users.noreply.github.com>
Date:   Tue Sep 7 13:38:57 2021 -0700

    Smoke test package verification (#20547)

    * Checking for package

    * Update eng/pipelines/templates/jobs/smoke.tests.yml

    Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

    Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

commit 2a3875f
Author: Yalin Li <yall@microsoft.com>
Date:   Tue Sep 7 11:45:45 2021 -0700

    Update CHANGELOG.md (#20569)

commit 243d884
Author: Sean Kane <68240067+seankane-msft@users.noreply.github.com>
Date:   Tue Sep 7 14:33:02 2021 -0400

    updating codeowners (#20570)

    * updating codeowners

    * adding yalin to codeowners for appconfig
  • Loading branch information
zihzhan-msft committed Sep 10, 2021
1 parent d0d2778 commit 1def71b
Show file tree
Hide file tree
Showing 337 changed files with 174,312 additions and 15,021 deletions.
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/sdk/storage/ @amishra-dev @zezha-msft @annatisch @xiafu-msft @tasherif-msft @kasobol-msft

# PRLabel: %App Configuration
/sdk/appconfiguration/ @xiangyan99 @seankane-msft
/sdk/appconfiguration/ @xiangyan99 @YalinLi0312

/sdk/applicationinsights/azure-applicationinsights/ @divyajay @geneh @alongafni
/sdk/loganalytics/azure-loganalytics/ @divyajay @geneh @alongafni
Expand Down Expand Up @@ -125,7 +125,7 @@
/sdk/media/ @naiteeks @bennage @giakas

# PRLabel: %Container Registry
/sdk/containerregistry/ @seankane-msft
/sdk/containerregistry/ @YalinLi0312

# Smoke Tests
/common/smoketest/ @lmazuel @chlowell @annatisch @rakshith91 @shurd @southpolesteve
Expand Down
3 changes: 2 additions & 1 deletion eng/CredScanSuppression.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@
"eng/common/testproxy/dotnet-devcert.pfx",
"sdk/confidentialledger/azure-confidentialledger/tests/_shared/constants.py",
"sdk/keyvault/azure-keyvault-certificates/tests/ca.key",
"sdk/identity/azure-identity/tests/ec-certificate.pem",
"sdk/identity/azure-identity/tests/certificate.pfx",
"sdk/identity/azure-identity/tests/certificate-with-password.pfx",
"sdk/identity/azure-identity/tests/credscan_ignore.py",
"sdk/identity/azure-identity/tests/ec-certificate.pem",
"sdk/core/azure-servicemanagement-legacy/tests/legacy_mgmt_settings_fake.py",
"sdk/storage/azure-storage-blob/tests/fake_credentials.py",
"sdk/storage/azure-storage-file-datalake/tests/fake_credentials.py",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=GA_CAMPAIGN_ID"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'GA_CAMPAIGN_ID');
gtag('config', 'GA_CAMPAIGN_ID');
</script>
</head>
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ parameters:
TestPipeline: false

steps:
- ${{if eq(parameters.TestPipeline, 'true')}}:
- ${{ if eq(parameters.TestPipeline, 'true') }}:
- task: PowerShell@2
displayName: Prep template pipeline for release
condition: succeeded()
condition: and(succeeded(), ne(variables['Skip.SetTestPipelineVersion'], 'true'))
inputs:
pwsh: true
workingDirectory: $(Build.SourcesDirectory)
Expand Down
4 changes: 4 additions & 0 deletions eng/common/scripts/Update-DocsMsPackages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,7 @@ if ($UpdateDocsMsPackagesFn -and (Test-Path "Function:$UpdateDocsMsPackagesFn"))
See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure"
exit 1
}

# Exit 0 so DevOps doesn't fail the build when the last command called by the
# domain-specific function exited with a non-zero exit code.
exit 0
1 change: 1 addition & 0 deletions eng/common/scripts/stress-testing/deploy-stress-tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ $FailedCommands = New-Object Collections.Generic.List[hashtable]

. (Join-Path $PSScriptRoot "../Helpers" PSModule-Helpers.ps1)
Install-ModuleIfNotInstalled "powershell-yaml" "0.4.1" | Import-Module
Install-ModuleIfNotInstalled "az" "6.4.0" | Import-Module

# Powershell does not (at time of writing) treat exit codes from external binaries
# as cause for stopping execution, so do this via a wrapper function.
Expand Down
4 changes: 2 additions & 2 deletions eng/common/testproxy/docker-start-proxy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ catch {
Write-Error "Please check your docker invocation and try running the script again."
}

$SELECTED_IMAGE_TAG = "1037115"
$SELECTED_IMAGE_TAG = "1084681"
$CONTAINER_NAME = "ambitious_azsdk_test_proxy"
$LINUX_IMAGE_SOURCE = "azsdkengsys.azurecr.io/engsys/testproxy-lin:${SELECTED_IMAGE_TAG}"
$WINDOWS_IMAGE_SOURCE = "azsdkengsys.azurecr.io/engsys/testproxy-win:${SELECTED_IMAGE_TAG}"
Expand All @@ -42,7 +42,7 @@ $SelectedImage = $LINUX_IMAGE_SOURCE
$Initial = ""

# most of the time, running this script on a windows machine will work just fine, as docker defaults to linux containers
# however, in CI, windows images default to _windows_ containers. We cannot swap them. We can tell if we're in a CI build by
# however, in CI, windows images default to _windows_ containers. We cannot swap them. We can tell if we're in a CI build by
# checking for the environment variable TF_BUILD.
if ($IsWindows -and $env:TF_BUILD){
$SelectedImage = $WINDOWS_IMAGE_SOURCE
Expand Down
4 changes: 4 additions & 0 deletions eng/pipelines/templates/jobs/smoke.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ jobs:
return @{ "name" = $matches[1]; "version" = $matches[2] }
}
}
if ($artifacts.name -notcontains "${{parameters.Artifact.name}}") {
Write-Host "Can't find package ${{parameters.Artifact.name}}"
exit 1
}
$dependencies = Get-Content $(requirements) | ForEach-Object {
$line = $_
if ($line -match "([a-zA-Z\-]+)(\W+)(.*)") {
Expand Down
3 changes: 3 additions & 0 deletions eng/tox/mypy_hard_failure_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"azure-eventhub",
"azure-identity",
"azure-keyvault-administration",
"azure-keyvault-certificates",
"azure-keyvault-keys",
"azure-keyvault-secrets",
"azure-servicebus",
"azure-ai-textanalytics",
"azure-ai-formrecognizer",
Expand Down
1 change: 1 addition & 0 deletions scripts/auto_release/PythonSdkLiveTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
export NEW_BRANCH=`sed -n '1p' $output_path/output.txt`
export TARGET_BRANCH=`sed -n '2p' $output_path/output.txt`
export ISSUE_LINK=$(ISSUE_LINK)
export PIPELINE_LINK=$(PIPELINE_LINK)
export USR_NAME=$(USR_NAME)
export USR_TOKEN=$(USR_TOKEN)
export TEST_RESULT=$test_result
Expand Down
2 changes: 1 addition & 1 deletion scripts/auto_release/create_auto_release_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def main():
pr_title = "[AutoRelease] {}(Do not merge)".format(os.getenv('NEW_BRANCH'))
pr_head = "{}:{}".format(os.getenv('USR_NAME'), os.getenv('NEW_BRANCH'))
pr_base = os.getenv('TARGET_BRANCH')
pr_body = "{} \n{}".format(os.getenv('ISSUE_LINK'), os.getenv('TEST_RESULT'))
pr_body = "{} \n{} \n{}".format(os.getenv('ISSUE_LINK'), os.getenv('TEST_RESULT'), os.getenv('PIPELINE_LINK'))
res_create = api.pulls.create(pr_title, pr_head, pr_base, pr_body)
pr_number = res_create.number

Expand Down
36 changes: 36 additions & 0 deletions scripts/release_issue_status/auto_close.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import datetime

import requests
from bs4 import BeautifulSoup


def auto_close_issue(sdk_repo, item):
issue_number, package_name = item.issue_object.number, item.package
issue_info = sdk_repo.get_issue(number=issue_number)
issue_author = issue_info.user.login
last_comment = list(issue_info.get_comments())[-1]
last_comment_date = last_comment.created_at
last_version, last_time = get_last_released_date(package_name)
if last_time and last_time > last_comment_date:
comment = f'Hi @{issue_author}, pypi link: https://pypi.org/project/{package_name}/{last_version}/'
issue_info.create_comment(body=comment)
issue_info.edit(state='closed')
item.labels.append('auto-closed')
item.issue_object.set_labels(*item.labels)
print(f"issue number:{issue_number} has been closed!")


def get_last_released_date(package_name):
pypi_link = f'https://pypi.org/project/{package_name}/#history'
res = requests.get(pypi_link)
soup = BeautifulSoup(res.text, 'html.parser')
# find top div from <div class="release-timeline">
try:
package_info = soup.select('div[class="release-timeline"]')[0].find_all('div')[0]
last_version_mix = package_info.find_all('p', class_="release__version")[0].contents[0]
except IndexError as e:
return '', ''
last_version = last_version_mix.replace(' ', '').replace('\n', '')
last_version_date_str = package_info.time.attrs['datetime'].split('+')[0]
last_version_date = datetime.datetime.strptime(last_version_date_str, '%Y-%m-%dT%H:%M:%S')
return last_version, last_version_date
47 changes: 47 additions & 0 deletions scripts/release_issue_status/auto_pipeline_run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import json
import os
import re
from msrest.authentication import BasicAuthentication
from azure.devops.v6_0.pipelines.pipelines_client import PipelinesClient
from azure.devops.v6_0.pipelines import models
import requests


def run_pipeline(issue_link, sdk_issue_object, pipeline_url):
paramaters = {
"stages_to_skip": [],
"resources": {
"repositories": {
"self": {
"refName": "refs/heads/main"
}
}
},
"variables": {
"BASE_BRANCH": {
"value": f"{sdk_issue_object.head.label}",
"isSecret": False
},
"ISSUE_LINK": {
"value": f"{issue_link}",
"isSecret": False
},
"PIPELINE_LINK": {
"value": f"{pipeline_url}",
"isSecret": False
}
}
}
# Fill in with your personal access token and org URL
personal_access_token = os.getenv('PIPELINE_TOKEN')
organization_url = 'https://dev.azure.com/azure-sdk'

# Create a connection to the org
credentials = BasicAuthentication('', personal_access_token)
run_parameters = models.RunPipelineParameters(**paramaters)
client = PipelinesClient(base_url=organization_url, creds=credentials)
result = client.run_pipeline(project='internal',pipeline_id=2500,run_parameters=run_parameters)
if result.state == 'inProgress':
return True
else:
return False
27 changes: 27 additions & 0 deletions scripts/release_issue_status/get_python_pipeline.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import os
import re

from msrest.authentication import BasicAuthentication
from azure.devops.v6_0.pipelines.pipelines_client import PipelinesClient


def get_python_pipelines():
python_piplines = {}
pipeline_client = PipelinesClient(base_url='https://dev.azure.com/azure-sdk',
creds=BasicAuthentication('', os.getenv('PIPELINE_TOKEN')))
pipelines = pipeline_client.list_pipelines(project='internal')
for pipeline in pipelines:
if re.findall('^python - \w*$', pipeline.name):
key = pipeline.name.replace('python - ', '')
python_piplines[key] = pipeline.id
return python_piplines


def get_pipeline_url(python_piplines, output_folder):
definitionId = python_piplines.get(output_folder)
if definitionId:
pipeline_url = 'https://dev.azure.com/azure-sdk/internal/_build?definitionId={}'.format(definitionId)
else:
print('Cannot find definitionId, Do not display pipeline_url')
pipeline_url = ''
return pipeline_url
62 changes: 43 additions & 19 deletions scripts/release_issue_status/main.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
import time
import os
import re
from github import Github
from datetime import date, datetime
import subprocess as sp
import traceback

from github import Github
from azure.storage.blob import BlobClient

import reply_generator as rg
from update_issue_body import update_issue_body, find_readme_link
import traceback
from update_issue_body import update_issue_body, find_readme_and_output_folder
from auto_close import auto_close_issue
from get_python_pipeline import get_python_pipelines, get_pipeline_url


_NULL = ' '
_FILE_OUT = 'release_issue_status.csv'
Expand Down Expand Up @@ -121,32 +126,41 @@ def _latest_comment_time(comments, delay_from_create_date):
return delay_from_create_date if not q else int((time.time() - q[-1][0]) / 3600 / 24)


def auto_reply(item, sdk_repo, rest_repo, duplicated_issue):
def auto_reply(item, request_repo, rest_repo, sdk_repo, duplicated_issue, python_piplines):
print("==========new issue number: {}".format(item.issue_object.number))
if 'Configured' in item.labels:
item.labels.remove('Configured')

if 'auto-link' not in item.labels:
item.labels.append('auto-link')
item.issue_object.set_labels(*item.labels)
try:
package_name, readme_link = update_issue_body(sdk_repo, rest_repo, item.issue_object.number)
package_name, readme_link, output_folder = update_issue_body(request_repo, rest_repo, item.issue_object.number)
print("pkname, readme", package_name, readme_link)
item.package = package_name
key = ('Python', item.package)
duplicated_issue[key] = duplicated_issue.get(key, 0) + 1
except Exception as e:
item.bot_advice = 'failed to modify the body of the new issue. Please modify manually'
item.labels.append('attention')
item.issue_object.set_labels(*item.labels)
print(e)
raise
item.labels.append('auto-link')
item.issue_object.set_labels(*item.labels)
else:
try:
readme_link = find_readme_link(sdk_repo, item.issue_object.number)
readme_link, output_folder = find_readme_and_output_folder(request_repo, rest_repo, item.issue_object.number)
except Exception as e:
print('Issue: {} updates body failed'.format(item.issue_object.number))
item.bot_advice = 'failed to find Readme link, Please check !!'
item.labels.append('attention')
item.issue_object.set_labels(*item.labels)
raise
try:
reply = rg.begin_reply_generate(item=item, rest_repo=rest_repo, readme_link=readme_link)
print("*********************")
print(python_piplines)
pipeline_url = get_pipeline_url(python_piplines, output_folder)
rg.begin_reply_generate(item=item, rest_repo=rest_repo, readme_link=readme_link,
sdk_repo=sdk_repo, pipeline_url=pipeline_url)
except Exception as e:
item.bot_advice = 'auto reply failed, Please intervene manually !!'
print('Error from auto reply ========================')
Expand All @@ -158,14 +172,18 @@ def auto_reply(item, sdk_repo, rest_repo, duplicated_issue):
def main():
# get latest issue status
g = Github(os.getenv('TOKEN')) # please fill user_token
sdk_repo = g.get_repo('Azure/sdk-release-request')
rest_repo = g.get_repo('Azure/azure-rest-api-specs')
label1 = sdk_repo.get_label('ManagementPlane')
open_issues = sdk_repo.get_issues(state='open', labels=[label1])
request_repo = g.get_repo('Azure/sdk-release-request')
rest_repo = g.get_repo('Azure/azure-rest-api-specs')
sdk_repo = g.get_repo('Azure/azure-sdk-for-python')
label1 = request_repo.get_label('ManagementPlane')
open_issues = request_repo.get_issues(state='open', labels=[label1])
issue_status = []
issue_status_python = []
duplicated_issue = dict()
start_time = time.time()
# get pipeline definitionid
python_piplines = get_python_pipelines()

for item in open_issues:
if not item.number:
continue
Expand Down Expand Up @@ -204,16 +222,22 @@ def main():
for item in issue_status:
if item.status == 'release':
item.bot_advice = 'better to release asap.'
elif item.comment_num == 0 and 'Python' in item.labels:
elif (item.comment_num == 0 or 'Configured' in item.labels) and 'Python' in item.labels:
item.bot_advice = 'new issue and better to confirm quickly.'
try:
auto_reply(item, sdk_repo, rest_repo, duplicated_issue)
auto_reply(item, request_repo, rest_repo, sdk_repo, duplicated_issue, python_piplines)
except Exception as e:
continue
elif not item.author_latest_comment in _PYTHON_SDK_ADMINISTRATORS:
item.bot_advice = 'new comment for author.'
elif item.delay_from_latest_update >= 7:
item.bot_advice = 'delay for a long time and better to handle now.'
if item.comment_num > 1 and item.language == 'Python':
try:
auto_close_issue(request_repo, item)
except Exception as e:
item.bot_advice = 'auto-close failed, please check!'
print(f"=====issue: {item.issue_object.number}, {e}")

if item.days_from_latest_commit >= 30 and item.language == 'Python' and '30days attention' not in item.labels:
item.labels.append('30days attention')
Expand Down Expand Up @@ -243,10 +267,10 @@ def main():
print_check('git push -f origin HEAD')

# upload to storage account(it is created in advance)
blob = BlobClient.from_connection_string(conn_str=os.getenv('CONN_STR'), container_name=os.getenv('FILE'),
blob_name=_FILE_OUT)
with open(_FILE_OUT, 'rb') as data:
blob.upload_blob(data, overwrite=True)
# blob = BlobClient.from_connection_string(conn_str=os.getenv('CONN_STR'), container_name=os.getenv('FILE'),
# blob_name=_FILE_OUT)
# with open(_FILE_OUT, 'rb') as data:
# blob.upload_blob(data, overwrite=True)


if __name__ == '__main__':
Expand Down
3 changes: 3 additions & 0 deletions scripts/release_issue_status/release_issue_status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
export CONN_STR=$(ENV_CONN_STR)
export FILE=$(ENV_FILE)
export TOKEN=$(USR_TOKEN)
export HEADERS=$(PIPELINE_HEADERS)
export URL=$(PIPELINE_URL)
export PIPELINE_TOKEN = $(PIPELINE_TOKEN)
# create virtual env
python -m venv venv-sdk
Expand Down
Loading

0 comments on commit 1def71b

Please sign in to comment.