-
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 Version 0.3.4 Release #4794
containerapp Version 0.3.4 Release #4794
Conversation
…#96) * Added tests. * Added recordings. Co-authored-by: Haroon Feisal <[email protected]>
Use Github repo's default branch for up and github actions
containerapp |
Cache GitHub credentials for 'az containerapp up' with --repo
* Change to use stable api version * More helpful error message when managedEnvironmentId is msising * Edit error message * Fix error message
* Finished label and revision work. * Finished dynamic weight update work. * Fixed small bug. * Added more items to revision table output. * Use patch instead of create or update API for traffic set. * Fixed small bug related to floats not rounding. * Added help. Updated resourcenotfounderror. Fixed existing bug related to no name given for revision command and latest passed. Added revision name inference from --revision to revision label add. * Fixed style. Co-authored-by: Haroon Feisal <[email protected]>
…n 2 characters. Seems to be an API issue.
`az containerapp up` -- only encrypt cached GitHub creds on windows
…id/azure-cli-extensions into may-11-2022-containerapp-release
Add back fileshares
c.argument('traffic_weights', nargs='*', options_list=['--traffic-weight'], help="A list of revision weight(s) for the container app. Space-separated values in 'revision_name=weight' format. For latest revision, use 'latest=weight'") | ||
c.argument('revision_weights', nargs='+', options_list=['--revision-weight'], help="A list of revision weight(s) for the container app. Space-separated values in 'revision_name=weight' format. For latest revision, use 'latest=weight'") |
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.
Could we use the deprecate_info
flag to the traffic_weights
parameter to set deprecation information first to avoid directly causing breaking change to users?
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.
@zhoxing-ms essentially this renamed to --revision-weight
to reduce confusion with the new parameter --label-weight
. To get around the need for a deprecation, I can add --traffic-weight
as an option for --revision-weight
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 suggest using the deprecated_info
for --traffic-weight
if the --traffic-weight
parameter is no longer recommended in the future, what do you think of it?
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.
Sounds good. I just added --traffic-weight
as a deprecated argument option
@zhoxing-ms just made the two changes in response to your comments |
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.The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify
src/index.json
.