Skip to content

Conversation

@jakebayliss
Copy link
Member

Description

IaC to deploy both Staging and Prod resource to SSW.Rules.Staging and SSW.Rules resource groups.

This deploys:

  • App Service
  • App Service Plan (Prod only)
  • App Insights
  • Azure Container Registry

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces Infrastructure as Code (IaC) for deploying SSW.Rules infrastructure to both Staging and Production environments using Azure Bicep templates. The deployment includes App Services, Application Insights, Azure Container Registry, and integrates these resources into the CI/CD pipeline.

Changes:

  • Added Bicep modules for provisioning Azure resources (App Service, Container Registry, Application Insights)
  • Created PowerShell deployment script with environment-specific configurations
  • Updated GitHub Actions workflows to deploy infrastructure before building and deploying containers
  • Updated TinaCMS dependencies and fixed label inconsistency in rule configuration

Reviewed changes

Copilot reviewed 10 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
infra/modules/containerRegistry.bicep Defines ACR with managed identity access and role assignments
infra/modules/appService.bicep Deploys Linux container-based App Service with managed identity and pre-production slot for prod
infra/modules/appInsights.bicep Creates Application Insights linked to shared Log Analytics workspace
infra/main.bicep Orchestrates deployment of all infrastructure components
infra/deploy.ps1 PowerShell script handling environment-specific resource deployment
.github/workflows/build-and-deploy.yml Integrates infrastructure deployment into CI/CD pipeline
.github/workflows/build-artifacts.yml Updates to use dynamically provided ACR name
package.json Updates TinaCMS dependencies to newer versions
tina/collection/rule.tsx Changes "URI" label to "Slug" for consistency
tina/tina-lock.json Updates TinaCMS schema lock file
.cache/gatsby-source-git/categories Adds Git submodule commit reference
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jakebayliss
Copy link
Member Author

Closing this PR as #2413 takes over

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants