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

updated copilot chat deployment readme based on learnings #1711

Merged
merged 6 commits into from
Jun 27, 2023

Conversation

timschps
Copy link
Contributor

@timschps timschps commented Jun 26, 2023

Motivation and Context

Thank you for this great addition where we can deploy the SK copilot chat to an azure subscription. I went through the process and stumbled into some issues. I updated the readme to solve those issues for others that want to do the same... Additionally, I updated the deploy-webapp ps1 and sh files to auto update the aad appregistration (set the redirect uri to the newly deployed front end)

Description

updated copilot chat deployment readme based on learnings:

  1. I had to update my Azure CLI (a bit too old) as the deployment of the webapp gave a strange error. I added a note that updating the CLI is a good idea
  2. To deploy the webapp, the readme only contained the bash command. Since there is also a ps1 script available, I added the command to use this one
  3. updated both deploy-webapp.ps1and deploy-webapp.sh to ensure that the AAD app registration is updated to auto redirect to the correct url (webapp) and not show an nasty AAD error.

small note, I tested the updated deploy-webapp.ps1, but bot the deploy-webapp.sh as I did my deployment with powershell... should not be a problem though as it is a call to the AZ CLI

Contribution Checklist

@timschps timschps marked this pull request as ready for review June 26, 2023 06:27
@timschps timschps requested a review from a team as a code owner June 26, 2023 06:27
TaoChenOSU
TaoChenOSU previously approved these changes Jun 26, 2023
@gitri-ms gitri-ms added the PR: ready to merge PR has been approved by all reviewers, and is ready to merge. label Jun 26, 2023
@alliscode alliscode added this pull request to the merge queue Jun 27, 2023
Merged via the queue into microsoft:main with commit b46ab22 Jun 27, 2023
@evchaki evchaki added this to the Sprint 34 milestone Jun 30, 2023
shawncal pushed a commit to shawncal/semantic-kernel that referenced this pull request Jul 6, 2023
…1711)

### Motivation and Context
Thank you for this great addition where we can deploy the SK copilot
chat to an azure subscription. I went through the process and stumbled
into some issues. I updated the readme to solve those issues for others
that want to do the same... Additionally, I updated the deploy-webapp
ps1 and sh files to auto update the aad appregistration (set the
redirect uri to the newly deployed front end)


### Description
updated copilot chat deployment readme based on learnings:
1. I had to update my Azure CLI (a bit too old) as the deployment of the
webapp gave a strange error. I added a note that updating the CLI is a
good idea
2. To deploy the webapp, the readme only contained the bash command.
Since there is also a ps1 script available, I added the command to use
this one
3. updated both `deploy-webapp.ps1`and `deploy-webapp.sh` to ensure that
the AAD app registration is updated to auto redirect to the correct url
(webapp) and not show an nasty AAD error.

> small note, I tested the updated `deploy-webapp.ps1`, but bot the
`deploy-webapp.sh` as I did my deployment with powershell... should not
be a problem though as it is a call to the AZ CLI


### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [x] The code builds clean without any errors or warnings
- [x] The PR follows SK Contribution Guidelines
(https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
- [x] The code follows the .NET coding conventions
(https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions)
verified with `dotnet format`
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄

---------

Co-authored-by: Gina Triolo <51341242+gitri-ms@users.noreply.github.com>
golden-aries pushed a commit to golden-aries/semantic-kernel that referenced this pull request Oct 10, 2023
…1711)

### Motivation and Context
Thank you for this great addition where we can deploy the SK copilot
chat to an azure subscription. I went through the process and stumbled
into some issues. I updated the readme to solve those issues for others
that want to do the same... Additionally, I updated the deploy-webapp
ps1 and sh files to auto update the aad appregistration (set the
redirect uri to the newly deployed front end)


### Description
updated copilot chat deployment readme based on learnings:
1. I had to update my Azure CLI (a bit too old) as the deployment of the
webapp gave a strange error. I added a note that updating the CLI is a
good idea
2. To deploy the webapp, the readme only contained the bash command.
Since there is also a ps1 script available, I added the command to use
this one
3. updated both `deploy-webapp.ps1`and `deploy-webapp.sh` to ensure that
the AAD app registration is updated to auto redirect to the correct url
(webapp) and not show an nasty AAD error.

> small note, I tested the updated `deploy-webapp.ps1`, but bot the
`deploy-webapp.sh` as I did my deployment with powershell... should not
be a problem though as it is a call to the AZ CLI


### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [x] The code builds clean without any errors or warnings
- [x] The PR follows SK Contribution Guidelines
(https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
- [x] The code follows the .NET coding conventions
(https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions)
verified with `dotnet format`
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄

---------

Co-authored-by: Gina Triolo <51341242+gitri-ms@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: ready to merge PR has been approved by all reviewers, and is ready to merge.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

5 participants