-
Notifications
You must be signed in to change notification settings - Fork 198
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 working directory sensitivity for restore
and deploy
#1824
Conversation
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.
LGTM
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash:
pwsh:
WindowsPowerShell install
MSI install
Standalone Binary
MSIContainer
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference (preview)
|
Overriding check-enforcer. Installer tests are failing that are unrelated to the change. |
/check-enforcer override |
Allow
deploy
andrestore
to observe working directory to deploy all services, or a particular service.azd deploy
andazd restore
will now deploy the current service, when the current working directory is set to a service directory.azd deploy
andazd restore
will deploy all services, when the current working directory is set to the root project directory.azd deploy
andazd restore
will not attempt a deployment and instead offer suggestions.azd deploy --all
can be used to deploy all services, orazd deploy <service>
to deploy a given service.End-to-end tests have been added for
azd restore
andazd deploy
that validates the working and error behavior.Fixes https://github.com/Azure/azure-dev-pr/issues/1498