Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az containerapp up: Fix InvalidResourceType error when cloud is not AzureCloud #7551

Merged
merged 10 commits into from
Apr 28, 2024

Conversation

Greedygre
Copy link
Contributor

@Greedygre Greedygre commented Apr 25, 2024


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

Related command

az cli fails because GET for "Connnected Environments" resource type fails
"Connnected Environments" resource type is not added to mooncake and fairfax
az containerapp connected-env
az containerapp up

Test with AzureCloud, we can see the az containerapp connected-env, with AzureChinaCloud, it cannot be found.
image
image

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.

Copy link

azure-client-tools-bot-prd bot commented Apr 25, 2024

️✔️Azure CLI Extensions Breaking Change Test
️✔️Non Breaking Changes

Copy link

Hi @Greedygre,
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.

Copy link

Hi @Greedygre,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@yonzhan
Copy link
Collaborator

yonzhan commented Apr 25, 2024

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

Copy link

⚠️ Release Suggestions

Module: containerapp

  • Update version to 1.0.0b1 in setup.py

Notes

  • Stable/preview tag is inherited from last release. If needed, please add stable/preview label to modify it.
  • Major/minor/patch/pre increment of version number is calculated by pull request code changes automatically. If needed, please add major/minor/patch/pre label to adjust it.
  • For more info about extension versioning, please refer to Extension version schema

@Greedygre
Copy link
Contributor Author

About Integration test failed, wait for pr: #7545

@Greedygre Greedygre force-pushed the xinyu/fix_mooncake_and_Fairfac_for_up branch from 643e749 to e313818 Compare April 25, 2024 08:35
@Greedygre

This comment was marked as resolved.

src/containerapp/azext_containerapp/_utils.py Outdated Show resolved Hide resolved
@Greedygre Greedygre changed the title az containerapp up: Fix InvalidResourceType error when cloud in AzureChinaCloud or AzureUSGovernment az containerapp up: Fix InvalidResourceType error when cloud not in AzureCloud Apr 26, 2024
@Greedygre Greedygre changed the title az containerapp up: Fix InvalidResourceType error when cloud not in AzureCloud az containerapp up: Fix InvalidResourceType error when cloud is not AzureCloud Apr 26, 2024
@yanzhudd yanzhudd merged commit 8e7fe30 into Azure:main Apr 28, 2024
14 of 15 checks passed
blackchoey pushed a commit to blackchoey/azure-cli-extensions that referenced this pull request Apr 29, 2024
Copy link

@Moazzem-Hossain-pixel Moazzem-Hossain-pixel left a comment

Choose a reason for hiding this comment

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

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot ContainerApp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants