Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
dfb6797
support ase get ops
kumarutkarsh3b2166 Apr 7, 2025
3a64da9
is sap check
kumarutkarsh3b2166 Apr 7, 2025
d2de35f
support ase get ops
kumarutkarsh3b2166 Apr 7, 2025
f284859
long line fix
kumarutkarsh3b2166 Apr 7, 2025
dd58d71
flake8 failures resolved
kumarutkarsh3b2166 Apr 7, 2025
6375e75
unit tests
kumarutkarsh3b2166 Apr 14, 2025
aace0e6
fix
kumarutkarsh3b2166 Apr 14, 2025
71a7ded
[SQL] Update azure-mgmt-sql Package from 4.0.0b20 to 4.0.0b21 (#31214)
debalinaroy Apr 15, 2025
42850b4
{AFD} Fix bug for `az afd rule action list ` (#31260)
Ptnan7 Apr 15, 2025
223b643
[ARM] Fix issue #31188: az lock delete: Fix the case sensitivity of -…
Jing-song Apr 15, 2025
5de0bf3
[Compute] `az vm create`: Add new parameter --zone-placement-policy t…
Jing-song Apr 15, 2025
0cf0a7b
{AKS} Vendor new SDK and bump API version to 2025-02-01 (#31281)
FumingZhang Apr 16, 2025
024ced1
[App Config] `az appconfig create/update`: Add developer sku support …
ChristineWanjau Apr 16, 2025
0cb1a55
[Compute] `az sig image-version create/update`: Rename shorter alias …
yanzhudd Apr 17, 2025
11f6022
{Containerapp} `az containerapp`: Update `api-version` to `2025-01-01…
Greedygre Apr 17, 2025
921e620
add gh jobs (#31284)
AllyW Apr 17, 2025
b46a6d1
[App Service] `az appservice plan create`: Add Pv4/Pmv4 ASP support (…
krayc Apr 17, 2025
f49fe0c
[Network] `az network application-gateway waf-policy managed-rule rul…
necusjz Apr 17, 2025
86a6cf5
[Service Connector] `az webapp connection create -h`: Clarify that sy…
wchigit Apr 17, 2025
34c73d0
{Test} Add email replacer for cli scenario test (#31262)
evelyn-ys Apr 18, 2025
125a749
[Compute] `az vm create/update`: Add new parameters `--wire-server-mo…
Jing-song Apr 18, 2025
0140fd7
[Consumption] `az consumption usage list`: Enhanced handling of `usag…
haule21 Apr 18, 2025
76dce2c
fix func slot bug (#31272)
qianwens Apr 18, 2025
0538e58
{CI} Add reviewer for Container Registry PR (#31297)
wangzelin007 Apr 18, 2025
e6caf4a
[ACR] `az acr create/check-name`: Add parameter `--dnl-scope` for dom…
trisavo-msft Apr 21, 2025
0aa8fe3
{CI} Sync resourceManagement.yml according To ADO Wiki Page - Service…
azclibot Apr 21, 2025
617ad1e
[Mysql] `az mysql flexible-server create/restore/replica create`: Add…
linyudoa Apr 21, 2025
1384808
[Compute] `az vm/vmss create/update`: Set `--security-type` to `Stand…
yanzhudd Apr 21, 2025
8c67ae2
[App Service] Fix: #20209: `az webapp create-remote-connection`: Add …
seligj95 Apr 21, 2025
d03ab33
{CI} Sync resourceManagement.yml according To ADO Wiki Page - Service…
azclibot Apr 21, 2025
fc61397
{CI} Add reviewers for acr PR (#31303)
wangzelin007 Apr 21, 2025
ad3176b
[App Config] `az appconfig feature set`: Update feature name document…
albertofori Apr 21, 2025
78ae7c0
{Upgrade} Remove auto-upgrade message (#31295)
bebound Apr 21, 2025
82a85fb
{Upgrade} Fix KeyError: 'pypi' when auto upgrade (#26106)
bebound Apr 21, 2025
f4beaf3
{Release} Upgrade to Azure CLI 2.72.0 (#31309)
azclibot Apr 22, 2025
d90dc34
[ACR] `az acr connected-registry create/update`: Add new parameters f…
trisavo-msft Apr 23, 2025
46e301b
{Compute} `az vm extension`: Migrate to AAZ (#31261)
cxznmhdcxz Apr 23, 2025
ebf6ddf
{Profile} Show different ROPC flow warning messages in different clou…
jiasli Apr 23, 2025
cd00c8a
[Profile] BREAKING CHANGE: `az login`: Drop `--username` for managed …
jiasli Apr 23, 2025
60c6ef9
[BREAKING CHANGE] `az role assignment list`: Drop `--include-classic-…
jiasli Apr 23, 2025
2a185bd
[Compute] BREAKING CHANGE: `az sig image-definition/image-version lis…
yanzhudd Apr 24, 2025
1840bc3
[Packaging] Bump Python to 3.12 on RHEL and CentOS Stream (#31264)
bebound Apr 24, 2025
fc8c199
[Packaging] Drop Ubuntu 20.04 support (#31208)
bebound Apr 24, 2025
58285f3
{Role} Clean up linter exclusion rules (#31323)
jiasli Apr 24, 2025
64e421e
drop azure stack profiles in CI (#31335)
kairu-ms Apr 24, 2025
f9021f3
drop-profiles-vm (#31333)
kairu-ms Apr 24, 2025
5c23164
drop azure stack profiles in acs (#31337)
kairu-ms Apr 24, 2025
f3efc2b
Drop tests for azure stack profiles (#31339)
kairu-ms Apr 24, 2025
ad643b8
Drop tests for azure stack profiles (#31340)
kairu-ms Apr 24, 2025
93bd603
{acr} `az acr`: Drop tests for azure stack profiles (#31336)
kairu-ms Apr 24, 2025
1355f50
drop-profiles-network (#31332)
kairu-ms Apr 24, 2025
4a87405
drop-profiles-keyvault (#31334)
jiasli Apr 25, 2025
f28c4f4
Drop tests for azure stack profiles (#31338)
kairu-ms Apr 25, 2025
8f86641
Drop tests for azure stack profiles (#31341)
kairu-ms Apr 25, 2025
73a5d8a
Drop examples for azure stack profiles (#31352)
kairu-ms Apr 25, 2025
df40099
Drop code for azure stack profiles (#31354)
kairu-ms Apr 25, 2025
dc9aedb
Drop core for azure stack profiles (#31353)
kairu-ms Apr 25, 2025
8ac693a
[RDBMS] BREAKING CHANGE: `az postgres flexible-server create`: Set th…
mattboentoro Apr 25, 2025
7f356c6
[RDBMS] BREAKING CHANGE: `az postgres flexible-server create`: Set de…
mattboentoro Apr 25, 2025
c6997c6
Drop code for azure stack profiles (#31357)
kairu-ms Apr 27, 2025
2b73556
[RDBMS] `az postgres flexible-server create`: BUG FIX, Set public acc…
nasc17 Apr 27, 2025
e435819
[RDBMS] BREAKING CHANGE: `az postgres flexible-server stop-replicatio…
nasc17 Apr 27, 2025
a66bcbd
[Core] BREAKING CHANGE: Remove azure stack profiles `2020-09-01-hybri…
kairu-ms Apr 27, 2025
3b165f0
[Compute] `az vm/vmss create`: Fix missing auxiliary tokens (#31287)
yanzhudd Apr 27, 2025
1a26e0d
[ACR] `az acr create/update` and `az acr check-health`: Add ABAC supp…
lizMSFT Apr 27, 2025
8783f46
{Packaging} Bump `azure-mgmt-core` to 1.5.0 (#31342)
jiasli Apr 27, 2025
bb273bf
{Cloud} `az cloud register/update`: Use ARM new API version 2022-09-0…
evelyn-ys Apr 27, 2025
4108043
{Compute} Fix issue #31165: az vm update unexpected error when updati…
Jing-song Apr 28, 2025
6ea66d1
[Core] Use MSAL for managed identity authentication (#25959)
jiasli Apr 28, 2025
1696f9f
{Core} Bump MSAL to 1.32.3 (#31376)
jiasli Apr 28, 2025
db712c8
{SQL} Display warning message when Azure SQL DB with Geo-replicated-l…
mohitagarwal-sql Apr 29, 2025
9e76255
[Compute] az vmss create/update: Add new parameters --enable-automati…
Jing-song Apr 29, 2025
97763e8
{Packaging} Unpin cffi in RPM package (#31359)
bebound Apr 29, 2025
478da82
Merge pull request #31378 from Azure/release
jiasli Apr 29, 2025
90eb7cf
support ase get ops
kumarutkarsh3b2166 Apr 7, 2025
a45c208
is sap check
kumarutkarsh3b2166 Apr 7, 2025
3a50f5a
support ase get ops
kumarutkarsh3b2166 Apr 7, 2025
9da3e2c
long line fix
kumarutkarsh3b2166 Apr 7, 2025
8c087df
flake8 failures resolved
kumarutkarsh3b2166 Apr 7, 2025
22d02e1
unit tests
kumarutkarsh3b2166 Apr 14, 2025
73e848e
fix
kumarutkarsh3b2166 Apr 14, 2025
8e9e68b
tests for backup restore added
kumarutkarsh3b2166 Apr 29, 2025
9d71a27
bkp res policy command tests added
kumarutkarsh3b2166 May 2, 2025
afb3740
resolve conflicts
kumarutkarsh3b2166 May 5, 2025
946fdc7
seperate tests for conf prot and stop prot
kumarutkarsh3b2166 May 6, 2025
efeec61
comments updated
kumarutkarsh3b2166 May 6, 2025
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
  •  
  •  
  •  
37 changes: 37 additions & 0 deletions .github/actions/env-setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: GH Azdev Setup
description: 'azdev env setup'

runs:
using: 'composite'
steps:
- name: Check Init GH Event
env:
action: ${{ toJSON(github.event.action) }}
label: ${{ toJSON(github.event.label) }}
shell: bash
run: |
echo start azdev env setup
- name: Checkout CLI repo
uses: actions/checkout@v4
with:
fetch-depth: 0 # checkout all branches
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }} # checkout pull request branch
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: "3.12"
- name: Install azdev
shell: bash
run: |
python -m pip install --upgrade pip
set -ev
python -m venv env
chmod +x env/bin/activate
source ./env/bin/activate
pip install azdev
azdev --version
cd ../
azdev setup -c azure-cli --debug
az --version
pip list -v
18 changes: 16 additions & 2 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1176,9 +1176,11 @@ configuration:
- mentionUsers:
mentionees:
- toddysm
- luisdlp
- northtyphoon
- luisdlp
- terencet-dev
- shizhMSFT
- JXavierMSFT
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
assignMentionees: False
- if:
Expand Down Expand Up @@ -4423,7 +4425,19 @@ configuration:
isRegex: True
then:
- requestReview:
reviewer: wangzelin007
reviewer: northtyphoon
- requestReview:
reviewer: terencet-dev
- requestReview:
reviewer: JXavierMSFT
- requestReview:
reviewer: toddysm
- requestReview:
reviewer: rosanch
- requestReview:
reviewer: yanzhudd
- requestReview:
reviewer: shizhMSFT
- requestReview:
reviewer: zhoxing-ms
- requestReview:
Expand Down
61 changes: 61 additions & 0 deletions .github/workflows/AzdevLinter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: GH Check CLI Linter
on:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]
branches:
- dev

permissions: {}

jobs:
azdev-linter:
runs-on: ubuntu-latest
permissions:
pull-requests: read
contents: read
steps:
- name: Checkout CLI repo
uses: actions/checkout@v4
with:
fetch-depth: 1
sparse-checkout: |
.github
- name: Azdev Env Setup
uses: ./.github/actions/env-setup
- name: Get Base Branch
env:
bash_sha: ${{ github.event.pull_request.base.sha }}
base_branch: ${{ github.event.pull_request.base.ref }}
base_repo: ${{ github.event.pull_request.base.repo.clone_url }}
base_branch_pre: "upstream"
diff_sha: ${{ github.event.pull_request.head.sha }}
diff_branch: ${{ github.event.pull_request.head.ref }}
repo_full_name: ${{ github.event.pull_request.head.repo.full_name }}
run: |
set -x
git --version
git log --oneline | head -n 10
git branch -a
git fetch "$base_repo" "$base_branch":"$base_branch_pre"/"$base_branch"
git checkout "$base_branch_pre"/"$base_branch"
- name: Run Azdev Style
env:
pr_label_list: ${{ toJson(github.event.pull_request.labels.*.name) }}
pr_user: ${{ github.event.pull_request.user.login }}
base_branch: ${{ github.event.pull_request.base.ref }}
base_branch_pre: "upstream"
diff_branch: ${{ github.event.pull_request.head.ref }}
run: |
chmod +x env/bin/activate
source ./env/bin/activate
set -ev

git checkout -f "$diff_branch"
# always use the latest scripts from base branch
git checkout "$base_branch_pre"/"$base_branch" -- scripts
git checkout "$base_branch_pre"/"$base_branch" -- .github

python scripts/ci/service_name.py
merge_base=$(git merge-base HEAD "$base_branch_pre"/"$base_branch")
echo merge_base: "$merge_base"
azdev linter --ci-exclusions --min-severity medium --repo ./ --src "$diff_branch" --tgt "$merge_base"
60 changes: 60 additions & 0 deletions .github/workflows/AzdevStyle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: GH Check CLI Style
on:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]
branches:
- dev

permissions: {}

jobs:
azdev-style:
runs-on: ubuntu-latest
permissions:
pull-requests: read
contents: read
steps:
- name: Checkout CLI repo
uses: actions/checkout@v4
with:
fetch-depth: 1
sparse-checkout: |
.github
- name: Azdev Env Setup
uses: ./.github/actions/env-setup
- name: Get Base Branch
env:
bash_sha: ${{ github.event.pull_request.base.sha }}
base_branch: ${{ github.event.pull_request.base.ref }}
base_repo: ${{ github.event.pull_request.base.repo.clone_url }}
base_branch_pre: "upstream"
diff_sha: ${{ github.event.pull_request.head.sha }}
diff_branch: ${{ github.event.pull_request.head.ref }}
repo_full_name: ${{ github.event.pull_request.head.repo.full_name }}
run: |
set -x
git --version
git log --oneline | head -n 10
git branch -a
git fetch "$base_repo" "$base_branch":"$base_branch_pre"/"$base_branch"
git checkout "$base_branch_pre"/"$base_branch"
- name: Run Azdev Style
env:
pr_label_list: ${{ toJson(github.event.pull_request.labels.*.name) }}
pr_user: ${{ github.event.pull_request.user.login }}
base_branch: ${{ github.event.pull_request.base.ref }}
base_branch_pre: "upstream"
diff_branch: ${{ github.event.pull_request.head.ref }}
run: |
chmod +x env/bin/activate
source ./env/bin/activate
set -ev

git checkout -f "$diff_branch"
# always use the latest scripts from base branch
git checkout "$base_branch_pre"/"$base_branch" -- scripts
git checkout "$base_branch_pre"/"$base_branch" -- .github
merge_base=$(git merge-base HEAD "$base_branch_pre"/"$base_branch")
echo merge_base: "$merge_base"
# check azdev style on diff mod
azdev style
57 changes: 0 additions & 57 deletions azure-pipelines-full-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,63 +16,6 @@ variables:
- template: ${{ variables.Pipeline.Workspace }}/.azure-pipelines/templates/variables.yml

jobs:
- job: AutomationTest20200901
displayName: Automation Test (Profile 2020-09-01)
timeoutInMinutes: 120
pool:
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
python.version: '3.9'
Python312:
python.version: '3.12'
steps:
- template: .azure-pipelines/templates/automation_test.yml
parameters:
pythonVersion: '$(python.version)'
profile: '2020-09-01-hybrid'
fullTest: true
jobName: 'FullTest'

- job: AutomationTest20190301
displayName: Automation Test (Profile 2019-03-01)
timeoutInMinutes: 120
pool:
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
python.version: '3.9'
Python312:
python.version: '3.12'
steps:
- template: .azure-pipelines/templates/automation_test.yml
parameters:
pythonVersion: '$(python.version)'
profile: '2019-03-01-hybrid'
fullTest: true
jobName: 'FullTest'

- job: AutomationTest20180301
displayName: Automation Test (Profile 2018-03-01)
timeoutInMinutes: 120
pool:
name: ${{ variables.ubuntu_pool }}
strategy:
matrix:
Python39:
python.version: '3.9'
Python312:
python.version: '3.12'
steps:
- template: .azure-pipelines/templates/automation_test.yml
parameters:
pythonVersion: '$(python.version)'
profile: '2018-03-01-hybrid'
fullTest: true
jobName: 'FullTest'

- job: AutomationFullTestPython39ProfileLatest
displayName: Automation Full Test Python39 Profile Latest
timeoutInMinutes: 9999
Expand Down
27 changes: 8 additions & 19 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -816,13 +816,13 @@ jobs:
dockerfile: ubi
image: registry.access.redhat.com/ubi8/ubi:8.4
artifact: rpm-ubi8-${{ arch.value }}
python_package: python39
python_package: python3.12
pool: ${{ arch.pool }}
Red Hat Universal Base Image 9 ${{ arch.name }}:
dockerfile: ubi
image: registry.access.redhat.com/ubi9/ubi:9.0.0
artifact: rpm-ubi9-${{ arch.value }}
python_package: python3.9
python_package: python3.12
pool: ${{ arch.pool }}
steps:
- bash: ./scripts/ci/install_docker.sh
Expand Down Expand Up @@ -864,17 +864,17 @@ jobs:
artifact: rpm-ubi8-${{ arch.value }}
distro: el8
image: registry.access.redhat.com/ubi8/ubi:8.4
python_package: python39
python_cmd: python3.9
pip_cmd: pip3.9
python_package: python3.12
python_cmd: python3.12
pip_cmd: pip3.12
pool: ${{ arch.pool }}
Red Hat Universal Base Image 9 ${{ arch.name }}:
artifact: rpm-ubi9-${{ arch.value }}
distro: el9
image: registry.access.redhat.com/ubi9/ubi:9.0.0
python_package: python3.9
python_cmd: python3.9
pip_cmd: pip3.9
python_package: python3.12
python_cmd: python3.12
pip_cmd: pip3.12
pool: ${{ arch.pool }}
steps:
- task: DownloadPipelineArtifact@1
Expand Down Expand Up @@ -913,12 +913,6 @@ jobs:
matrix:
${{ each arch in parameters.architectures }}:
# https://wiki.ubuntu.com/Releases
Focal ${{ arch.name }}:
# 20.04
deb_system: ubuntu
distro: focal
arch: ${{ arch.value }}
pool: ${{ arch.pool }}
Jammy ${{ arch.name }}:
# 22.04
deb_system: ubuntu
Expand Down Expand Up @@ -982,11 +976,6 @@ jobs:
strategy:
matrix:
${{ each arch in parameters.architectures }}:
Focal ${{ arch.name }}:
deb_system: ubuntu
distro: focal
arch: ${{ arch.value }}
pool: ${{ arch.pool }}
Jammy ${{ arch.name }}:
deb_system: ubuntu
distro: jammy
Expand Down
Loading
Loading