chat-with-your-data-solution-accelerator icon indicating copy to clipboard operation
chat-with-your-data-solution-accelerator copied to clipboard

use 1Click to deploy from Azure git repo

Open dhaksr opened this issue 1 year ago • 3 comments

Motivation

I would like to deploy 1 click change based on local copy of the git repo. this will enable customization and faster adoption of the repo in projects.

How would you feel if this feature request was implemented?

:-)

Requirements

I make a local copy into Azure git repo (private) and make changes. I would like the 1 click deploy to pick from there. So I created Template spec using the <>\code\infra\main.json

i want to change it to point to local azure git repo. However when we give that its giving an error in access. I would like you to update documentation to include steps for how to make local copy and deploy using 1 click option

A list of requirements to consider this feature delivered Custom templates rapid and iterative deployments

  • ...

Tasks

To be filled in by the engineer picking up the issue

  • [ ] Task 1 Update documentation
  • [ ] Task 2 How to release only changes in code fast
  • [ ] ...

dhaksr avatar Jul 15 '24 17:07 dhaksr

Hi there, if you would like quick and rapid deployments from your local machine, you should clone the repo and use the DevContainer, you would then use azd up to deploy this solution straight to Azure. The "Deploy to Azure" is a convenience for those that dont want to clone the repo.

Cloning and using azd auth login and then azd up is the right way to go

ross-p-smith avatar Jul 15 '24 20:07 ross-p-smith

Hi there, if you would like quick and rapid deployments from your local machine, you should clone the repo and use the DevContainer, you would then use azd up to deploy this solution straight to Azure. The "Deploy to Azure" is a convenience for those that dont want to clone the repo.

Cloning and using azd auth login and then azd up is the right way to go

The problem is we hit lot of corporate firewall issues whereas one click goes thru smoothly. Hence the request for referring to azure git repo from 1-click deploy

dhaksr avatar Jul 16 '24 07:07 dhaksr

In order to do what you ask, you would have to carry out these steps (unless I have misunderstood).

  1. Amend the build task in your repository to build and push the docker images to your container registry
  2. Amend the bicep/arm to pull the images from your container registry
  3. Amend the "Deploy To Azure" button to work from your main.json

ross-p-smith avatar Jul 16 '24 12:07 ross-p-smith

Hi @dhaksr - can we close this issue now?

ross-p-smith avatar Sep 12 '24 20:09 ross-p-smith

Yes pl

On Fri, Sep 13, 2024, 2:27 AM Ross Smith @.***> wrote:

Hi @dhaksr https://github.com/dhaksr - can we close this issue now?

— Reply to this email directly, view it on GitHub https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/issues/1142#issuecomment-2347227204, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZ4TBZIOKAKSXMGWM2QNGDZWH547AVCNFSM6AAAAABK475AD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBXGIZDOMRQGQ . You are receiving this because you were mentioned.Message ID: <Azure-Samples/chat-with-your-data-solution-accelerator/issues/1142/2347227204 @github.com>

dhaksr avatar Sep 13 '24 01:09 dhaksr