demo-space-game-vnext icon indicating copy to clipboard operation
demo-space-game-vnext copied to clipboard

The Space Game website is a .NET 7 web app written in C# that's deployed to ☁️ Azure Web App for Containers and Azure SQL ☁️. The infrastructure is deployed using Azure Bicep 💪, and the application i...

demo-space-game-vnext

spaceGame

The next iteration of demo-space-game, now using containers and GitHub Actions 🚀!

The Space Game website is a .NET 5 web app that's deployed to ☁️ Azure Web App for Containers and Azure SQL ☁️. The infrastructure is deployed using Azure Bicep 💪, and the application is tested using Playwright for browser tests and Azure Load Testing for load tests.

CI/CD Workflow

Main branch

The main branch is set up with a branch protection rule that require all of the jobs in the pipeline succeed. This means the topic branch that is targeting main will need to make it through the entirety of the pipeline before the PR can be completed and merged into main.

  1. The build stage of the pipeline ensures all projects successfully compile and unit tests pass.
  2. The pipeline will provision a new website for your branch (branch name will be in URL), that can be used for exploratory testing or remote debugging. The URL of the new website will post to the Environments section of the PR. Click "View Deployment" to open the site: environment
  3. Meanwhile, the pipeline will execute functional and load tests in a testing environment.
  4. If all tests are successful, the pipeline will deploy to production.
  5. After the PR is merged, a final workflow will run to clean up the development environment.

image