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

web: initial slot end to end support #1316

Merged
merged 4 commits into from
Nov 14, 2016
Merged

Conversation

yugangw-msft
Copy link
Contributor

@yugangw-msft yugangw-msft commented Nov 14, 2016

Ensure supports from create, link to git, swap, to deploy. Those are still the minimum, but enough to get basic functions. This will get #1255 resolved.
In the next period, we should consider to

  1. enable private git repo.
  2. create slot from existing configuration sources
  3. extend slot delete to support auto delete site, etc

@yugangw-msft
Copy link
Contributor Author

@derekbekoe @mayurid, this is low risk, and webapp specific change. Would you review it and consider included in the upcoming release?

@@ -72,6 +72,56 @@
short-summary: commands to configure hostnames
"""

helps['appservice web log'] = """
type: group
short-summary: commands to manager logs
Copy link
Member

Choose a reason for hiding this comment

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

typo: manage

register_cli_argument('appservice web deployment slot', 'disable', help='disable auto swap', action='store_true')
register_cli_argument('appservice web deployment slot', 'target_slot', help="target slot to swap, default to 'production'")
Copy link
Member

Choose a reason for hiding this comment

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

Can we not use default='production' here?

Copy link
Contributor Author

@yugangw-msft yugangw-msft Nov 14, 2016

Choose a reason for hiding this comment

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

production is not yet documented literal, so i would like avoid the usage at cli

@yugangw-msft yugangw-msft merged commit c071c85 into Azure:master Nov 14, 2016
@yugangw-msft yugangw-msft deleted the slot branch December 27, 2016 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants