Open weikanglim opened 1 year ago
One thing we possibly want to think about: Ideally, azd is designed with correct dependency management in-mind, and azd deploy --from-package
would not require validation of a project
folder amongst other things. See #1957
@rajeshkamal5050 Not sure that we are going to get to this in Gallium. Should we move to Germanium? Backlog?
Moving this to Backlog. Since we have other big ticket items to handle. Any improvements to build/packaging areas can be handled based on users feedback/concerns.
Consider https://github.com/Azure/azure-dev/issues/1698 and https://github.com/Azure/azure-dev/issues/1810 via azd package
Note:
azd package
is currently a beta feature. This issue is created to capture the current design and remaining items.Current
We've added a barebones
azd package
command, this has served two purposes:azd package
to ensure that the service projects can be built and packaged.azd up
experience. The local build will fail immediately before proceeding with Azure state changes.Remaining items
azd package
and examine the packaged outputs easily. An example of this perhaps is to not archive artifacts until we need to, since it's easier for users to not have to deal with unzipping archives.azd deploy --from-package <pkg_folder>
works correctly with these changes. Note that it should be possible forazd deploy --from-package
to reject a folder that isn't packaged correctly (i.e., incorrect host, or not a valid understood azd artifact).Questions