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

Add warning message and unset active deployment operation #2819

Merged
merged 4 commits into from
Dec 30, 2020

Conversation

ninpan-ms
Copy link
Contributor


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

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?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

@yonzhan yonzhan requested a review from qwordy December 22, 2020 07:23
@yungezz yungezz added the Spring Cloud Spring Cloud related issues label Dec 22, 2020
@yungezz yungezz removed the request for review from qwordy December 22, 2020 08:32
@Azure Azure deleted a comment from yonzhan Dec 22, 2020
@@ -48,6 +48,8 @@ def load_command_table(self, _):
g.custom_command('show-deploy-log', 'app_get_build_log')
g.custom_command('set-deployment', 'app_set_deployment',
supports_no_wait=True)
g.custom_command('unset-deployment', 'app_unset_deployment',
Copy link
Member

Choose a reason for hiding this comment

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

the commands quite confusing:

az spring-cloud app deployment create
az spring-cloud app set-deployment
az spring-cloud app unset-deployment

To consistent, why not

az spring-cloud app deployment set --type <production/non-production>?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since they have different parameters, and "set-deployment" has been used by customers, hope not to introduce breaking change.

@qwordy
Copy link
Member

qwordy commented Dec 23, 2020

Please fix linter error and rerecord tests.

@fengzhou-msft fengzhou-msft merged commit 198795d into Azure:master Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Spring Cloud Spring Cloud related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants