-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
containerapp allow yaml without environment #6663
containerapp allow yaml without environment #6663
Conversation
️✔️Azure CLI Extensions Breaking Change Test
|
Hi @Greedygre, |
Thank you for your contribution! We will review the pull request and get back to you soon. |
@@ -605,7 +605,7 @@ def post_process(self, r): | |||
return r | |||
|
|||
def set_up_create_containerapp_yaml(self, name, file_name): | |||
if self.get_argument_image() or self.get_argument_managed_env() or self.get_argument_min_replicas() or self.get_argument_max_replicas() or self.get_argument_target_port() or self.get_argument_ingress() or \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when there is env provided, we should provide the warning, right?
Hi @zhoxing-ms |
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
When --environment is provided and the environmentId value does not exist in --yaml, the value in --environment is used.
When the environmentId value existed in --yaml, use the environmentId in --yaml.
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?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
.