-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add CLI command for binding a service to a container app #6083
Conversation
Hi @yash-nisar, |
container app |
d9126dc
to
0c29006
Compare
219612e
to
9df2306
Compare
Could you please resolve these conflicts? |
Please add the description of PR change into the |
d39fb9f
to
1476d28
Compare
2a4e274
to
4cd2ac2
Compare
db136ce
to
625e919
Compare
Can I get a review on this ? |
Managed service tests are taking forever to run, essentially because of provisioning them first via the cli, have been trying them all day |
a1adb46
to
57230bd
Compare
|
||
with self.command_group('containerapp service postgres') as g: | ||
g.custom_command('create', 'create_postgres_service', supports_no_wait=True) | ||
g.custom_command('delete', 'delete_postgres_service', confirmation=True, supports_no_wait=True) |
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.
'az containerapp service postgres delete' and 'az containerapp service redis delete' is new commands, need tests cover.
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.
I've created a new issue to track this: #6302. Can you assign it to me ?
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.
done
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.
Thanks !
Add CLI command for binding a service to an app
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
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
.