Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
385 stars 176 forks source link

Updating/work-with community templates for GHA and Azd Devcontainer feature #2509

Open rajeshkamal5050 opened 11 months ago

v-xuto commented 11 months ago

@rajeshkamal5050 What are the community templates? Create a PR to support GHA and Azd Devcontainer features for community templates? If not, please provide more information about this issue.

rajeshkamal5050 commented 11 months ago

Similar to how we converted our todo templates to use GHA action and Azd DevContainer features.

We need the community samples https://azure.github.io/awesome-azd/ to also adopt the same. To start with, we can

@ellismg @savannahostrowski does that sound okay?

savannahostrowski commented 11 months ago

We are planning on doing this for all templates on awesome-azd right? Or are we also considering filing issues on all templates found in https://github.com/topics/azd-templates?

rajeshkamal5050 commented 11 months ago

We are planning on doing this for all templates on awesome-azd right? Or are we also considering filing issues on all templates found in https://github.com/topics/azd-templates?

Yes, for all templates. Since there are around 40+ community templates. We will start filing issues on the respective repos pointing to our todo template changes for GHA action and Azd DevContainer features. Will be helpful for respective owners who can make the changes themselves.

Also, manual testing team will start making changes to some of the templates and help the community for any questions.

savannahostrowski commented 11 months ago

That makes sense. We should also probably notify the authors of the Microsoft-authored templates as well. Looks like 80 repos on azd-templates topic.

v-xuto commented 11 months ago

@rajeshkamal5050 We have filed a community sample issue from https://azure.github.io/awesome-azd/, please review.

If there is no problem, we will check the remaining community samples and file issues. Once the authors adopt these issues, we will start to convert.

In addition, do the samples in https://github.com/topics/azd-templates also need to add the GHA and Azd Devcontainer feature?

rajeshkamal5050 commented 11 months ago

@rajeshkamal5050 We have filed a community sample issue from https://azure.github.io/awesome-azd/, please review.

@v-xuto LGTM.

In addition, do the samples in https://github.com/topics/azd-templates also need to add the GHA and Azd Devcontainer feature?

Yes.

v-xuto commented 11 months ago

@rajeshkamal5050 About this link https://azure.github.io/awesome-azd/, we have checked all 57 templates, and filed 32 issues to add GHA and Azd Devcontainer feature. Please review, if there is no question, please add relevant approval comments, and we will start to modify and create PR. The following are the issues/templates:

  1. Add GHA and Azd Devcontainer feature issues: https://github.com/Azure/reliable-web-app-pattern-dotnet/issues/329 https://github.com/rpothin/servicebus-csharp-function-dataverse/discussions/6 https://github.com/Azure-Samples/azure-django-postgres-aca/issues/52 https://github.com/Azure-Samples/openai-plugin-fastapi/issues/8 https://github.com/bradygaster/RockPaperOrleans/issues/13 https://github.com/sabbour/aks-app-template/issues/1 https://github.com/Gordonby/servicebus-dotnet-functionapp/issues/7 https://github.com/Azure-Samples/ASA-Samples-Event-Driven-Application/issues/15 https://github.com/Azure-Samples/fastapi-on-azure-functions/issues/24 https://github.com/Azure-Samples/contoso-real-estate/issues/239

  2. Only add GHA feature issues:

  3. Only add Azd Devcontainer feature issues:

  4. No need to add GHA and Azd Devcontainer feature in the following templates:

  5. One template can't open, it's error is Page not found. The description of this template is Azure Health Data Services Toolkit Azure Function Quickstart. Please help confirm.

v-xuto commented 10 months ago

@rajeshkamal5050 About this link https://github.com/topics/azd-templates, we have checked all 84 templates, and filed 22 new issues to add GHA and Azd Devcontainer feature. Please review, if there is no question, please add relevant approval comments, and we will start to modify and create PR. The following are the issues/templates:

  1. Add GHA and Azd Devcontainer feature issues: https://github.com/bradygaster/dotnet-redis-pubsub/issues/5 https://github.com/rpothin/servicebus-csharp-function-dataverse/issues/7 https://github.com/pamelafox/msdocs-django-postgresql-sample-app/issues/7 https://github.com/savannahostrowski/terminal-personal-site/issues/5 https://github.com/lechnerc77/azd-compatibility-azure-function/issues/2 https://github.com/NikiforovAll/azd-webapi/issues/3 https://github.com/manekinekko/todo-nodejs-mongo-swa/issues/4 https://github.com/crazy4pi314/littlest-jupyterhub-vm/issues/1 https://github.com/sjkp/deno-azd-template/issues/2 https://github.com/zul-m/AzureDevCLI/issues/2 https://github.com/fangjian0423/todo-java-postgresql-aca-terraform/issues/4 https://github.com/atrakic/fastapi-htmx-azd-template/issues/7

  2. Only add GHA feature issues:

  3. Only add Azd Devcontainer feature issues:

  4. No need to add GHA and Azd Devcontainer feature in the following templates:

  5. Here are 23 duplicate templates that have created issues in link https://azure.github.io/awesome-azd/.

  6. We cannot create an issue for this template. See the figure below for details. Please review and help resolve. https://github.com/puicchan/app-templates-integration-services image

v-xuto commented 9 months ago

@rajeshkamal5050 About the community templates in links https://azure.github.io/awesome-azd/ and https://github.com/topics/azd-templates, we have checked all templates, and filed 54 issues to add GHA and Azd Devcontainer feature. Please help review these issues.

Do we need to create PRs for these issues? If yes, please add relevant approval comments in the corresponding issues, and we will start to create PRs to fix them.

rajeshkamal5050 commented 9 months ago

Do we need to create PRs for these issues? If yes, please add relevant approval comments in the corresponding issues, and we will start to create PRs to fix them.

Its hard to make changes, test them for all repos. Instead, do changes for a couple of templates, provide them as reference changes on the filed issues. So the respective repo owners can make changes themselves.

v-xuto commented 9 months ago

@rajeshkamal5050 We have completed changes about two templates, provide them as reference changes on the filed issues. Please review the following PRs.

bobtabor-msft commented 6 months ago

Do we need to create PRs for these issues? If yes, please add relevant approval comments in the corresponding issues, and we will start to create PRs to fix them.

Its hard to make changes, test them for all repos. Instead, do changes for a couple of templates, provide them as reference changes on the filed issues. So the respective repo owners can make changes themselves.

Is there documentation on what this feature is, why it was introduced, what it hopes to achieve, and guidance on how to make the change without breaking anything else? Many of the repo owners (well, just me) are still trying to get our sea legs under us with all of this azd stuff, and have inherited these repos and are several generations removed from the original creators. Thank you in advance for any help / documentation (!!!) / guidance you can provide.

cc: rajeshkamal5050

vhvb1989 commented 6 months ago

@bobtabor-msft the gh-action and gh-devcontainer features where announced on July-release, see: https://devblogs.microsoft.com/azure-sdk/azure-developer-cli-azd-july-2023-release/#azd-as-a-github-action

There's a summary about why we introduced this feature and how to use it.

Let me know if it answers your questions.