Skip to content

chore: add test case 'test_aks_create_and_update_with_gateway_api_without_azureservicemesh'#9735

Open
Winbobob wants to merge 3 commits intoAzure:mainfrom
Winbobob:zheweihu/c/gateway-api-without-asm-test
Open

chore: add test case 'test_aks_create_and_update_with_gateway_api_without_azureservicemesh'#9735
Winbobob wants to merge 3 commits intoAzure:mainfrom
Winbobob:zheweihu/c/gateway-api-without-asm-test

Conversation

@Winbobob
Copy link
Copy Markdown
Member


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

@Winbobob Winbobob requested a review from andyliuliming as a code owner March 27, 2026 18:00
Copilot AI review requested due to automatic review settings March 27, 2026 18:00
@Winbobob Winbobob requested a review from FumingZhang as a code owner March 27, 2026 18:00
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Mar 27, 2026

❌Azure CLI Extensions Breaking Change Test
❌managednetworkfabric
rule cmd_name rule_message suggest_message
1012 - SubgroupRemove networkfabric bootstrapdevice sub group networkfabric bootstrapdevice removed please confirm sub group networkfabric bootstrapdevice removed
1012 - SubgroupRemove networkfabric bootstrapinterface sub group networkfabric bootstrapinterface removed please confirm sub group networkfabric bootstrapinterface removed
1002 - CmdRemove networkfabric device resync-certificate cmd networkfabric device resync-certificate removed please confirm cmd networkfabric device resync-certificate removed
1002 - CmdRemove networkfabric fabric resync-certificate cmd networkfabric fabric resync-certificate removed please confirm cmd networkfabric fabric resync-certificate removed
1002 - CmdRemove networkfabric fabric rotate-certificate cmd networkfabric fabric rotate-certificate removed please confirm cmd networkfabric fabric rotate-certificate removed

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @Winbobob,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@github-actions
Copy link
Copy Markdown
Contributor

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 27, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown
Contributor

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new AKS CLI integration test to validate enabling/disabling/re-enabling Gateway API on a cluster without the Azure Service Mesh add-on, and records the addition in the aks-preview changelog.

Changes:

  • Add ScenarioTest test_aks_create_and_update_with_gateway_api_without_azureservicemesh covering az aks create + az aks update --disable-gateway-api/--enable-gateway-api.
  • Remove the now-obsolete TODO referencing the planned test.
  • Update HISTORY.rst Pending section to mention the new test coverage.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py Adds the new Gateway API (no ASM) create/update test and removes the related TODO.
src/aks-preview/HISTORY.rst Notes the new test case under Pending.

@Winbobob
Copy link
Copy Markdown
Member Author

Winbobob commented Mar 27, 2026

@FumingZhang
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Copy Markdown
Member

@FumingZhang FumingZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@FumingZhang
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@FumingZhang
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Copy Markdown
Member

@FumingZhang FumingZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Queued live test to validate the change

  • test_aks_create_and_update_with_gateway_api_and_azureservicemesh
  • test_aks_create_and_update_with_gateway_api_without_azureservicemesh

Please commit the recording file according to your newly added test case to pass CI check

@Winbobob Winbobob force-pushed the zheweihu/c/gateway-api-without-asm-test branch from c0a78e8 to df7e254 Compare March 31, 2026 00:29
@FumingZhang
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants