Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
83a137e
Add dotnet-api product slug to sample metadata script (#34706)
azure-sdk Mar 8, 2024
1923e0d
[Perf] corehttp - updating async stream upload httpx test (#34674)
swathipil Mar 8, 2024
9b96ce5
Remove defunct user from CODEOWNERS (#34707)
JimSuplizio Mar 8, 2024
256e783
Sync .github/workflows directory with azure-sdk-tools for PR 7845 (#3…
azure-sdk Mar 8, 2024
ee767c2
Update Prepare-Release.ps1 to handle only one previous release (#34708)
azure-sdk Mar 8, 2024
87bca57
remove upper bound in setup.py (#34402)
xiangyan99 Mar 8, 2024
23121a5
Add myself/mccoy to the tools directory codeowners (#34524)
scbedd Mar 8, 2024
b4a18bc
Update github-event-processor version (#34720)
azure-sdk Mar 11, 2024
9edbe4a
Add date for release 1.14.0 (#34710)
YusakuNo1 Mar 11, 2024
f2cb087
Update GitHubEventProcessor to 20240311.2 (#34723)
azure-sdk Mar 11, 2024
3e3d34b
[Monitor] Pylint updates (#34429)
pvaneck Mar 11, 2024
51b9eab
[Cosmos] fixing bug with not passing kwargs/ response_hook in `create…
simorenoh Mar 11, 2024
91fc86f
Remove experimental annotation from provision network (#34690)
fredms Mar 11, 2024
36e3080
[Storage] Add Peter as Storage CODEOWNER (#34701)
jalauzon-msft Mar 11, 2024
428c2b6
Add live metrics collection of requests/dependencies/exceptions (#34673)
lzchen Mar 11, 2024
5170e10
Skip env processing on matrix import step (#34728)
azure-sdk Mar 11, 2024
4207b9f
Remaining livetest matrices, `ci.yml` uses `image.yml` variables (#34…
scbedd Mar 11, 2024
8f8ec65
[Monitor Query] Update swagger (#34614)
pvaneck Mar 12, 2024
07995c5
[EventGrid] api events (#34514)
l0lawrence Mar 12, 2024
863ccdd
[Cosmos] archboard review item - update batch error description (#34473)
simorenoh Mar 12, 2024
dc7fc74
[ml] Enable strict sphinx check (#34688)
diondrapeck Mar 12, 2024
59e7d23
update typespec-python (#34736)
iscai-msft Mar 12, 2024
f12ac3a
[Monitor] Improve docs regarding sovereign clouds (#33196)
pvaneck Mar 12, 2024
5a2d195
Support for file contents in simulated messages (#34726)
nagkumar91 Mar 12, 2024
bf5fc50
Increment package version after release of azure-eventgrid (#34737)
azure-sdk Mar 12, 2024
c3c285e
Turn on EnforceMaxLifeOfIssues (#34731)
ronniegeraghty Mar 12, 2024
b3411ac
Add process/cpu live metrics (#34735)
lzchen Mar 13, 2024
e1e099f
CodeGen from PR 28072 in Azure/azure-rest-api-specs
Mar 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

# ServiceLabel: %Storage
# PRLabel: %Storage
/sdk/storage/ @annatisch @jalauzon-msft @vincenttran-msft
/sdk/storage/ @annatisch @jalauzon-msft @vincenttran-msft @weirongw23-msft

# AzureSdkOwners: @YalinLi0312
# ServiceLabel: %App Configuration
Expand Down Expand Up @@ -241,9 +241,9 @@
/sdk/ml/azure-ai-ml/azure/ai/ml/_local_endpoints/ @NonStatic2014 @arunsu @stanley-msft @JustinFirsching

# PRLabel: %ML-Jobs
/sdk/ml/azure-ai-ml/azure/ai/ml/_schema/job* @DouglasXiaoMS @TonyJ1 @wangchao1230
/sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/ @DouglasXiaoMS @TonyJ1 @wangchao1230
/sdk/ml/training-experiences.tests.yml @DouglasXiaoMS @TonyJ1
/sdk/ml/azure-ai-ml/azure/ai/ml/_schema/job* @TonyJ1 @wangchao1230
/sdk/ml/azure-ai-ml/azure/ai/ml/entities/_job/ @TonyJ1 @wangchao1230
/sdk/ml/training-experiences.tests.yml @TonyJ1

# PRLabel: %ML-AutoML
/sdk/ml/azure-ai-ml/azure/ai/ml/_schema/automl/ @skasturi @rtanase @raduk @PhaniShekhar @sharma-riti @jialiu103 @nick863 @yuanzhuangyuanzhuang @anupsms @MaurisLucis @novaturient95
Expand Down Expand Up @@ -951,7 +951,7 @@
#/<NotInRepo>/ @shivanissambare

# ServiceLabel: %ML-Jobs
#/<NotInRepo>/ @DouglasXiaoMS @TonyJ1 @wangchao1230
#/<NotInRepo>/ @TonyJ1 @wangchao1230

# ServiceLabel: %ML-Local Endpoints
#/<NotInRepo>/ @NonStatic2014 @arunsu @stanley-msft @JustinFirsching
Expand Down Expand Up @@ -1013,6 +1013,8 @@
###########
/eng/ @scbedd @weshaggard @benbp

/tools/ @scbedd @mccoyp

# Add owners for notifications for specific pipelines
/eng/pipelines/templates/jobs/tests-nightly-python.yml @lmazuel @mccoyp
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp @YalinLi0312
Expand Down
2 changes: 1 addition & 1 deletion .github/event-processor.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"IdentifyStalePullRequests": "On",
"CloseAddressedIssues": "On",
"LockClosedIssues": "On",
"EnforceMaxLifeOfIssues": "Off"
"EnforceMaxLifeOfIssues": "On"
}
70 changes: 64 additions & 6 deletions .github/workflows/event-processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,29 @@ on:
permissions: {}

jobs:
event-handler:
# This event requires the Azure CLI to get the LABEL_SERVICE_API_KEY from the vault.
# Because the azure/login step adds time costly pre/post Az CLI commands to any every job
# it's used in, split this into its own job so only the event that needs the Az CLI pays
# the cost.
event-handler-with-azure:
permissions:
issues: write
pull-requests: write
# For OIDC auth
id-token: write
contents: read
name: Handle ${{ github.event_name }} ${{ github.event.action }} event
name: Handle ${{ github.event_name }} ${{ github.event.action }} event with azure login
runs-on: ubuntu-latest
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}
steps:
- name: 'Az CLI login'
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}
uses: azure/[email protected]
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: 'Run Azure CLI commands'
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}
run: |
LABEL_SERVICE_API_KEY=$(az keyvault secret show \
--vault-name issue-labeler \
Expand All @@ -55,7 +58,7 @@ jobs:
run: >
dotnet tool install
Azure.Sdk.Tools.GitHubEventProcessor
--version 1.0.0-dev.20240229.2
--version 1.0.0-dev.20240311.2
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
--global
shell: bash
Expand Down Expand Up @@ -94,3 +97,58 @@ jobs:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL_SERVICE_API_KEY: ${{ env.LABEL_SERVICE_API_KEY }}

event-handler:
permissions:
issues: write
pull-requests: write
name: Handle ${{ github.event_name }} ${{ github.event.action }} event
runs-on: ubuntu-latest
if: ${{ github.event_name != 'issues' || github.event.action != 'opened' }}
steps:
# To run github-event-processor built from source, for testing purposes, uncomment everything
# in between the Start/End-Build From Source comments and comment everything in between the
# Start/End-Install comments
# Start-Install
- name: Install GitHub Event Processor
run: >
dotnet tool install
Azure.Sdk.Tools.GitHubEventProcessor
--version 1.0.0-dev.20240311.2
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
--global
shell: bash
# End-Install

# Testing checkout of sources from the Azure/azure-sdk-tools repository
# The ref: is the SHA from the pull request in that repository or the
# refs/pull/<PRNumber>/merge for the latest on any given PR. If the repository
# is a fork eg. <User>/azure-sdk-tools then the repository down below will
# need to point to that fork
# Start-Build
# - name: Checkout tools repo for GitHub Event Processor sources
# uses: actions/checkout@v3
# with:
# repository: Azure/azure-sdk-tools
# path: azure-sdk-tools
# ref: <refs/pull/<PRNumber>/merge> or <sha>

# - name: Build and install GitHubEventProcessor from sources
# run: |
# dotnet pack
# dotnet tool install --global --prerelease --add-source ../../../artifacts/packages/Debug Azure.Sdk.Tools.GitHubEventProcessor
# shell: bash
# working-directory: azure-sdk-tools/tools/github-event-processor/Azure.Sdk.Tools.GitHubEventProcessor
# End-Build

- name: Process Action Event
run: |
cat > payload.json << 'EOF'
${{ toJson(github.event) }}
EOF
github-event-processor ${{ github.event_name }} payload.json
shell: bash
env:
# This is a temporary secret generated by github
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 6 additions & 4 deletions .github/workflows/scheduled-event-processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: GitHub Scheduled Event Processor

on:
schedule:
# These are generated/confirmed using https://crontab.cronhub.io/
# Close stale issues, runs every day at 1am - CloseStaleIssues
- cron: '0 1 * * *'
# Identify stale pull requests, every Friday at 5am - IdentifyStalePullRequests
Expand All @@ -14,9 +15,10 @@ on:
- cron: '30 4,10,16,22 * * *'
# Lock closed issues, every 6 hours at 05:30 AM, 11:30 AM, 05:30 PM and 11:30 PM - LockClosedIssues
- cron: '30 5,11,17,23 * * *'
# Enforce max life of issues, every Monday at 10:00 AM - EnforceMaxLifeOfIssues
# Enforce max life of issues, every M,W,F at 10:00 AM PST - EnforceMaxLifeOfIssues
# Note: GitHub uses UTC, to run at 10am PST, the cron task needs to be 6pm (1800 hours) UTC
- cron: '0 18 * * MON'
# When scheduling for multiple days the numeric days 0-6 (0=Sunday) must be used.
- cron: '0 18 * * 1,3,5'
# This removes all unnecessary permissions, the ones needed will be set below.
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions: {}
Expand All @@ -37,7 +39,7 @@ jobs:
run: >
dotnet tool install
Azure.Sdk.Tools.GitHubEventProcessor
--version 1.0.0-dev.20240229.2
--version 1.0.0-dev.20240311.2
--add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
--global
shell: bash
Expand Down Expand Up @@ -131,7 +133,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Enforce Max Life of Issues Scheduled Event
if: github.event.schedule == '0 18 * * MON'
if: github.event.schedule == '0 18 * * 1,3,5'
run: |
cat > payload.json << 'EOF'
${{ toJson(github.event) }}
Expand Down
3 changes: 3 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,9 @@
"amltemp",
"deserializers",
"dicom",
"WINDOWSVMIMAGE",
"LINUXVMIMAGE",
"MACVMIMAGE"
],
"overrides": [
{
Expand Down
2 changes: 1 addition & 1 deletion eng/common/scripts/Prepare-Release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ $month = $ParsedReleaseDate.ToString("MMMM")
Write-Host "Assuming release is in $month with release date $releaseDateString" -ForegroundColor Green
if (Test-Path "Function:GetExistingPackageVersions")
{
$releasedVersions = GetExistingPackageVersions -PackageName $packageProperties.Name -GroupId $packageProperties.Group
$releasedVersions = @(GetExistingPackageVersions -PackageName $packageProperties.Name -GroupId $packageProperties.Group)
if ($null -ne $releasedVersions -and $releasedVersions.Count -gt 0)
{
$latestReleasedVersion = $releasedVersions[$releasedVersions.Count - 1]
Expand Down
1 change: 1 addition & 0 deletions eng/common/scripts/Test-SampleMetadata.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ begin {
"blazor-webassembly",
"common-data-service",
"customer-voice",
"dotnet-api",
"dotnet-core",
"dotnet-standard",
"document-intelligence",
Expand Down
13 changes: 10 additions & 3 deletions eng/common/scripts/job-matrix/job-matrix-functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ function GenerateMatrix(
[String]$displayNameFilter = ".*",
[Array]$filters = @(),
[Array]$replace = @(),
[Array]$nonSparseParameters = @()
[Array]$nonSparseParameters = @(),
[Switch]$skipEnvironmentVariables
) {
$matrixParameters, $importedMatrix, $combinedDisplayNameLookup = `
ProcessImport $config.matrixParameters $selectFromMatrixType $nonSparseParameters $config.displayNamesLookup
Expand Down Expand Up @@ -124,7 +125,9 @@ function GenerateMatrix(

$matrix = FilterMatrix $matrix $filters
$matrix = ProcessReplace $matrix $replace $combinedDisplayNameLookup
$matrix = ProcessEnvironmentVariableReferences $matrix $combinedDisplayNameLookup
if (!$skipEnvironmentVariables) {
$matrix = ProcessEnvironmentVariableReferences $matrix $combinedDisplayNameLookup
}
$matrix = FilterMatrixDisplayName $matrix $displayNameFilter
return $matrix
}
Expand Down Expand Up @@ -427,10 +430,14 @@ function ProcessImport([MatrixParameter[]]$matrix, [String]$selection, [Array]$n
exit 1
}
$importedMatrixConfig = GetMatrixConfigFromFile (Get-Content -Raw $importPath)
# Add skipEnvironmentVariables so we don't process environment variables on import
# because we want top level filters to work against the the env key, not the value.
# The environment variables will get resolved after the import.
$importedMatrix = GenerateMatrix `
-config $importedMatrixConfig `
-selectFromMatrixType $selection `
-nonSparseParameters $nonSparseParameters
-nonSparseParameters $nonSparseParameters `
-skipEnvironmentVariables

$combinedDisplayNameLookup = $importedMatrixConfig.displayNamesLookup
foreach ($lookup in $displayNamesLookup.GetEnumerator()) {
Expand Down
Loading