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

Fix race condition in bicep / ARM template #564

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Fix race condition in bicep / ARM template #564

merged 1 commit into from
Nov 2, 2023

Conversation

glahaye
Copy link
Contributor

@glahaye glahaye commented Nov 1, 2023

Motivation and Context

Without this change, virtually all deployments will fail when deploying some of the extensions (MSDeploy or App Insights) for our services.

Description

  • Make each service has its own virtualNetworkConnections resource

  • Add dependsOn clause for the service extensions on their respective virtualNetworkConnections resource

  • Remove some crud that had accumulated in the template files

  • The code builds clean without any errors or warnings

  • The PR follows the Contribution Guidelines and the pre-submission formatting script raises no violations

@github-actions github-actions bot added the deployment Issues related to deploying Chat-Copilot label Nov 1, 2023
@glahaye glahaye added this pull request to the merge queue Nov 2, 2023
Merged via the queue into microsoft:main with commit 9fedbd4 Nov 2, 2023
@glahaye glahaye deleted the arm_race branch November 2, 2023 16:34
@cricex
Copy link

cricex commented Nov 3, 2023

I see this PR has been merged, but I am still getting the same race error using ARM "Deploy to Azure" option. I am pointing to:

Are these URIs updated w/ the latest fix?

Edit: just tried deploying via deploy-azure.ps1 and get the same error. Seems specific to: memorypipeline/MSDeploy

@glahaye
Copy link
Contributor Author

glahaye commented Nov 3, 2023

I see this PR has been merged, but I am still getting the same race error using ARM "Deploy to Azure" option. I am pointing to:

Are these URIs updated w/ the latest fix?

Edit: just tried deploying via deploy-azure.ps1 and get the same error. Seems specific to: memorypipeline/MSDeploy

The URLs are fine.

Can you provide your error in #539 ? And you are positive you pulled the latest code before running your deployment, right?

I might have to take another look at this problem!

teamleader-dev pushed a commit to vlink-group/chat-copilot that referenced this pull request Oct 7, 2024
### Motivation and Context
Without this change, virtually all deployments will fail when deploying
some of the extensions (MSDeploy or App Insights) for our services.

### Description
- Make each service has its own virtualNetworkConnections resource
- Add dependsOn clause for the service extensions on their respective
virtualNetworkConnections resource
- Remove some crud that had accumulated in the template files

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
kb0039 pushed a commit to aaronba/chat-copilot that referenced this pull request Jan 8, 2025
### Motivation and Context
Without this change, virtually all deployments will fail when deploying
some of the extensions (MSDeploy or App Insights) for our services.

### Description
- Make each service has its own virtualNetworkConnections resource
- Add dependsOn clause for the service extensions on their respective
virtualNetworkConnections resource
- Remove some crud that had accumulated in the template files

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Issues related to deploying Chat-Copilot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants