Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 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
5cff7c9
Update FastAPI sample with instrumentation (#34738)
jeremydvoss Mar 13, 2024
40cd480
APIView - send package version param for automatic API review request…
azure-sdk Mar 13, 2024
f12a5b9
Python SDK : Communication messages (#33946)
Shamkh Mar 13, 2024
04ad332
Data Collector Data field string fix (#34739)
TajiHarrisMicrosoft Mar 13, 2024
add1a48
code and test (#34375)
azure-sdk Mar 14, 2024
bc6f787
feat: support set environment variables on flow.dag.yaml (#34450)
elliotzh Mar 14, 2024
65af272
update typespec-python vesrion to 0.22.4 (#34765)
msyyc Mar 14, 2024
b4a0143
[WebPubSub] Update 1.1.0 (#34552)
xingsy97 Mar 14, 2024
5dde263
upgrade autorest.python to 6.13.7 (#34766)
msyyc Mar 14, 2024
d8597c2
Send pacakge version for Python api review (#34746)
praveenkuttappan Mar 14, 2024
071609d
[Cosmos] Last review comments (#34759)
annatisch Mar 14, 2024
dbef227
Live metric feature detection for statsbeat (#34752)
lzchen Mar 14, 2024
43646c0
Simulator bugfixes (#34753)
nagkumar91 Mar 14, 2024
138fdde
fix sb tests imports (#34772)
kashifkhan Mar 14, 2024
97b34d7
Sync eng/common directory with azure-sdk-tools for PR 7877 (#34774)
azure-sdk Mar 14, 2024
2d44f8d
Refactor statsbeat constants (#34742)
lzchen Mar 14, 2024
c6dc6af
[Cosmos] update versions for stable release (#34775)
simorenoh Mar 14, 2024
feeefb0
Resolve failing `storage` build (#34740)
scbedd Mar 14, 2024
f0a7ed4
add using system account support (#34754)
xiangyan99 Mar 14, 2024
9c4e540
[AppConfig] Support monitor page changes by page etag (#34346)
Mar 15, 2024
6bed7da
[AutoRelease] t2-compute-2024-03-14-25862(can only be merged by SDK o…
azure-sdk Mar 15, 2024
21d0ed4
[Monitor Query] Rename MetricsClient param (#34760)
pvaneck Mar 15, 2024
72d40f6
Sync eng/common directory with azure-sdk-tools for PR 7892 (#34789)
azure-sdk Mar 15, 2024
1c64ce7
Increment package version after release of azure-appconfiguration (#3…
azure-sdk Mar 15, 2024
645f4a6
[Identity Broker] Propagate enable support logging (#34780)
pvaneck Mar 16, 2024
8fb3490
Link to Python's test guidance in manage_recordings.py (#34794)
mccoyp Mar 16, 2024
75c3683
[AutoRelease] t2-confluent-2024-03-01-81493(can only be merged by SDK…
azure-sdk Mar 18, 2024
f59a585
[AutoRelease] t2-batch-2024-02-29-16578(can only be merged by SDK own…
azure-sdk Mar 18, 2024
9556fa3
[AutoRelease] t2-nginx-2024-03-01-05314(can only be merged by SDK own…
azure-sdk Mar 18, 2024
c1d6214
[AutoRelease] t2-search-2024-02-28-86521(can only be merged by SDK ow…
azure-sdk Mar 18, 2024
26137ce
code and test (#34733)
azure-sdk Mar 18, 2024
400c0c2
[AutoRelease] t2-cosmosdbforpostgresql-2024-02-28-31084(can only be m…
azure-sdk Mar 18, 2024
a51127d
[AutoRelease] t2-communication-2024-02-28-44167(can only be merged by…
azure-sdk Mar 18, 2024
3b74339
[AutoRelease] t2-mobilenetwork-2024-02-21-79731(can only be merged by…
azure-sdk Mar 18, 2024
d3f4840
code and test (#34594)
azure-sdk Mar 18, 2024
a68e182
[AutoRelease] t2-newrelicobservability-2024-02-19-32263(can only be m…
azure-sdk Mar 18, 2024
aa03c97
code and test (#34802)
azure-sdk Mar 18, 2024
5934b3c
Enable mgmt from tsp (#34805)
msyyc Mar 18, 2024
2e3eb58
[Cache] Fix the wrong cache when local file input in a pipeline (#34743)
lalala123123 Mar 18, 2024
e153238
Create api review script changes to add a param to set release tag (#…
azure-sdk Mar 18, 2024
6272970
Title samples readme (#34813)
jeremydvoss Mar 18, 2024
f9c0eda
Users/singankit/model config optional (#34812)
singankit Mar 18, 2024
47f7df4
[ServiceBus] update ValueError to AMQPConnectionError for closed conn…
swathipil Mar 18, 2024
b22e5cc
doc: Add ivar comments for scheduletriggerresult (#34818)
kdestin Mar 18, 2024
cec4fdc
remove all references to docker (#34811)
azure-sdk Mar 18, 2024
0b70d6e
Add feature store provision role assignment location (#34646)
runhli Mar 18, 2024
9814f59
fix: Expose DataAsset class publicly (#34814)
kdestin Mar 19, 2024
6f5a43b
Update cosmos-sdk-client.yml (#34824)
ChenxiJiang333 Mar 19, 2024
6cd9716
Add content_type for aio (#34826)
xingsy97 Mar 19, 2024
571f231
[AutoRelease] t2-apimanagement-2024-03-19-08399(can only be merged by…
azure-sdk Mar 19, 2024
9194dc1
[AutoRelease] t2-servicelinker-2024-03-07-57247(can only be merged by…
azure-sdk Mar 19, 2024
ae4b125
Generate APIView using eng common script (#34817)
praveenkuttappan Mar 19, 2024
b89c0a2
Simulator quiet run and progress bar (#34809)
nagkumar91 Mar 19, 2024
ac364fb
Fix Weekly Test Failures (#34823)
scbedd Mar 19, 2024
4ec2cb8
Bump the proxy version to the last one resolving mac timeout issues (…
azure-sdk Mar 19, 2024
b71f012
fix: Fix typing of include_spark parameter (#34815)
kdestin Mar 19, 2024
53ba5aa
modify built-in chat eval flow: (#34511)
qusongms Mar 19, 2024
1986997
setting up testing for both preview and GA API versions for AOAI (#34…
kristapratico Mar 19, 2024
9cf64ed
[Monitor Query] Remove audience docstring (#34819)
pvaneck Mar 19, 2024
9ea120e
rename use_operating_system_account to use_default_broker_account (#3…
xiangyan99 Mar 19, 2024
510318f
repair communication livetests (#34842)
scbedd Mar 19, 2024
e5ac2c0
remove inaccurate keep alive logging (#34793)
swathipil Mar 20, 2024
cfcb683
Update apiview_reqs.txt (#34749)
tjprescott Mar 20, 2024
576393d
[SB] Link-Detach (#34820)
l0lawrence Mar 20, 2024
9151697
Increment package version after release of azure-cosmos (#34779)
azure-sdk Mar 20, 2024
58810f9
[SB] Update Changelog (#34856)
kashifkhan Mar 20, 2024
4714399
Update azure-sdk-build-tools Repository Resource Refs in Yaml files (…
azure-sdk Mar 20, 2024
2a9b1f2
increase live test timeout + fixes for GA version (#34861)
kristapratico Mar 20, 2024
006b249
Increment package version after release of azure-servicebus (#34865)
azure-sdk Mar 20, 2024
4360768
[AutoRelease] t2-netapp-2024-02-29-57016(can only be merged by SDK ow…
azure-sdk Mar 21, 2024
9cb2276
code and test (#34851)
azure-sdk Mar 21, 2024
bec65d2
[AutoRelease] t2-quantum-2024-03-07-62962(can only be merged by SDK o…
azure-sdk Mar 21, 2024
c5c596f
[AutoRelease] t2-workloadssapvirtualinstance-2024-02-20-43646(can onl…
azure-sdk Mar 21, 2024
41556d7
[AutoRelease] t2-storageactions-2024-03-07-00002(can only be merged b…
azure-sdk Mar 21, 2024
526ed7f
CodeGen from PR 28369 in Azure/azure-rest-api-specs
Mar 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 10 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 @@ -106,6 +106,9 @@
# PRLabel: %Communication - SMS
/sdk/communication/azure-communication-sms/ @DimaKolomiiets @gfeitosa-msft @besh2014 @phermanov-msft @ilyapaliakou-msft

# PRLabel: %Communication - Messages
/sdk/communication/azure-communication-messages/ @shamkh

# PRLabel: %Communication - Identity
/sdk/communication/azure-communication-identity/ @Azure/acs-identity-sdk @AikoBB @maximrytych-ms @mjafferi-msft

Expand Down Expand Up @@ -241,9 +244,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 +954,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 +1016,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
18 changes: 17 additions & 1 deletion .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 Expand Up @@ -573,6 +576,12 @@
"wammsa"
]
},
{
"filename": "sdk/identity/azure-identity-broker/tests/*.py",
"words": [
"signin"
]
},
{
"filename": "sdk/tables/azure-data-tables/tests/**/*.py",
"words": [
Expand Down Expand Up @@ -987,7 +996,8 @@
"msecs",
"mycontainer",
"semconv",
"updown"
"updown",
"uvicorn"
]
},
{
Expand Down Expand Up @@ -1672,6 +1682,12 @@
"azconfig"
]
},
{
"filename": "sdk/appconfiguration/azure-appconfiguration/**",
"words": [
"kvset"
]
},
{
"filename": "sdk/personalizer/test-resources.json",
"words": [
Expand Down
4 changes: 2 additions & 2 deletions eng/apiview_reqs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
apiview-stub-generator==0.3.10
apiview-stub-generator==0.3.12
azure-pylint-guidelines-checker==0.0.7
pylint<3.0.0
pylint<3.0.0
2 changes: 1 addition & 1 deletion eng/ci_tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ wrapt==1.12.1; python_version <= '3.10'
wrapt==1.15.0; python_version >= '3.11'
typing-extensions<=4.6.3
pyproject-api<1.6
cibuildwheel==2.16.2 ; python_version > '3.8'
cibuildwheel==2.16.5

# requirements leveraged for testing
pytest==7.3.1
Expand Down
2 changes: 1 addition & 1 deletion eng/common/pipelines/templates/steps/bypass-local-dns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ steps:
condition: |
and(
succeededOrFailed(),
contains(variables['OSVmImage'], 'ubuntu'),
or(contains(variables['OSVmImage'], 'ubuntu'),contains(variables['OSVmImage'], 'linux')),
eq(variables['Container'], '')
)
19 changes: 14 additions & 5 deletions eng/common/pipelines/templates/steps/create-apireview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,37 @@ parameters:
ArtifactPath: $(Build.ArtifactStagingDirectory)
Artifacts: []
ConfigFileDir: $(Build.ArtifactStagingDirectory)/PackageInfo
MarkPackageAsShipped: false
GenerateApiReviewForManualOnly: false
ArtifactName: 'packages'
PackageName: ''

steps:
# ideally this should be done as initial step of a job in caller template
# We can remove this step later once it is added in caller
- template: /eng/common/pipelines/templates/steps/set-default-branch.yml

- ${{ each artifact in parameters.Artifacts }}:
# Automatic API review is generated for a package when pipeline runs irrespective of how pipeline gets triggered.
# Below condition ensures that API review is generated only for manual pipeline runs when flag GenerateApiReviewForManualOnly is set to true.
- ${{ if or(ne(parameters.GenerateApiReviewForManualOnly, true), eq(variables['Build.Reason'], 'Manual')) }}:
- task: Powershell@2
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/scripts/Create-APIReview.ps1
arguments: >
-ArtifactList ('${{ convertToJson(parameters.Artifacts) }}' | ConvertFrom-Json | Select-Object Name)
-ArtifactPath ${{parameters.ArtifactPath}}
-APIViewUri $(azuresdk-apiview-uri)
-ArtifactName ${{ parameters.ArtifactName }}
-APIKey $(azuresdk-apiview-apikey)
-APILabel "Auto Review - $(Build.SourceVersion)"
-PackageName ${{artifact.name}}
-PackageName '${{parameters.PackageName}}'
-SourceBranch $(Build.SourceBranchName)
-DefaultBranch $(DefaultBranch)
-ConfigFileDir '${{parameters.ConfigFileDir}}'
-BuildId $(Build.BuildId)
-RepoName '$(Build.Repository.Name)'
-MarkPackageAsShipped $${{parameters.MarkPackageAsShipped}}
pwsh: true
workingDirectory: $(Pipeline.Workspace)
displayName: Create API Review for ${{ artifact.name}}
displayName: Create API Review
condition: >-
and(
succeededOrFailed(),
Expand Down
23 changes: 6 additions & 17 deletions eng/common/pipelines/templates/steps/git-push-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,14 @@ parameters:
SkipCheckingForChanges: false

steps:
- pwsh: |
echo "git add -A"
git add -A

echo "git diff --name-status --cached --exit-code"
git diff --name-status --cached --exit-code

if ($LastExitCode -ne 0) {
echo "##vso[task.setvariable variable=HasChanges]$true"
echo "Changes detected so setting HasChanges=true"
}
else {
echo "##vso[task.setvariable variable=HasChanges]$false"
echo "No changes so skipping code push"
}
- task: PowerShell@2
displayName: Check for changes
condition: and(succeeded(), eq(${{ parameters.SkipCheckingForChanges }}, false))
workingDirectory: ${{ parameters.WorkingDirectory }}
ignoreLASTEXITCODE: true
inputs:
pwsh: true
workingDirectory: ${{ parameters.WorkingDirectory }}
filePath: ${{ parameters.ScriptDirectory }}/check-for-git-changes.ps1
ignoreLASTEXITCODE: true

- pwsh: |
# Remove the repo owner from the front of the repo name if it exists there
Expand Down
Loading